function render_header(imgstring){
	document.write("<script type=\"text/javascript\">");
	document.write("	function changeImage(imgstr){");
	document.write("		$(\"#mainNav ul li img\").each(function(idx,obj){");
	document.write("				if(obj.id==imgstr){");
	document.write("					obj.src=\"images/\"+imgstr+\"1.jpg\";");
	document.write("				}else{");
	document.write("					obj.src=\"images/\"+obj.id+\".jpg\";");
	document.write("				}						  ");
	document.write("		});");
	document.write("	}");
	document.write(" ");
	document.write("	function mouse_sj(imgobj,imgsrc){");
	document.write("		imgobj.src=\"images/\"+imgsrc;");
	document.write("	}");
	document.write("			function getCurrentName(){");
	document.write("				var curhost=window.location.host;");
	document.write("				var cururl=window.location.href;");
	document.write("				var param=cururl.split(\"/\");");
	document.write("				var curpage=param[param.length-1];");
	document.write("				if(cururl.indexOf(\"tech\") == -1){");
	document.write("					$(\"#chinapage\").attr(\"href\",\"cn/\"+curpage);");
	document.write("					$(\"#englishpage\").attr(\"href\",curpage);");
	document.write("				}else{");
	document.write("				    $(\"#chinapage\").attr(\"href\",\"../cn/tech/\"+curpage);");
	document.write("				    $(\"#englishpage\").attr(\"href\",curpage);");
	document.write("				}");
	document.write("			}");
	document.write("	if(window.attachEvent){ window.attachEvent(\"onload\", getCurrentName); }");
	document.write("	if(window.addEventListener){window.addEventListener(\"load\",getCurrentName,false);}");
	document.write("</script>");
	document.writeln("<div id=\"container\">");
	document.writeln("	<div id=\"zhongyinwen\"><a href=\"#\" id=\"chinapage\">中文<\/a>&nbsp;<span style=\"color: #999999\">|<\/span>&nbsp;<a href=\"#\" id=\"englishpage\">English<\/a><\/div>");
	document.writeln("	<div id=\"mainNav\" class=\"navMenu\">");
	document.writeln("		<ul>");
	document.writeln("			<li><a href=\"..\/index.htm\"><img src=\"images\/home.jpg\" width=\"53\" height=\"27\" id=\"home\" border=\"0\" onmouseover=\"mouse_sj(this,\'home2.jpg\')\" onmouseout=\"mouse_sj(this,\'home.jpg\')\" \/><\/a><\/li>");
	document.writeln("			<li><a href=\"index.htm\"><img src=\"images\/tech1.jpg\" width=\"93\" height=\"27\" id=\"tech\" border=\"0\" \/><\/a><\/li>");
	document.writeln("			<li><a href=\"..\/production_services.html\"><img src=\"images\/service.jpg\" width=\"141\" height=\"27\" id=\"service\" border=\"0\" onmouseover=\"mouse_sj(this,\'service2.jpg\')\" onmouseout=\"mouse_sj(this,\'service.jpg\')\"\/><\/a><\/li>");
	document.writeln("			<li onmouseover=\"mouse_sj(document.getElementById(\'jobs\'),\'jobs3.jpg\')\" onmouseout=\"mouse_sj(document.getElementById(\'jobs\'),\'jobs31.jpg\')\">");
	document.writeln("				<a href=\"..\/joinus_jobs.html\"><img src=\"images\/jobs31.jpg\" width=\"46\" height=\"27\" id=\"jobs\" border=\"0\" \/><\/a>");
	document.writeln("				<ul>");
	document.writeln("					<li style='margin-bottom:0px;_margin-top:0px;'><a href=\"..\/joinus_envbenefits.html\"><img src=\"images\/jobs_eb.jpg\" width=\"200\" height=\"27\" border=\"0\" onmouseover=\"mouse_sj(this,\'jobs_eb1.jpg\')\" onmouseout=\"mouse_sj(this,\'jobs_eb.jpg\')\" border=\"0\"><\/a><\/li>");
	document.writeln("					<li style='margin-top:0px;margin-bottom:0px\9;_margin-top:-2px;'><a href=\"..\/joinus_jobs.html\"><img src=\"images\/jobs_jo.jpg\" width=\"200\" height=\"27\" border=\"0\" onmouseover=\"mouse_sj(this,\'jobs_jo1.jpg\')\" onmouseout=\"mouse_sj(this,\'jobs_jo.jpg\')\" border=\"0\"><\/a><\/li>");
	document.writeln("				<\/ul>");
	document.writeln("			<\/li>");
	document.writeln("			<li><a href=\"..\/company.html\"><img src=\"images\/about.jpg\" width=\"56\" height=\"27\" id=\"about\" border=\"0\" onmouseover=\"mouse_sj(this,\'about2.jpg\')\" onmouseout=\"mouse_sj(this,\'about.jpg\')\" \/><\/a><\/li>");
	document.writeln("			<li><a href=\"..\/company.html#02\"><img src=\"images\/contact.jpg\" width=\"69\" height=\"27\" id=\"contact\" border=\"0\" onmouseover=\"mouse_sj(this,\'contact2.jpg\')\" onmouseout=\"mouse_sj(this,\'contact.jpg\')\" \/><\/a><\/li>");
	document.writeln("			<li style=\"float: right; padding-right: 1px;\">");
	document.writeln("				<form id=\"searchForm\" action=\"http:\/\/www.google.com\/search\" target=\"_blank\">");
	document.writeln("					<input id=\"searchinput\" type=\"text\" name=\"q\" value=\"\" maxlength=\"10\" \/> ");
	document.writeln("					<input type=\"image\" src=\"images\/search_bn.jpg\" align=\"absmiddle\" \/>");
   document.writeln("                    <input name=\"sitesearch\" type=\"hidden\" value=\"http://www.epicgameschina.com/\" />");
	document.writeln("				<\/form>");
	document.writeln("			<\/li>");
	document.writeln("		<\/ul>");
	document.writeln("	<\/div>");
	document.writeln("	<div id=\"content_epic\">");
	document.writeln("		<!--[if IE 6]><div id=\"content_topimg\"><img src=\"images\/center_bg6.jpg\" width=\"982\" height=\"400\" id=\"topimg\" border=\"0\"\/><\/div><![endif]-->");
	document.writeln("		<!--[if gt IE 6]><div id=\"content_topimg\"><img src=\"images\/center_bg1.jpg\" width=\"980\" height=\"400\" id=\"topimg\" border=\"0\"\/><\/div><![endif]-->");
	document.writeln("		<!--[if !IE]><!--><div id=\"content_topimg\"><img src=\"images/center_bg1.jpg\" width=\"980\" height=\"400\" id=\"topimg\" border=\"0\"/></div><!--<![endif]-->");
	document.writeln("		<div id=\"content_table\">");
	document.writeln("    		<div id=\"logodiv\" onclick=\"window.open('index.htm','','');\">&nbsp;</div>");
}
