//***********************************************************************
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//***********************************************************************
function Pic(ID,Web) 
{ 
window.open(""+Web+"_Pic.Asp?ID="+ID,"","width=470,height=370,top=80,left=220,resizable=no,scrollbars=no,status=no,toolbar=no,menubar=no,location=no");}
//***********************************************************************
function showFocus(num,numid)
{
 for(var id = 1;id<=numid;id++)
 {
  var fpid="focusPic"+id;
  var fnid="focusNav"+id;
  if(id==num){
  	try{document.getElementById(fpid).style.display="block"}catch(e){};
	try{document.getElementById(fnid).className="red"}catch(e){};
  }else{
	try{document.getElementById(fpid).style.display="none"}catch(e){};
	try{document.getElementById(fnid).className=""}catch(e){};
  }
 }  
}
//***********************************************************************
function objSP_Article() {this.ImgUrl="";}
function SlidePic_Article(_id) {this.ID=_id; this.Width=0;this.Height=0;this.href=null;this.TimeOut=5000; this.Effect=23; this.PicNum=-1; this.Img=null; this.AllPic=new Array(); this.Add=SlidePic_Article_Add; this.Show=SlidePic_Article_Show; this.LoopShow=SlidePic_Article_LoopShow;}
function SlidePic_Article_Add(_SP) {this.AllPic[this.AllPic.length] = _SP;}
function SlidePic_Article_Show() {
  if(this.AllPic[0] == null) return false;
  document.write("<a href='"+this.href+"' target='_blank'><img id='Img_" + this.ID + "' style='width:" + this.Width + "; filter: revealTrans(duration=2,transition=23);' src='javascript:null' border='0'></a>");
  this.Img = document.getElementById("Img_" + this.ID);
  this.LoopShow();
}
function SlidePic_Article_LoopShow() {
  if(this.PicNum<this.AllPic.length-1) this.PicNum++ ; 
  else this.PicNum=0; 
  this.Img.filters.revealTrans.Transition=this.Effect; 
  this.Img.filters.revealTrans.apply(); 
  this.Img.src=this.AllPic[this.PicNum].ImgUrl;
  this.Img.filters.revealTrans.play();
  this.Img.timer=setTimeout(this.ID+".LoopShow()",this.TimeOut);
}
//***********************************************************************
function SwfLink(FlashSrc,FlashWidth,FlashHeight,FlashLink){
document.write("<table width=\""+FlashWidth+"\" height=\""+FlashHeight+"\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>");
document.write("<div style=\"position:relative\">");
document.write("<embed style=\"position:absolute;z-index:0\" src=\""+FlashSrc+"\" quality=\"high\" width=\""+FlashWidth+"\" height=\""+FlashHeight+"\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" wmode=\"transparent\"></embed>");
document.write("<div style=\"position:relative;filter:alpha(opacity=0);-moz-opacity:0;z-index:10;left:0;top:0;background:transparent !important;background:#cdeaf6;width:"+FlashWidth+";height:"+FlashHeight+"px;\">");
document.write("<a href=\""+FlashLink+"\" target=\"_blank\" style=\"cursor:pointer;display:block;width:"+FlashWidth+";height:"+FlashHeight+"px;\"></a>");
document.write("</div>");
document.write("</div>");
document.write("</td></tr></table>");
}
//***********************************************************************
function Swfno(FlashSrc,FlashWidth,FlashHeight){
document.write("<embed src=\""+FlashSrc+"\" quality=\"high\" width=\""+FlashWidth+"\" height=\""+FlashHeight+"\" wmode=\"transparent\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></embed>");
}
//***********************************************************************
function get(id)
{
	return document.getElementById(id);
}
function HoverLi(m,n,counter)
{
	for(var i=1;i<=counter;i++)
		{
			get('Title_'+m+'_'+i).src = "image/b_"+m+"_"+i+".gif";
			get('Content_'+m+'_'+i).className = "none";
		}
			get('Title_'+m+'_'+n).src = "image/a_"+m+"_"+n+".gif";
			get('Content_'+m+'_'+n).className = "";
	var thisurl;
	switch(m)
	{
	    case 0:
			switch(n)
			{
				case 1:
					thisurl="News.Asp?Class_ID=1";
					break;
				case 2:
					thisurl="News.Asp?Class_ID=18";
					break;
			}
		break;
	    case 1:
			switch(n)
			{
				case 1:
					thisurl="News.Asp?Class_ID=2";
					break;
				case 2:
					thisurl="Service.Asp";
					break;
				case 3:
					thisurl="Video.Asp";
					break;
			}
		break;
		case 2:
			switch(n)
			{
				case 1:
					thisurl="States.Asp";
					break;
				case 2:
					thisurl="States.Asp";
					break;
				case 3:
					thisurl="States.Asp";
					break;
				case 4:
					thisurl="States.Asp";
					break;
			}
		break;
		case 3:
			switch(n)
			{
				case 1:
					thisurl="News.Asp?Class_ID=3";
					break;
				case 2:
					thisurl="Updates.Asp?Class_ID=7";
					break;
				case 3:
					thisurl="Updates.Asp?Class_ID=6";
					break;
			}
		break;
	}
			get('Url_'+m).href = thisurl;
}
//***********************************************************************
function Menu_location(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//***********************************************************************
function CheckForm()
{
//var re =/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/;
  var Emailre = /^\s*([A-Za-z0-9_-]+(\.\w+)*@(\w+\.)+\w{2,3})\s*$/;
  
	if(document.myform.UserName.value==""){
		alert("请输入您的姓名！");
		document.myform.UserName.focus();
		return false;
	}
	if(document.myform.Tel.value==""){
		alert("请输入您的联系电话！");
		document.myform.Tel.focus();
		return false;
	}
	if (document.myform.Email.value=="" || !Emailre.test(document.myform.Email.value)){
		alert("对不起,您的E-mail有误请重新检查!");
		document.myform.Email.focus();
		return false;
   }
}
//***********************************************************************
function CheckFormBBS()
{
  var Emailre = /^\s*([A-Za-z0-9_-]+(\.\w+)*@(\w+\.)+\w{2,3})\s*$/;
  
	if(document.myform.UserName.value==""){
		alert("请输入您的姓名！");
		document.myform.UserName.focus();
		return false;
	}
	if(document.myform.Title.value==""){
		alert("请输入您的国别！");
		document.myform.Title.focus();
		return false;
	}
	if (document.myform.Email.value=="" || !Emailre.test(document.myform.Email.value)){
		alert("对不起,您的E-mail有误请重新检查!");
		document.myform.Email.focus();
		return false;
   }
}
//***********************************************************************
<!-- 屏蔽右键代码开始 -->
<!--
if (window.Event) 
document.captureEvents(Event.MOUSEUP); 

function nocontextmenu() 
{
event.cancelBubble = true;
event.returnValue = false;

return false;
}

function norightclick(e) 
{
if (window.Event) 
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true;
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu; //对ie5.0以上
document.onmousedown = norightclick; //对其它浏览器
document.onselectstart=function(){return false;}
//-->
<!-- 屏蔽右键代码结束 -->