function MakeFlash(s, d, w, h, t, b)
{
	flashModule  = "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width="+w+" height="+h+" id="+d+">";
	if (b != "") flashModule += "<param name=bgcolor value="+b+" />";
	if (t != "")
	{
		flashModule += "<param name=wmode value="+t+" />";
		flashModule += "<param name=movie value="+s+" />";
		flashModule += "<param name=quality value=high />";
		if (b != "")  flashModule += "<embed src="+s+" quality=high wmode="+t+" bgcolor="+b+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+w+" height="+h+"></embed>";
		else          flashModule += "<embed src="+s+" quality=high wmode="+t+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+w+" height="+h+"></embed>";
	}
	else
	{
		flashModule += "<param name=movie value="+s+" />";
		flashModule += "<param name=quality value=high />";
		if (b != "") flashModule += "<embed src="+s+" quality=high bgcolor="+b+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+w+" height="+h+"></embed>"; 
		else         flashModule += "<embed src="+s+" quality=high type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+w+" height="+h+"></embed>";
	}
	flashModule += "</object>";
	return flashModule;
}

//
function documentContentWrite(src)
{
	document.write(src);
}
function pro_info(num)
{
	document.getElementById("t1").className='rightdiv';
	document.getElementById("t2").className='rightdiv';
	document.getElementById("t3").className='rightdiv';
	document.getElementById("t4").className='rightdiv';
	document.getElementById("t"+num).className='leftdiv';	
	document.getElementById("d1").style.display='none';
	document.getElementById("d2").style.display='none';
	document.getElementById("d"+num).style.display='';
}
function CheckFormok()
{
    if(document.Login1.UserName.value=="")
    {
        alert("请输入用户名！");
        document.Login1.UserName.focus();
        return false;
    }
    if(document.Login1.Password.value == "")
    {
        alert("请输入密码！");
        document.Login1.Password.focus();
        return false;
    }
}

function unselectall()
{
    if(document.del.chkAll.checked){
	document.del.chkAll.checked = document.del.chkAll.checked&0;
    } 	
}

