/*

*/

//页面提交搜索
function duSerarchSubmit()
{
	return true;
}

function DetailChangeFont(s)
{
	var Obj=document.getElementById("db_3_1");
	if (s==1) {
		Obj.style.fontSize="16px";
	} else if (s==2) {
		Obj.style.fontSize="14px";
	} else if (s==3) {
		Obj.style.fontSize="12px";
	}
}

function winClose()
{
	window.close();
}

//系统主函数

function MainClass()
{
	this.SiteTop=function()
	{
		var str='<a name="top" style="display:none;"></a><div id="top1">'+
			'<div id="top1_i">'+
			'	<div id="top1_r">'+
			//Ecms自带搜索

			'		<form name="formObj" method="post" action="/e/search/index.php" onsubmit="return duSerarchSubmit();">'+
			'			<input type="text" name="keyboard" value="" size="18" maxlength="200" needs="" class="top1_si">'+
			'			<select name="show" needs="">'+
			'				<option value="title" selected>标题</option>'+
			'				<option value="newstext">全文</option>'+
			'				<option value="writer">作者</option>'+
			'			</select>'+
			'			<input type="submit" value="搜索" id="submitElement" class="top1_sb">'+
			'		</form>'+





			'	</div>'+
			'</div>'+
		'</div>'+
		'<div id="top2"></div>';
		document.write(str);
	}

}

var Main=new MainClass();

//window.onload=function(){
//	alert("sdfasdf")
//}

//提交评论验证

function doSubmitPinLun(obj)
{
	if(obj.saytext.value=="")
	{
		alert("您没什么话要说吗？");
		obj.saytext.focus();
		return false;
	}
	return true;
}




/*

*/

//页面提交搜索
function duSerarchSubmit()
{
	return true;
}

function DetailChangeFont(s)
{
	var Obj=document.getElementById("db_3_1");
	if (s==1) {
		Obj.style.fontSize="16px";
	} else if (s==2) {
		Obj.style.fontSize="14px";
	} else if (s==3) {
		Obj.style.fontSize="12px";
	}
}

function winClose()
{
	window.close();
}

//系统主函数

function MainClass()
{
	this.SiteTop=function()
	{
		var str='<a name="top" style="display:none;"></a><div id="top1">'+
			'<div id="top1_i">'+
			'	<div id="top1_r">'+
			//Ecms自带搜索

			'		<form name="formObj" method="post" action="/e/search/index.php" onsubmit="return duSerarchSubmit();">'+
			'			<input type="text" name="keyboard" value="" size="18" maxlength="200" needs="" class="top1_si">'+
			'			<select name="show" needs="">'+
			'				<option value="title" selected>标题</option>'+
			'				<option value="newstext">全文</option>'+
			'				<option value="writer">作者</option>'+
			'			</select>'+
			'			<input type="submit" value="搜索" id="submitElement" class="top1_sb">'+
			'		</form>'+





			'	</div>'+
			'</div>'+
		'</div>'+
		'<div id="top2"></div>';
		document.write(str);
	}

}

var Main=new MainClass();

//window.onload=function(){
//	alert("sdfasdf")
//}

//提交评论验证

function doSubmitPinLun(obj)
{
	if(obj.saytext.value=="")
	{
		alert("您没什么话要说吗？");
		obj.saytext.focus();
		return false;
	}
	return true;
}




