﻿//以下为会议视频系统的效果
document.write('<style>')
document.write('body{margin:0px}');
document.write('.main_head {BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_2.png)  no-repeat}');
document.write('* .main_head{	FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://www2.nimte.ac.cn/american/images/img3-5_2.png",sizingMethod=\'crop\'); BACKGROUND: none transparent scroll repeat 0% 0%}');
document.write('* + HTML .main_head {BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_2.png) no-repeat}');
document.write('.info {	PADDING-BOTTOM: 10px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_3.png) repeat-y; PADDING-TOP: 5px}');
document.write('* HTML .info {	FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://www2.nimte.ac.cn/american/images/img3-5_3.png",sizingMethod=\'crop\'); BACKGROUND-REPEAT: repeat-y}');
document.write('* + HTML .info {PADDING-BOTTOM: 10px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_3.png) repeat-y; PADDING-TOP: 5px}');
document.write('.down_kefu {WIDTH: 157px; BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_4.png) no-repeat; HEIGHT: 8px}');
document.write('* HTML .down_kefu {	FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://www2.nimte.ac.cn/american/images/img3-5_4.png",sizingMethod=\'crop\'); WIDTH: 157px; BACKGROUND-REPEAT: repeat-y; HEIGHT: 8px}');
document.write('* + HTML .down_kefu {WIDTH: 157px; BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_4.png) no-repeat; HEIGHT: 8px}');
document.write('.Obtn {MARGIN-TOP: 60px; WIDTH: 32px; BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_1.png) left top no-repeat; FLOAT: left; HEIGHT:179px; MARGIN-LEFT: -5px;}');
document.write('* HTML .Obtn {FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://www2.nimte.ac.cn/american/images/img3-5_1.png",sizingMethod=\'crop\'); WIDTH: 32px; BACKGROUND: none transparent scroll repeat 0% 0%; FLOAT: left; HEIGHT: 139px}');
document.write('* + HTML .Obtn {MARGIN-TOP: 84px; WIDTH: 32px; BACKGROUND: url(http://www2.nimte.ac.cn/american/images/img3-5_1.png) no-repeat; FLOAT: left; HEIGHT: 179px; MARGIN-LEFT: -5px}');
document.write('.qqtable SPAN {PADDING-BOTTOM: 5px; LINE-HEIGHT: 20px; PADDING-LEFT: 0px; WIDTH: 100px; PADDING-RIGHT: 0px; COLOR: #ff6600; FONT-SIZE: 13px; FONT-WEIGHT: bold; PADDING-TOP: 5px}');
document.write('.qqtable A {TEXT-DECORATION: none}');
document.write('.qqtable A:hover {TEXT-DECORATION: none}');
document.write('.qun {BORDER-BOTTOM: #ffd2bf 1px solid; BORDER-LEFT: #ffd2bf 1px solid; PADDING-BOTTOM: 5px; LINE-HEIGHT: 20px; BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 0px; WIDTH: 100px; PADDING-RIGHT: 0px; FONT-SIZE: 12px; BORDER-TOP: #ffd2bf 1px solid; BORDER-RIGHT: #ffd2bf 1px solid; PADDING-TOP: 5px}');
document.write('.qun SPAN {COLOR: #ff6600; FONT-SIZE: 13px; FONT-WEIGHT: bold}');
document.write('</style>')


document.write('<DIV id=xixi onmouseover=toBig() onmouseout=toSmall() style="display:none;">');
document.write('<TABLE style="FLOAT: left" border=0 cellSpacing=0 cellPadding=0 width=157>');
document.write('  <TBODY>');
document.write('  <TR>');
document.write('    <TD class=main_head height=39 vAlign=top><img src=http://www2.nimte.ac.cn/american/images/img3-5_2.png /></TD></TR>');
document.write('  <TR>');
document.write('    <TD class=info vAlign=top align=center>');
document.write('      <TABLE class=qqtable border=0 cellSpacing=0 cellPadding=0 width=90 ');
document.write('      align=center>');
document.write('        <TBODY>');
document.write('        <TR>');
document.write('          <TD height=5></TD></TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://www2.nimte.ac.cn/american/meetingsystem" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">系统简介</A></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://dc.cstnet.cn/Conf/jsp/main/login.jsp" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">管理会议</A></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://dc.cstnet.cn/Conf/jsp/main/download.jsp" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">下载中心</A></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://dc.cstnet.cn/Conf/jsp/main/use.jsp" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">如何使用</A></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://dc.cstnet.cn/Conf/jsp/main/qa.jsp" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">常见问题</A></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://dc.cstnet.cn/Conf/jsp/main/help_zh.jsp" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">帮助中心</A></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://www2.nimte.ac.cn/index.php/meetingroom/index.html" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">会议预约</A></TD>');
document.write('        </TR>');
document.write('        <TR>');
document.write('          <TD height=35 vAlign=top align=middle><A href="http://dc.cstnet.cn/Conf/jsp/systembulletin/intro.htm" target="_blank" style="display:block;background:url(http://www2.nimte.ac.cn/american/images/navbg.gif) center no-repeat;height:25px;width:90px;text-align:center;line-height:25px;color:#ff771b;font-weight:bold;font-size:14px;">功能介绍</A></TD>');
document.write('        </TR>');
document.write('         </TBODY></TABLE></TD></TR>');
document.write('  <TR>');
document.write('    <TD class=down_kefu vAlign=top></TD></TR></TBODY></TABLE>');
document.write('<DIV class=Obtn></DIV></DIV>');


		tas=function (id,_top,_left){
		var me=id.charAt?document.getElementById(id):id, d1=document.body, d2=document.documentElement;
		d1.style.height=d2.style.height='100%';me.style.top=_top?_top+'px':0;me.style.left=_left+"px";//[(_left>0?'left':'left')]=_left?Math.abs(_left)+'px':0;
		me.style.position='absolute';
		setInterval(function (){me.style.top=parseInt(me.style.top)+(Math.max(d1.scrollTop,d2.scrollTop)+_top-parseInt(me.style.top))*0.1+'px';},10+parseInt(Math.random()*20));
		return arguments.callee;
		};
		window.onload=function (){
		tas
		('xixi',130,-152)
		}

			lastScrollY=0; 
			
			var InterTime = 1;
			var maxWidth=-1;
			var minWidth=-152;
			var numInter = 8;
			
			var BigInter ;
			var SmallInter ;
			
			var o =  document.getElementById("xixi");
				var i = parseInt(o.style.left);
				function Big()
				{
					if(parseInt(o.style.left)<maxWidth)
					{
						i = parseInt(o.style.left);
						i += numInter;	
						o.style.left=i+"px";	
						if(i==maxWidth)
							clearInterval(BigInter);
					}
				}
				function toBig()
				{
					clearInterval(SmallInter);
					clearInterval(BigInter);
						BigInter = setInterval(Big,InterTime);
				}
				function Small()
				{
					if(parseInt(o.style.left)>minWidth)
					{
						i = parseInt(o.style.left);
						i -= numInter;
						o.style.left=i+"px";
						
						if(i==minWidth)
							clearInterval(SmallInter);
					}
				}
				function toSmall()
				{
					clearInterval(SmallInter);
					clearInterval(BigInter);
					SmallInter = setInterval(Small,InterTime);
					
				}
				


//以下为右下角的浮动效果
document.write('<style type="text/css">');
document.write('#float {display:block; bottom:0px; right:0px; position:fixed;}');
document.write('* html #float {position:absolute; right:18px}');
document.write('#floata {display:block; bottom:0px; left:0px; position:fixed;}');
document.write('#floatb {display:block; top:0px; left:0px; position:fixed;}');
document.write('* html #floata {position:absolute; right:18px}');
document.write('.clearall{display:none;}');
document.write('</style>');


//右下角，2012新春联欢会视频回放
document.write('<div id="float">');
document.write('	<div style="text-align:right;"><a href="###" style="color:#0c81ca;text-align:right;font-size:12px;text-decoration:none;" onclick="javascript:document.getElementById(\'float\').style.display=\'none\';">关闭</a></div>');
document.write('	<A href="http://www2.nimte.ac.cn/video/" target="_blank"><img src="http://www2.nimte.ac.cn/american/2012newyear.jpg" border="0"></A>');
document.write('</div>');

//左下角，电信
document.write('<div id="floata">');
document.write('	<div style="text-align:right;"><a href="###" style="color:#0c81ca;text-align:right;font-size:12px;text-decoration:none;" onclick="javascript:document.getElementById(\'floata\').style.display=\'none\';">关闭</a></div>');
document.write('	<A href="http://www2.nimte.ac.cn/index.php/netcenter/article/190/index.html" target="_blank"><img src="http://www2.nimte.ac.cn/american/tel-tianyi.jpg" border="0"></A>');
document.write('</div>');

//右下角，岗位晋升系统
//document.write('<div id="float">');
//document.write('	<div style="text-align:right;"><a href="###" style="color:#0c81ca;text-align:right;font-size:12px;text-decoration:none;" onclick="javascript:document.getElementById(\'float\').style.display=\'none\';">关闭</a></div>');
//document.write('	<A href="http://www2.nimte.ac.cn/promotion/" target="_blank"><img src="http://www2.nimte.ac.cn/american/gangwei2.jpg" border="0"></A>');
//document.write('</div>');

//左上角 surface
document.write('<div id="floatb">');
document.write('	<div style="text-align:right;"><a href="###" style="color:#0c81ca;text-align:right;font-size:12px;text-decoration:none;" onclick="javascript:document.getElementById(\'float\').style.display=\'none\';">关闭</a></div>');
document.write('	<A href="http://bmgc.nimte.ac.cn" target="_blank"><img src="http://www2.nimte.ac.cn/american/surface-float.jpg" border="0"></A>');
document.write('</div>');

/*document.write('<div id="floata">');
document.write('	<div style="text-align:right;"><a href="###" style="color:#0c81ca;text-align:right;font-size:12px;text-decoration:none;" onclick="javascript:document.getElementById(\'floata\').style.display=\'none\';">关闭</a></div>');
document.write('	<A href="http://www.ifamn.com/" target="_blank"><img src="http://www2.nimte.ac.cn/american/float2.jpg" border="0"></A>');
document.write('</div>');
document.write('<div id="floatb">');
document.write('	<div style="text-align:right;"><a href="###" style="color:#0c81ca;text-align:right;font-size:12px;text-decoration:none;" onclick="javascript:document.getElementById(\'floata\').style.display=\'none\';">关闭</a></div>');
document.write('	<A href="http://www.sofc.com.cn/html/meeting.html" target="_blank"><img src="http://www2.nimte.ac.cn/american/floatc.jpg" border="0"></A>');
document.write('</div>');
*/

//页面中飘动的效果
/********************************************************************************/
var brOK=false;
var mie=false;
var aver=parseInt(navigator.appVersion.substring(0,1));
var aname=navigator.appName;
function checkbrOK()
{if(aname.indexOf("Internet Explorer")!=-1)
   {if(aver>=4) brOK=navigator.javaEnabled();
    mie=true;
   }
 if(aname.indexOf("Netscape")!=-1)
   {if(aver>=4) brOK=navigator.javaEnabled();}
}
var vmin=2;
var vmax=5;
var vr=0.02;
var timer1;
function Chip(chipname,width,height)
{this.named=chipname;
 this.vx=vmin+vmax*Math.random();
 this.vy=vmin+vmax*Math.random();
 this.w=width;
 this.h=height;
 this.xx=0;
 this.yy=0;
 this.timer1=null;
}
function movechip(chipname)
{
 if(brOK)
  {eval("chip="+chipname);
   if(!mie)
    {pageX=window.pageXOffset;
     pageW=window.innerWidth;
     pageY=window.pageYOffset;
     pageH=window.innerHeight;
    }
   else
    {pageX=window.document.body.scrollLeft+150;
     pageW=window.document.body.offsetWidth-200;
     pageY=window.document.body.scrollTop+150;
     pageH=window.document.body.offsetHeight-150;
    }
   chip.xx=chip.xx+chip.vx;
   chip.yy=chip.yy+chip.vy;
   chip.vx+=vr*(Math.random()-0.5);
   chip.vy+=vr*(Math.random()-0.5);
   if(chip.vx>(vmax+vmin))  chip.vx=(vmax+vmin)*2-chip.vx;
   if(chip.vx<(-vmax-vmin)) chip.vx=(-vmax-vmin)*2-chip.vx;
   if(chip.vy>(vmax+vmin))  chip.vy=(vmax+vmin)*2-chip.vy;
   if(chip.vy<(-vmax-vmin)) chip.vy=(-vmax-vmin)*2-chip.vy;
   if(chip.xx<=pageX)
     {chip.xx=pageX;
      chip.vx=vmin+vmax*Math.random();
     }
   if(chip.xx>=pageX+pageW-chip.w)
     {chip.xx=pageX+pageW-chip.w;
      chip.vx=-vmin-vmax*Math.random();
     }
   if(chip.yy<=pageY)
     {chip.yy=pageY;
      chip.vy=vmin+vmax*Math.random();
     }
   if(chip.yy>=pageY+pageH-chip.h)
     {chip.yy=pageY+pageH-chip.h;
      chip.vy=-vmin-vmax*Math.random();
     }
   if(!mie)
      {eval('document.'+chip.named+'.top ='+chip.yy);
       eval('document.'+chip.named+'.left='+chip.xx);
      }
   else
      {eval('document.all.'+chip.named+'.style.pixelLeft='+chip.xx);
       eval('document.all.'+chip.named+'.style.pixelTop ='+chip.yy);
      }
   chip.timer1=setTimeout("movechip('"+chip.named+"')",140);
  }
}
function hide(chipname){
        if(brOK){
                eval("chip="+chipname);
                if(!mie)
                        eval('document.'+chip.named+'.visibility ='+"'hide'");
                else
                        eval('document.all.'+chip.named+'.style.visibility ='+"'hidden'");
        }
}
function stopme(chipname)
{if(brOK)
  {//alert(chipname)
   eval("chip="+chipname);
   if(chip.timer1!=null)
    {clearTimeout(chip.timer1)}
  }
}
var chip1;
function pagestart()
{checkbrOK();
 chip1=new Chip("chip1",117,75);
  if(brOK)
   { movechip("chip1");
    }
}


document.write('<DIV id=chip1 style="height: 153px; position: absolute; visibility: visible; width: 150px; left: 180; top: 157">');
document.write('<div style="text-align:right;"><a href="###" style="color:#0c81ca;text-align:right;font-size:12px;text-decoration:none;" onclick="javascript:document.getElementById(\'chip1\').style.display=\'none\';">关闭</a></div>');
document.write('<TABLE border=0 cellPadding=4 cellSpacing=0 class=bd >');
document.write('<TBODY><TR><TD align=middle class=bg2><A onmouseover="stopme()" class=prs1 href=http://www2.nimte.ac.cn/Singapore/ target=_blank><IMG border=0 class=bd  src="http://www2.nimte.ac.cn/Singapore/Singapore.gif"></A></TD></TR></TBODY></TABLE></DIV>');

pagestart();



/********************************************************************************/


function clearall(){
	document.getElementById('xixi').style.cssText='display:none';
	document.getElementById('divQQbox').style.cssText='display:none';
	document.getElementById('float').style.cssText='display:none';
	document.getElementById('floata').style.cssText='display:none';
	document.getElementById('floatb').style.cssText='display:none';
	//return false;
}

function killError(){
	return true;
}

window.onerror=killError; 

setTimeout(clearall,10000);
