closebar="../close.gif";                                                      
closebar2="../close2.gif";                                                         
                           
function noBorderWin(fileName,w,h,titleBg,moveBg,titleColor,titleWord,scr)                                               
                                             
{                                             
  var allWin="<head>"+                                             
             //"  <OBJECT id=hhctrl type='application/x-oleobject' classid='clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11'><param name='Command' value='minimize'></object>"+                                             
			 "</head>"+                                             
             "<frameset rows='19,*' border=0 frameborder=0>"+                                             
             "  <frame name=header scrolling=no noresize>"+                                             
		     "  <frame name=main src="+fileName+" scrolling="+scr+">"+                                             
		     "</frameset>";                                              
  var topWin="<body topmargin=0 leftmargin=0 >"+                                             
             "  <table cellpadding=0 cellspacing=0 width=100% height=100%>"+                                             
			 "    <tr height=20 bgcolor="+titleBg+" onselectstart='return false' onmousedown='x=event.x;y=event.y;setCapture();top.main.document.body.style.border=\"1px solid "+moveBg+"\";this.bgColor=\""+moveBg+"\"' onmouseup='releaseCapture();top.main.document.body.style.border=\"1px solid "+titleBg+"\";this.bgColor=\""+titleBg+"\"' onmousemove='if(event.button==1)top.moveTo(screenLeft+event.x-x,screenTop+event.y-y);'>"+                                             
			 "      <td width=21 align=center></td>"+                                             
			 "      <td style=\"font-family:ËÎÌå; font-size:12px; color:"+titleColor+";\"><span style='top:1;position:relative;cursor:default;'>"+titleWord+"</span></td>"+                                             
			 "    </tr>"+                                             
			 "  </table>"+                                             
			 "  <div style='position:absolute; left:"+(w-34)+"px; top:4px; width:12px; height:12px; z-index:100'><img border=0 width=12 height=12 alt=¹Ø±Õ src="+closebar+" onmousedown=top.close(); onmouseover=this.src='"+closebar2+"' onmouseout=this.src='"+closebar+"'></div>"+                                             
			 "</body>"; 
	if(navigator.appVersion.indexOf('MSIE 6')!=-1)
	{nbw=window.open('','','resizable=no,toolbar=no,menubar=no,scrollbars=no,titlebar=no,location=no,status=no');}
	else
	{nbw=window.open('','','fullscreen=yes');}   
       nbw.resizeTo(w,h);                                          
  nbw.moveTo((screen.width-w)/2,(screen.height-h)/2);     
       
nbw.document.writeln(allWin);                                               
nbw.header.document.writeln(topWin);
}
