‘
hw.document.open();hw.document.write(htmlDoc);hw.document.close();}
function popup(url,name,width,height,isResizable,hasScrollbars,hasToolbar,hasMenubar,hasStatus)
{isResizable=typeof(isResizable)==’undefined’?’no’:isResizable;hasScrollbars=typeof(hasScrollbars)==’undefined’?’auto’:hasScrollbars;hasToolbar=typeof(hasToolbar)==’undefined’?’no’:hasToolbar;hasMenubar=typeof(hasMenubar)==’undefined’?’no’:hasMenubar;hasStatus=typeof(hasStatus)==’undefined’?’yes’:hasStatus;var top=(screen.height-height)/2;var left=(screen.width-width)/2;var settings=’width=’+width+’, height=’+height+’, top=’+top+’, left=’+left+’, resizable=’+isResizable+’, scrollbars=’+hasScrollbars+’, toolbar=’+hasToolbar+’, menubar=’+hasMenubar+’, status=’+hasStatus;return window.open(url,name,settings);}
function log(text)
{if($$(“.debug .text .data”)){$$(“.debug .text .data”).set(‘html’,’Log: ‘+text+’
‘+$$(“.debug .text .data”).get(‘html’));}}
//]]