// JavaScript Document

function render_header(imgstring){

	document.writeln("<script type=\"text\/javascript\">");

	document.writeln("	function mouse_sj(imgobj,imgsrc){");

	document.writeln("		imgobj.src=\"images\/\"+imgsrc;");

	document.writeln("	}");

	document.writeln("<\/script>");

	document.writeln("<div id=\"container\">");

	document.writeln("	<div id=\"zhongyinwen\">&nbsp;&nbsp;<\/div>");

	document.writeln("	<div id=\"mainNav\" class=\"navMenu\">");

	document.writeln("		<ul>");

	document.writeln("			<li><a href=\"news.html\"><img src=\"images\/home.jpg\" width=\"53\" height=\"27\" id=\"home\" border=\"0\" \/><\/a><\/li>");

	document.writeln("			<li onmouseover=\"mouse_sj(document.getElementById(\'projects\'),\'projects2.jpg\')\" onmouseout=\"mouse_sj(document.getElementById(\'projects\'),\'projects.jpg\')\">");

	document.writeln("				<a href=\"projects.html\"><img src=\"images\/projects.jpg\" width=\"69\" height=\"27\" id=\"projects\" border=\"0\"\/><\/a>");

	document.writeln("				<ul>");

	document.writeln("					<li style='margin-bottom:0px;_margin-top:0px;'><a href=\"..\/tech\/index.htm\"> <img src=\"images\/at1.jpg\" width=\"200\" height=\"27\" border=\"0\" onmouseover=\"mouse_sj(this,\'at2.jpg\')\" onmouseout=\"mouse_sj(this,\'at1.jpg\')\"><\/a><\/li>");

	document.writeln("					<li style='margin-bottom:0px;'><a href=\"projects.html\"><img src=\"images\/games1.jpg\" width=\"200\" height=\"27\" border=\"0\" onmouseover=\"mouse_sj(this,\'games2.jpg\')\" onmouseout=\"mouse_sj(this,\'games1.jpg\')\"><\/a><\/li>");

	document.writeln("				<\/ul>");

	document.writeln("			<\/li>");

	document.writeln("			<li><a href=\"joinus.html\"><img src=\"images\/jobs.jpg\" width=\"46\" height=\"27\" id=\"jobs\" border=\"0\" \/><\/a><\/li>");

	document.writeln("			<li><a href=\"about.html\"><img src=\"images\/about.jpg\" width=\"56\" height=\"27\" id=\"about\" border=\"0\" \/><\/a><\/li>");

	document.writeln("			<li><a href=\"location.html\"><img src=\"images\/contact.jpg\" width=\"69\" height=\"27\" id=\"contact\" border=\"0\" \/><\/a><\/li>");

	//document.writeln("			<li><img src=\"images\/kongge.jpg\" width=\"27\" height=\"27\" id=\"kongge\" style=\"cursor: auto;\" \/><\/li>");

	document.writeln("			<li><a href=\"..\/index.htm\"><img src=\"images\/epicgameschina.jpg\" width=\"118\" height=\"27\" id=\"epicgameschina\" border=\"0\" \/><\/a><\/li>");

	document.writeln("			<li style=\"float: right; padding-right: 128px;\">");

	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("		<\/ul>");

	document.writeln("	<\/div>");

	document.writeln("<div id=\"content_epic\">");

	document.writeln("	<div id=\"content_topimg\"><img src=\"images\/center_bg.jpg\" width=\"980\" height=\"400\" id=\"topimg\" \/><\/div>");

	document.writeln("	<div id=\"content_table\">")	;

	document.writeln("    		<div id=\"logodiv\" onclick=\"window.open('news.html','','');\">&nbsp;</div>");

	document.writeln("    		<div id=\"indexdiv\" onclick=\"window.open('../index.htm','','');\">&nbsp;</div>");

}
