<!--
var globopObject;
var opIndex=0;
var cleared=true;
var direction=10;

function dynOpacity(opObject,stop) 
{
if (stop) 
{
clearInterval(window.tm);
cleared=true;
opIndex=10;
return;
}
globopObject=opObject;
if (opIndex>180) direction=-1;
if (opIndex<50) direction=1;
opIndex+=direction;
globopObject.style.filter='alpha(opacity:' + opIndex + ')';
if (cleared)
{
window.tm=setInterval("dynOpacity(globopObject,false);",1);
cleared=false;
}
//alert(window.tm);

}


function chkLogin(){
	var username = document.form1.staffAccount.value;
	var password = document.form1.staffPwd.value;
		if(username.length < 1 || username.length > 30){
		alert("用户名非法，请检查!");
		return false;
	}
	if(password.length < 1 ||password.length > 30){
		alert("密码非法，请检查!");
		return false;
	}
	document.form1.submit();
	document.form1.staffPwd.value = "";
	return false;
}



function gothere(){
var thebox=document.mycombow
if(thebox.example.options[thebox.example.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example.options[thebox.example.selectedIndex].value
}}



function go(){
var thebox=document.mycom
if(thebox.example1.options[thebox.example1.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example1.options[thebox.example1.selectedIndex].value
}}





function goto(){
var thebox=document.mycombowopt
if(thebox.example2.options[thebox.example2.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example2.options[thebox.example2.selectedIndex].value
}}




function g(){
var thebox=document.my
if(thebox.example3.options[thebox.example3.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example3.options[thebox.example32.selectedIndex].value
}}




function gothere(){
var thebox=document.mycombow
if(thebox.example.options[thebox.example.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example.options[thebox.example.selectedIndex].value
}}



function go(){
var thebox=document.mycom
if(thebox.example1.options[thebox.example1.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example1.options[thebox.example1.selectedIndex].value
}}





function goto(){
var thebox=document.mycombowopt
if(thebox.example2.options[thebox.example2.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example2.options[thebox.example2.selectedIndex].value
}}




function g(){
var thebox=document.my
if(thebox.example3.options[thebox.example3.selectedIndex].value!='')
{newwindow=window.open("")
newwindow.location=
thebox.example3.options[thebox.example3.selectedIndex].value
}}


// -->

