

function draw_flash(xfile,xwidth,xheight){
		document.write('<object width="'+xwidth+'" height="'+xheight+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">');
		document.write('<param name="movie" value="'+xfile+'">');
		document.write('<param name="quality" value="high">');
		document.write('<param name="wmode" value="transparent">');
		document.write('<embed src="'+xfile+'" width="'+xwidth+'" height="'+xheight+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>');
}

///////////////////////////////////////////////////////////
function draw_header(x){
	document.write('<table class="headbar" width="100%" border=0 cellspacing=0 cellpadding=0>');
	document.write('<tr>');
	document.write('<td>');
	if(x==1){
		document.write('<div class="lang">');
		document.write('<a href="index.asp">首页</a> · ');
		document.write('<a href="company.asp">公司简介</a> · ');
		document.write('<a href="news_center.asp">公司动态</a> · ');
		document.write('<a href="customers.asp">服务客户</a> · ');
		document.write('<a href="case_list.asp">成功案例</a> · ');
		document.write('<a href="jobs.asp">诚聘英才</a> · ');
		document.write('<a href="contact.asp">联系我们</a>');
		document.write('</div>');
	}else{
		document.write('<div class="lang">');
		document.write('<a href="index.asp">中文</a> / ');
		document.write('<a href="#en_index.asp" onclick="alert(\'英文版即将开放，敬请关注！\')" title="正在建设中……">ENGLISH</a>');
		//document.write('<a href="pr.asp">公关</a> · ');
		//document.write('<a href="ad.asp">广告</a> · ');
		//document.write('<a href="emarketing.asp">网络营销</a> · ');
		//document.write('<a href="event.asp">会展活动</a>');
		document.write('</div>');
	}
	document.write('</td></tr></table>');
}

///////////////////////////////////////////////////////////
	function TM_ovr(ob){
		ob.src='images/btn'+ob.no+'_on.jpg';
	}
	function TM_out(ob){
		ob.src='images/btn'+ob.no+'_of.jpg';
	}
	function TM_clk(ob){
		var url='';
		if(ob.no=='0'){url='index.asp';}
		if(ob.no=='1'){url='company.asp';}
		if(ob.no=='2'){url='news_center.asp';}
		if(ob.no=='3'){url='customers.asp';}
		if(ob.no=='4'){url='case_list.asp';}
		if(ob.no=='5'){url='jobs.asp';}
		if(ob.no=='6'){url='contact.asp';}
		window.location.href=url;
	}
//----------------------------------------
function draw_top_menu(x){
	if(x==1){
		document.write('<div><span class="tip">&raquo;</span><a href="pr.asp">公关</a></div>');
		document.write('<div><span class="tip">&raquo;</span><a href="ad.asp">广告</a></div>');
		document.write('<div><span class="tip">&raquo;</span><a href="emarketing.asp">网络营销</a></div>');
		document.write('<div><span class="tip">&raquo;</span><a href="event.asp">会展活动</a></div>');
	}else{
		document.write('<div style="margin:0px;border:0px;padding:0px;display:block;width:1004px;height:50px;background-image:url(images/face_menu_bg.jpg)">');
		document.write('<div style="margin:0px;border:0px;padding:0px;display:n;margin-left:473px;margin-top:18px;">');
		document.write('<img src="images/btn0_of.jpg" alt="首页"		no="0" style="cursor:hand;" onclick="TM_clk(this)" onmouseover="TM_ovr(this)" onmouseout="TM_out(this)"><img src="images/btnsp.gif" style="margin-left:2px;margin-right:2px;">');
		document.write('<img src="images/btn1_of.jpg" alt="公司简介"	no="1" style="cursor:hand;" onclick="TM_clk(this)" onmouseover="TM_ovr(this)" onmouseout="TM_out(this)"><img src="images/btnsp.gif" style="margin-left:2px;margin-right:2px;">');
		document.write('<img src="images/btn2_of.jpg" alt="新闻中心"	no="2" style="cursor:hand;" onclick="TM_clk(this)" onmouseover="TM_ovr(this)" onmouseout="TM_out(this)"><img src="images/btnsp.gif" style="margin-left:2px;margin-right:2px;">');
		document.write('<img src="images/btn3_of.jpg" alt="服务客户"	no="3" style="cursor:hand;" onclick="TM_clk(this)" onmouseover="TM_ovr(this)" onmouseout="TM_out(this)"><img src="images/btnsp.gif" style="margin-left:2px;margin-right:2px;">');
		document.write('<img src="images/btn4_of.jpg" alt="成功案例"	no="4" style="cursor:hand;" onclick="TM_clk(this)" onmouseover="TM_ovr(this)" onmouseout="TM_out(this)"><img src="images/btnsp.gif" style="margin-left:2px;margin-right:2px;">');
		document.write('<img src="images/btn5_of.jpg" alt="诚聘英才"	no="5" style="cursor:hand;" onclick="TM_clk(this)" onmouseover="TM_ovr(this)" onmouseout="TM_out(this)"><img src="images/btnsp.gif" style="margin-left:2px;margin-right:2px;">');
		document.write('<img src="images/btn6_of.jpg" alt="联系我们"	no="6" style="cursor:hand;" onclick="TM_clk(this)" onmouseover="TM_ovr(this)" onmouseout="TM_out(this)"></div>');
		document.write('</div>');
		//document.write('	<div><img src="images/face_menu.jpg" useMap="#AutoMap1"></div>');
		//document.write('	<MAP name="AutoMap1">');
		//document.write('		<AREA shape="RECT" coords="488,21,520,43"   href="index.asp" alt="首页">');
		//document.write('		<AREA shape="RECT" coords="533,21,600,43"   href="company.asp" alt="公司简介">');
		//document.write('		<AREA shape="RECT" coords="610,21,675,43"   href="news_center.asp" alt="新闻中心">');
		//document.write('		<AREA shape="RECT" coords="688,21,752,43"   href="customers.asp" alt="服务客户">');
		//document.write('		<AREA shape="RECT" coords="766,21,829,43"   href="case_list.asp" alt="成功案例">');
		//document.write('		<AREA shape="RECT" coords="842,21,905,43"   href="jobs.asp" alt="诚聘英才">');
		//document.write('		<AREA shape="RECT" coords="918,21,983,43"   href="contact.asp" alt="联系我们">');
		//document.write('		<AREA shape="RECT" coords="46,206,130,286"  href="service_pr.asp" alt="公关">');
		//document.write('		<AREA shape="RECT" coords="152,206,230,286" href="service_emarketing.asp" alt="网络营销">');
		//document.write('		<AREA shape="RECT" coords="257,206,335,286" href="service_ad.asp" alt="广告">');
		//document.write('		<AREA shape="RECT" coords="359,206,440,286" href="service_event.asp" alt="会展活动">');
		//document.write('	</MAP>');
	}
}
///////////////////////////////////////////////////////////
function draw_footer(x){
	if(x==0){
		document.write('	<table width="100%" border=0 cellspacing=0 cellpadding=0>');
		document.write('	<tr>');
		document.write('	<td><div><img src="images/logo_bot.gif"></div></td>');
		document.write('	<td><div style="text-align:right;padding-right:15px;color:#999;font-size:9px;">COPYRIGHT 2007 BY POPOWER COMMUNICATION GROUP</div></td>');
		document.write('	</tr>');
		document.write('	</table>');
	}else{
		document.write('<div style="text-align:left;padding-left:15px;color:#999;font-size:9px;">COPYRIGHT 2007 BY POPOWER COMMUNICATION GROUP</div>');
	}
}

