function checkLogin(){
if(document.formA.username.value.length<1){
	alert("用户名不能为空");
	document.formA.username.focus();
	return false;
	}	
if(document.formA.pwd.value.length<1){
	alert("密码不能为空");
	document.formA.pwd.focus();
	return false;
	}
	return true;
}

function docFlash(sURL,w,h) {
document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\""+w+"\" height=\""+h+"\">")
document.write("<param name=\"movie\" value="+sURL+">");
document.write("<param name=\"quality\" value=\"high\">");
document.write("<param name=\"menu\" value=\"false\">");
document.write("<param name=\"wmode\" value=\"opaque\"> ");
document.write("<embed src="+sURL+" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+w+"\" height=\""+h+"\"></embed>");
document.write("</object>");
}
