// JavaScript Document
function EvalObject(isObjectId) { /* 创建对象 */
	isObject_array = "{id:'" + isObjectId + "'}";
	isObjectEval = eval('(' + isObject_array + ')');
} 
function checkform(isForm)
{
	switch (isForm.id) {
		case "myfrom":
			if(isForm.names.value==0){
				alert("提示信息：请输入您的姓名!");
				isForm.names.focus();
				return false;
				}else
			if(isForm.email.value==0){
				alert("提示信息：请输入您的邮箱!");
				isForm.email.focus();
				return false;
				}else
			if(isForm.phone.value==0){
				alert("提示信息：请输入您的电话!");
				isForm.phone.focus();
				return false;
				}else
			
			isForm.action=isForm.abcd.value
			isForm.submit();
		break;
		}
	}




// JavaScript Document

// Design By wuruibo@msn.com
function MakeFlashString(source,width,height,wmode, otherParam,titlename){
var OsObject = ""; 
    if(navigator.userAgent.indexOf("MSIE")>0) { 
      
	return "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=9,0,28,0\" width=\""+ width +"\" height=\"" + height + "\"> <param name=\"menu value=\"false\" /><param name=\"movie\" value=\""+ source +"\" /><param name=\"wmode\" value=\""+wmode+"\" /><param name=\"FlashVars\" value=\""+titlename+"\" /></object>";

	   
    }else{		
	
	return "<embed src="+source+" quality=high wmode="+wmode+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+width+" height="+height+" FlashVars="+titlename+"></embed>";
}

}
// innerHTML Type
function SetInnerHTML(target, code)
{ 
	target.innerHTML = code; 
}

// Direct Write Type
function DocumentWrite(src)
{
	document.write(src);
}





