/*
====== 固定大小弹出窗口 ****开始*****
调用： 
<tr onClick=javascript:rec_mail();>
<a href="javascript:rec_mail();">
*/
function aniViewer1()
                {
                mini1 = window.open('../simul/sea.html', 'aniViewer', 'width='+'650'+',height='+'450'+',marginwidth=0,marginheight=0,border=0,scrollbars=no,resizable=no');
                }        
				
function aniViewer2()
                {
                mini1 = window.open('../simul/air.html', 'aniViewer', 'width='+'650'+',height='+'450'+',marginwidth=0,marginheight=0,border=0,scrollbars=no,resizable=no');
                }  
function openwin() {
msg=window.open("../rec_mail.asp","","height=450,width=450,left=5,top=5,scrollbars=yes,toolbar=no,directories=no,status=no,menubar=no,resizable=no");
}

function openwin1() {
msg=window.open("cust_se.asp","","height=450,width=450,left=5,top=5,scrollbars=yes,toolbar=no,directories=no,status=no,menubar=no,resizable=no");
}
/*
====== 固定大小弹出窗口 ****结束*****
====== 导航按钮鼠标效果 ****开始*****

function over(locate){
locate.style.border='1px solid black';locate.style.backgroundColor='#f7f7f7';locate.style.cursor='hand'
}
function out(locate){
locate.style.border='1px solid white';locate.style.backgroundColor='#ffffff'
}
*/
function over(locate){
locate.style.border='1px solid black';locate.style.cursor='hand'
}
function out(locate){
locate.style.border='1px solid white'
}
/*
====== 导航按钮鼠标效果 ****结束*****
*/
/*
====== 禁止查看IE源文件 ****开始*****

< body oncontextmenu=self.event.returnValue="false" onselectstart="return false" ondragstart="return false">

====== 禁止查看IE源文件 ****结束*****
*/
/*
==================图片的相关操作 开始==========================
*/
   // 缩放图片
   function imgToSize(oBool) {
     var oImg = document.all('oImg');
     oImg.style.zoom = parseInt(oImg.style.zoom) + (oBool ? 2 : -2) + '%';
   }

   // 旋转图片
   var oArcSize = 1;
   function imgRoll() {
     var oImg = document.all('oImg');
     oImg.style.filter = 'Progid:DXImageTransform.Microsoft.BasicImage(Rotation='+ oArcSize +')';
     oArcSize += 1;
     oArcSize = oArcSize==4 ? 0 : oArcSize ;
   }

   // 翻转图片
   function imgReverse(arg) {
     var oImg = document.all('oImg');
     oImg.style.filter = 'Flip' + arg;          
   }

   // 拖动图片
   var oBoolean = false, oLeftSpace = 0, oTopSpace = 0;
   function mStart() {
      oBoolean = true;
      if (oBoolean) {
         var oImg = document.all('oImg');
         oLeftSpace = window.event.clientX - oImg.style.pixelLeft;
         oTopSpace = window.event.clientY - oImg.style.pixelTop;
      }
   }

   function mEnd() {
      oBoolean = false;
   }

   function document.onmousemove() {
      if (window.event.button==1 && oBoolean) {
         var oImg = document.all('oImg');
         oImg.style.pixelLeft = window.event.clientX - oLeftSpace;
         oImg.style.pixelTop = window.event.clientY - oTopSpace;
         return false;
      }
   }
/*
==================图片的相关操作 结束==========================
*/

/*
====== 动态显示左侧广告栏目 ****开始*****
*/
function switchBar(){
    if (switchPoint.innerText==8){
        switchPoint.innerText=7
        document.all("rightBar").style.display="none"
    }
    else{
        switchPoint.innerText=8
        document.all("rightBar").style.display=""
    }
}
/*
====== 动态显示左侧广告栏目 ****结束*****
*/
