// JavaScript Document


function webheader(){


	document.writeln("<!-- 头部 start-->");
	document.writeln("<div id=\"header\" class=\"iheader\">  ");
	document.writeln("	<div class=\"ilanguage\">");
	document.writeln("    ");
	document.writeln("    	<div class=\"ilandetail\">");
	document.writeln("        ");
	document.writeln("        	<div class=\"langalign\">");
	document.writeln("                <img src=\"/img/chinese.jpg\" />");
	document.writeln("                ");
	document.writeln("                <span class=\"chhotline\">");
	document.writeln("                中文  ");
	document.writeln("                </span> ");
	document.writeln("                   ");
	document.writeln("                <a href='http://227500.cnc-w186.chinadns.net/en_index.aspx' title='英文版'><img src=\"/img/english.jpg\" /></a>");
	document.writeln("                <span class=\"pronameeh\" style='cursor:pointer;' title='英文版' onclick=\"javascript:location.href='http://227500.cnc-w186.chinadns.net/en_index.aspx';\">");
	document.writeln("                English             ");
	document.writeln("                </span>");
	document.writeln("                <img src=\"/img/jia.jpg\" />");
	document.writeln("                <span class=\"pronameeh\">");
	document.writeln("                Российская Федерация");
	document.writeln("                </span>");
	document.writeln("            </div>");
	document.writeln("        </div>");
	document.writeln("    	");
	document.writeln("    </div>");
	document.writeln("    ");
	document.writeln("    <div class=\"inav\">");
	document.writeln("    	<div class=\"inavdetail\">");
	document.writeln("        	<div class=\"ilogo\">");
	document.writeln("            	<img src=\"/img/logo.jpg\"  />");
	document.writeln("            </div>");
	document.writeln("            ");
	document.writeln("            <div class=\"inavright\"> ");
	document.writeln("                ");
	document.writeln("            	<div class=\"lralign\">");
	document.writeln("                     <span class=\"isan\"> <img src=\"/img/san.jpg\"  /></span>                ");
	document.writeln("                     <span class=\"lrfont\">");
	document.writeln("                     <a href=\"/login.php\">会员登录</a>");
	document.writeln("                     </span>");
	document.writeln("                     <span class=\"isan\"> <img src=\"/img/san.jpg\"  /></span>");
	document.writeln("                     ");
	document.writeln("                     <span  class=\"lrfont\">");
	document.writeln("                     <a href=\"/register.php\">会员注册</a>");
	document.writeln("                     </span>");
	document.writeln("                </div>");
	document.writeln("                 <div class=\"space10\"> </div>");
	document.writeln("                <div class=\"navh\"> ");
	document.writeln("                	<span class=\"navfont\"><a href=\"/\">首页</a></span>");
	document.writeln("                    <span class=\"hspace20\"></span>");
	document.writeln("                    <span class=\"navfont\"><a href=\"/page_1264576886.html\">公司介绍</a></span>");
	document.writeln("                     <span class=\"hspace20\"></span>");
	document.writeln("					<span class=\"navfont\"><a href=\"/page_1264831337.html\">博深产品</a></span>");
	document.writeln("                     <span class=\"hspace20\"></span>");
	document.writeln("					<span class=\"navfont\"><a href=\"/page_1264579078.html\">市场服务</a></span>");
	document.writeln("                     <span class=\"hspace20\"></span>");
	document.writeln("					<span class=\"navfont\"><a href=\"/page_1264580094.html\">投资者关系</a></span>");
	document.writeln("                     <span class=\"hspace20\"></span>");
	document.writeln("					<span class=\"navfont\"><a href=\"/page_1264573247.html\">联系我们</a></span>    ");
	document.writeln("                </div>");
	document.writeln("            </div>");
	document.writeln("        </div>");
	document.writeln("    </div>");
	document.writeln("</div>");
	document.writeln("<!-- 头部 end-->");
}

function webfooter(){

	document.writeln("<!-- 底部start -->");
	document.writeln("<div class='clearDiv'>&nbsp;</div> ");
	document.writeln("<div id=\"bottom\" class=\"ibottom\"> ");
	document.writeln("");
	document.writeln("	<div class=\"ibinfo\">");
	document.writeln("        <div class=\"icopyright\">");
	document.writeln("        	Copyright 2009 <span class=\"ibosun\"> BOSUN </span>Motor. All rights reserved        </div>");
	document.writeln("");
	document.writeln("        ");
	document.writeln("        ");
	document.writeln("        	<ul class=\"iblink\">");
	document.writeln("            	<li class=\"ibword\">");
	document.writeln("                <a href=\"/page_1264585181.html\"  class=\"ifooter\">");
	document.writeln("                	人才招聘");
	document.writeln("                </a>  ");
	document.writeln("                </li>");
	document.writeln("                ");
	document.writeln("                <li class=\"ibspe\">");
	document.writeln("                	<img src=\"/img/ibwordspe.jpg\" />");
	document.writeln("                </li>");
	document.writeln("                <li class=\"ibword\">");
	document.writeln("                <a href=\"/page_1264583147.html\" class=\"ifooter\">");
	document.writeln("                	友情链接");
	document.writeln("                </a>  ");
	document.writeln("                </li>");
	document.writeln("                	");
	document.writeln("                <li class=\"ibspe\">");
	document.writeln("                	<img src=\"/img/ibwordspe.jpg\" />");
	document.writeln("                </li>");
	document.writeln("                ");
	document.writeln("                <li class=\"ibword\">");
	document.writeln("                <a href=\"/page_1264582755.html\" class=\"ifooter\">");
	document.writeln("                	法律声明");
	document.writeln("                </a>  ");
	document.writeln("                </li class=\"ibword\">");
	document.writeln("                ");
	document.writeln("                 <li class=\"ibspe\">");
	document.writeln("                	<img src=\"/img/ibwordspe.jpg\" />");
	document.writeln("                </li>");
	document.writeln("                ");
	document.writeln("                <li class=\"ibword\">");
	document.writeln("                <a href=\"/page_1264583045.html\" class=\"ifooter\">");
	document.writeln("                	网站地图");
	document.writeln("                </a>");
	document.writeln("                </li>");
	document.writeln("            </ul>");
	document.writeln("	</div>    ");
	document.writeln("    ");
	document.writeln("</div>");
	document.writeln("<!-- 底部end -->");



}



function checkSearch(){
	var key=document.getElementById("searchKey").value;
	if(key == ""){
 		document.getElementById("searchKey").focus();
		return false;
	}
}

/**
*	@ Search Form conts
*/
function searchForm(){
	var conts="<div class=\"searchbg\">";
		conts +="<form name=\"seachForms\" method=\"get\" action=\"seach.php\" onsubmit=\"return checkSearch()\">";
    	conts +="<input type=\"text\" name='searchKey' id='searchKey' maxlength=\"25\" class=\"searchtxt\" />";
    	conts +="<input type=\"submit\" class=\"searchBtn\" value=\" \" />";
      	conts +="</form>";
    	conts +="</div>";
    document.writeln(conts);
}

/**
*	@ FAQ
*/
function viewHide(obj){
	var classname=obj.className;
	switch(classname){
		case "defaultFaq": obj.className='currFaq';$(obj).next().slideToggle("normal");break;
		case "currFaq":obj.className='defaultFaq';$(obj).next().slideToggle("normal");break;
		default:
			return false;
		break;
	}
}


function Do_Ajax_Load(cid,target,act){
	$("#"+target).html("<img src='/images/AjaxLoader.gif' align='middle' alt='' /> 加载中...");
	$.post(
		"manager/darft.php",
		{
			act: act,
			cid:cid
		},function (msg){
			$("#"+target).html(msg);
		}
	);
}


function _check_empty(num,submitName){
	var all_element=document.forms[num].elements;
	for(var j=0;j<all_element.length;j++){
		if(all_element[j].type=="text" || all_element[j].type=="password"){
			 if(all_element[j].value==""){
				all_element[j].focus();
				return false;
			}
		}
	}
}

function showImg(obj){
	obj.src="/img/prdefaultpro.jpg";
}
function showImgs(obj){
	obj.src="/img/defaultimg.jpg";
}