//首页的菜单
function index_flash(){
	document.write('<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1000" height="378">');
	document.write('<param name="movie" value="home.swf" />');
	document.write(' <param name="quality" value="high" />');
	document.write('<param name="wmode" value="opaque" />');
	document.write(' <param name="swfversion" value="9.0.45.0" />');
	document.write(' <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->');
	document.write(' <param name="expressinstall" value="Scripts/expressInstall.swf" />');
	document.write(' <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 --> ');
	document.write(' <!--[if !IE]>-->');
	document.write('  <object type="application/x-shockwave-flash" data="home.swf" width="1000" height="378">');
	document.write('  <!--<![endif]-->');
	document.write('  <param name="quality" value="high" />');
	document.write('  <param name="wmode" value="opaque" />');
	document.write('  <param name="flashVars" value="Depth1=0&Depth2=0" />');
	document.write('  <param name="swfversion" value="9.0.45.0" />');
	document.write(' <param name="expressinstall" value="Scripts/expressInstall.swf" />');
	document.write(' <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->');
	document.write(' <div>');
	document.write('   <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>');
	 document.write('  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="获取 Adobe Flash Player" /></a></p>');
	document.write('  </div>');
	document.write('  <!--[if !IE]>-->');
	document.write('</object>');
	document.write(' <!--<![endif]-->');
	document.write(' </object>');
}
//内容页的菜单
function menu_flash(){
	document.write('  <div class="menu">');
	document.write('<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1000" height="74">');
	document.write(' <param name="movie" value="menu.swf" />');
	document.write(' <param name="quality" value="high" />');
	document.write(' <param name="wmode" value="transparent" />');
	document.write('  <param name="flashVars" value="Depth1='+Depth1+'&Depth2='+Depth2+'" />');
	document.write(' <param name="swfversion" value="9.0.45.0" />');
	document.write('  <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->');
	document.write(' <param name="expressinstall" value="Scripts/expressInstall.swf" />');
	document.write(' <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 --> ');
	document.write(' <!--[if !IE]>-->');
	document.write('  <object type="application/x-shockwave-flash" data="menu.swf" width="1000" height="74">');
	document.write('    <!--<![endif]-->');
	document.write('    <param name="quality" value="high" />');
	document.write('   <param name="wmode" value="transparent" />');
	document.write('   <param name="swfversion" value="9.0.45.0" />');
	document.write('   <param name="expressinstall" value="Scripts/expressInstall.swf" />');
	document.write('   <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->');
	document.write('   <div>');
	 document.write('   <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>');
	document.write('    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="获取 Adobe Flash Player" /></a></p>');
	document.write('   </div>');
	document.write('     <!--[if !IE]>-->');
	document.write('  </object>');
	document.write('  <!--<![endif]-->');
	document.write(' </object>');
	document.write('</div>');
}

function save_ajax(){
	if($("#title").attr('value')==''){
		alert('请输入你的标题！');
		return;
	}
	if($("#email").attr('value')==''){
		alert('请输入你的邮箱！');
		return;
	}
	if($("#phone").attr('value')==''){
		alert('请输入你的电话！');
		return;
	}
	if($("#text").attr('value')==''){
		alert('请输入你的留言内容！');
		return;
	}
	$("form:form1").submit();
}
//$(document).ready(function(){
//	$("#link").mouseover(function(){
//		$("#link_l").css("display","block");
//	});
//	$("#link").mouseout(function(){
//		$("#link_l").css("display","none");
//	});
//});
//

