function LONCAPA_scriptvars_".$uname."_".$udom."_"."$Apache::lonxml::curdepth() {newWindow=open('','new_W','width=500,height=500,scrollbars=1,resizable=yes');newWindow.document.open('text/html','replace');newWindow.document.writeln('Script Vars";
+ my $listing=&Apache::run::dump($target,$safeeval);
+ $listing=~s/\'/\\\'/g;
+ $listing=~s/\n/\\n/g;
+ $listing=~s/\r/\\r/g;
$result.=$listing;
- $result.= "</pre></body></html>\');newWindow.document.close();void(0);\">Script Vars