function render_header(imgstring){
	document.writeln("<script type=\"text/javascript\">");
	document.writeln("			function changeImage(imgstr){");
	document.writeln("				$(\"#mainNav ul li img\").each(function(idx,obj){");
	document.writeln("					if(obj.id==imgstr){");
	document.writeln("						obj.src=\"images/\"+imgstr+\"1.jpg\";");
	document.writeln("					}else{");
	document.writeln("						obj.src=\"images/\"+obj.id+\".jpg\";");
	document.writeln("					}						  ");
	document.writeln("				});");
	document.writeln("			}");
	document.writeln(" 			");
	document.writeln("			function mouse_sj(imgobj,imgsrc){");
	document.writeln("				imgobj.src=\"images/\"+imgsrc;");
	document.writeln("			}");
	document.writeln("			");
	document.writeln("			function getCurrentName(){");
	document.writeln("				var curhost=window.location.host;");
	document.writeln("				var cururl=window.location.href;");
	document.writeln("				var param=cururl.split(\"/\");");
	document.writeln("				var curpage=param[param.length-1];");
	document.writeln("				if(cururl.indexOf(\"tech\") == -1){");
	document.writeln("					$(\"#chinapage\").attr(\"href\",curpage);");
	document.writeln("					$(\"#englishpage\").attr(\"href\",\"../../\"+curpage);");
	document.writeln("				}else{");
	document.writeln("				    $(\"#chinapage\").attr(\"href\",curpage);");
	document.writeln("				    $(\"#englishpage\").attr(\"href\",\"../../tech/\"+curpage);");
	document.writeln("				}");
	document.writeln("			}");
	document.writeln("			if(window.attachEvent){ window.attachEvent(\"onload\", getCurrentName); }");
	document.writeln("			if(window.addEventListener){window.addEventListener(\"load\",getCurrentName,false);}");
	document.writeln("			 ");
	document.writeln("</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_c1.jpg\" width=\"53\" height=\"26\" id=\"home\" border=\"0\" onmouseover=\"mouse_sj(this,'home_c3.jpg')\" onmouseout=\"mouse_sj(this,'home_c1.jpg')\" /></a></li>");
	document.writeln("                <li><a href=\"index.htm\"><img src=\"images/tech_c2.jpg\" width=\"80\" height=\"26\" id=\"tech\"/></a></li>");
	document.writeln("                <li><a href=\"../production_services.html\"><img src=\"images/service_c1.jpg\" width=\"80\" height=\"26\" id=\"service\" onmouseover=\"mouse_sj(this,'service_c3.jpg')\" onmouseout=\"mouse_sj(this,'service_c1.jpg')\"/></a></li>");
	document.writeln("                <li onmouseover=\"mouse_sj(document.getElementById('jobs'),'jobs_c3.jpg')\" onmouseout=\"mouse_sj(document.getElementById('jobs'),'jobs_c1.jpg')\"><a href=\"../joinus_envbenefits.html\"><img src=\"images/jobs_c1.jpg\" width=\"80\" height=\"26\" id=\"jobs\"/></a>");
	document.writeln("					<ul>");
	document.writeln("						<li style='margin-bottom:0px;_margin-top:-2px;'><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')\"></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')\"></a></li>");
	document.writeln("					</ul>");
	document.writeln("				  </li>");
	document.writeln("                <li style=\"float:right;padding-right:1px;\">");
	document.writeln("                	<form id=\"searchForm\" action=\"http://www.google.cn/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("                <li><a href=\"../company.html\"><img src=\"images/gywm1.jpg\" width=\"80\" height=\"26\" id=\"gywm\" onmouseover=\"mouse_sj(this,'gywm3.jpg')\" onmouseout=\"mouse_sj(this,'gywm1.jpg')\" /></a></li>");
	document.writeln("                <li><a href=\"../company.html#02\"><img src=\"images/lxwm1.jpg\" width=\"80\" height=\"26\" id=\"lxwm\" onmouseover=\"mouse_sj(this,'lxwm3.jpg')\" onmouseout=\"mouse_sj(this,'lxwm1.jpg')\" /></a></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>");

}
