// JavaScript Document
//交互样式特效
function c(i){
	var i;
	document.getElementById("tab").className="tabD"+i;
}
onload=function(){
	var a=document.links;
	for(var i=0;i<a.length;i++)a[i].onfocus=function(){this.blur();}
}

//图片半透明特效
function high(which2){
	
	theobject=which2
	highlighting=setInterval("highlightit(theobject)",100)
}
function low(which2){
	clearInterval(highlighting)
	which2.filters.alpha.opacity=50
}
function highlightit(cur2){
	
	if(cur2.filters.alpha.opacity<200)
	cur2.filters.alpha.opacity+=50
	else if(window.highlighting)
	clearInterval(highlighting)
}

//禁止右键功能,单击右键将无任何反应 
document.oncontextmenu = new Function("event.returnValue=false;");
//禁止选择,也就是无法复制
document.onselectstart = new Function("event.returnValue=false;");
//防止被人frame
if (top.location != self.location) top.location = self.location;
