<!--
function openJsWindow(abc,widtha,heighta)
{
window.open(abc, "_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+widtha+",height="+heighta);
}

function openLinkJsWindow(abc)
{
window.open(abc, "_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=520,height=220");
}
function openLinkJsWindowNews(abc)
{
window.open(abc, "_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=480");
}
function funShowBigPic(tPath,tID)
{
	window.open(tPath+"thePicShow.asp?ID="+tID, "_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=10,height=10,left=200,top=20");
}
function jsfunShowBigPic(tPath)
{
	window.open(tPath, "_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=10,height=10,left=20,top=20");
}
function overBackColor(op,color){
	var i=op.length;
	var j
	for(j=0;j<i;j++)
	{
	op[j].bgColor=color
	}
}

function CheckDelAll(tCheckBtn)
{
	
	var allNul=tCheckBtn.length
	if (allNul==undefined){
		var e2=tCheckBtn;
		if (!e2.disabled){e2.checked=!e2.checked;}	
	return;
	}
	
	var firstBtn=tCheckBtn[0].checked
	for (var i=0;i<allNul;i++){
		var e=tCheckBtn[i];
		
		if (!e.disabled){
			if(firstBtn==true){
				e.checked=false;		
			}else{
				e.checked=true;
			}
		}
	}
}
function CheckToChange(tCheckBtnCheck,tOver,tVar1)
{
	if(tCheckBtnCheck==true){
		tOver.value=tVar1;
	}else{
		tOver.value="#FFFFFF";
	}
	
}
function funSwitchPic(objName,tPicName)
{
	objName.src=tPicName;
}

function funObjOverColor(obj,tColor){
 	obj.style.backgroundColor=tColor;	
}

function kvsSH( obj )
{
	if (obj.style.display == "")
	{
		obj.style.display = "none";
	}
	else
	{
		obj.style.display = '';
	}
}
//-->
