function homeflash(){
	document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='1000' height='600' >");
	document.writeln(" <param name='allowScriptAccess' value='sameDomain' />");
	document.writeln(" <param name='movie' value='images/homeflash.swf' />");
	document.writeln(" <param name='quality' value='best' />");
	document.writeln("<param name='wmode' value='transparent' /> ");
	document.writeln(" <param name='bgcolor' value='#feca05' />");
	document.writeln("<embed src='images/homeflash.swf' quality='best' wmode='transparent' bgcolor='#feca05' width='1000' height='600' name='left' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /> ");
	document.writeln(" </object>");
}
function topmenu(){
	document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='972' height='376' >");
	document.writeln(" <param name='allowScriptAccess' value='sameDomain' />");
	document.writeln(" <param name='movie' value='images/topmenu.swf' />");
	document.writeln(" <param name='quality' value='best' />");
	document.writeln("<param name='wmode' value='transparent' /> ");
	document.writeln(" <param name='bgcolor' value='#feca05' />");
	document.writeln("<embed src='images/topmenu.swf' quality='best' wmode='transparent' bgcolor='#feca05' width='972' height='376' name='left' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /> ");
	document.writeln(" </object>");
}












//** iframe自动适应页面 **// 
//输入你希望根据页面高度自动调整高度的iframe的名称的列表 
//用逗号把每个iframe的ID分隔. 例如: ["myframe1", "myframe2"]，可以只有一个窗体，则不用逗号。 
//定义iframe的ID 
var iframeids=["contentarea"] 

//如果用户的浏览器不支持iframe是否将iframe隐藏 yes 表示隐藏，no表示不隐藏 
var iframehide="yes" 

function dyniframesize() 
{ 
var dyniframe=new Array() 
for (i=0; i<iframeids.length; i++) 
{ 
if (document.getElementById) 
{ 
//自动调整iframe高度 
dyniframe[dyniframe.length] = document.getElementById(iframeids[i]); 
if (dyniframe[i] && !window.opera) 
{ 
dyniframe[i].style.display="block" 
if (dyniframe[i].contentDocument && dyniframe[i].contentDocument.body.offsetHeight) //如果用户的浏览器是NetScape 
dyniframe[i].height = dyniframe[i].contentDocument.body.offsetHeight; 
else if (dyniframe[i].Document && dyniframe[i].Document.body.scrollHeight) //如果用户的浏览器是IE 
dyniframe[i].height = dyniframe[i].Document.body.scrollHeight; 
} 
} 
//根据设定的参数来处理不支持iframe的浏览器的显示问题 
if ((document.all || document.getElementById) && iframehide=="no") 
{ 
var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i]) 
tempobj.style.display="block" 
} 
} 
} 

if (window.addEventListener) 
window.addEventListener("load", dyniframesize, false) 
else if (window.attachEvent) 
window.attachEvent("onload", dyniframesize) 
else 
window.onload=dyniframesize 