<!--
function NewWin(fileName,w,h,scr) 
/*
------------------参数说明-------------------
fileName   ：窗口中显示的文件。
w　　　　   ：窗口的宽度。
h　　　　   ：窗口的高度。
scr        ：是否出现滚动条。取值yes/no或者1/0。
--------------------------------------------
*/
{
   WindowStyle='dependent=no,scrollbars='+scr+',resizable=no,menubar=no,toolbar=no,width='+w+',height='+h+',left=200,top=200';

  temp=window.open(fileName,'',WindowStyle);
  return false;
}
//窗口效果
  var x=0;
  var y=0;
  var msgstr="<html><body oncontextmenu='self.event.returnValue=false'><table width='80%' border='0' cellspacing='0' cellpadding='0' height='60%' align='center' style='font-size:12pt'><tr><td><font color=0099ff>蓝色桃花岛<br>http://andyfoo.net</font></td></tr><tr><td><font color=#284797>数据读取中，请稍后 …………</font></td></tr></table></body></html>";
  drag=0;
  move=0;
  window.document.onmousemove=mouseMove;
  window.document.onmousedown=mouseDown;
  window.document.onmouseup=mouseUp;
  //window.document.ondragstart=mouseStop;
  function ShowWin(divid,url,objwin){
       divid.style.left=document.body.scrollLeft+200
       divid.style.top=document.body.scrollTop+80
       msg.document.open();
       msg.document.write(msgstr);
       msg.document.close();
       divid.filters.revealTrans.apply();
       divid.style.visibility="visible";
       divid.filters.revealTrans.play();
       msg.location.href=url;
       return false;
           }
  function HideWin(divid){
       divid.filters.revealTrans.apply();
       divid.style.visibility="hidden";
       divid.filters.revealTrans.play();
       msg.document.clear();
       msg.document.open();
       msg.document.write(msgstr);
       msg.document.close();
        }
  function mouseUp(){move=0;}
  function mouseDown(){
       if(drag){
           clickleft=window.event.x-parseInt(dragObj.style.left);
           clicktop=window.event.y-parseInt(dragObj.style.top);
           dragObj.style.zIndex+=1;
           move=1;
           }
       }
  function mouseMove(){
        if(move){
        var objX;
        var objY;
	objX=window.event.x-clickleft;
	objY=window.event.y-clicktop;
        if(objX>=document.body.scrollLeft+document.body.clientWidth-dragObj.offsetWidth)
             objX=document.body.scrollLeft+document.body.clientWidth-dragObj.offsetWidth;
        if(objY>=document.body.scrollTop+document.body.clientHeight-dragObj.offsetHeight)
             objY=document.body.scrollTop+document.body.clientHeight-dragObj.offsetHeight;
        if(objX<=1)
             objX=1;
        if(objY<=1)
             objY=1;
		dragObj.style.left=objX;
                dragObj.style.top=objY;
            }
       }
  function mouseStop(){window.event.returnValue=false;}
  function msover(e){
    e.style.backgroundColor="#ffffff";
    e.style.cursor = "hand";
        }
  function msout(e){
    e.style.backgroundColor="";
    e.style.cursor = "auto";
        }
  function msouttwo(e){
    e.style.backgroundColor="";
    e.style.cursor = "auto";
        }
  function new_msg(tmpmsg){	if (confirm(tmpmsg)){return true;}return false;}
 
//--> 