';txt+='
0) txt+=' style="width: '+(width-8)+'px;"';txt+=' class="windowHeader" onmousedown="dragWindow(event,\'window_'+id+'\')"';txt+=' ondblclick="toggleWindow(event, \'window_'+id+'_content\')">';txt+='';txt+='
';txt+='
0 || height>0 ) {txt+=' style="';if ( width>0 ) txt+='width: '+(width-8)+'px; ';if ( height>0 ) txt+='height: '+(height-28)+'px';txt+='"';}if (scroll>0) {txt+=' class="windowContent_scrollable"';} else {txt+=' class="windowContent"';}txt+=' id="window_'+id+'_content" onclick="document.getElementById(\'window_'+id+'\').style.zIndex = ++dragObj.zIndex;" '+extra+'>';txt+='
';document.write(txt);}function writeWindow(id, txt) {var el=document.getElementById('window_'+id+'_content');el.innerHTML=txt;}function writeWindowTitle(id, txt) {var el=document.getElementById('window_'+id+'_title');el.innerHTML=txt;}function writeAppendWindow(id, txt) {var el=document.getElementById('window_'+id+'_content'); el.innerHTML+=txt;}function writeWindowTopRight(id, txt) {var el=document.getElementById('window_'+id+'_topr');el.innerHTML=txt;}function getWindow(id) {return document.getElementById('window_'+id+'_content');}function setWindowTitleButtons(id, refresh_js) {var topr='';if (refresh_js!='')topr+='