document.write('<link rel=stylesheet type=text/css href=../../css/style1.css>');
document.write('</head><body class=TBBGbody bgColor=#f7f7f7 leftMargin=0 topMargin=0 marginheight=0 marginwidth=0>');


 var addnumx=0;
 function addnum()
 {
        addnumx=addnumx+1;
        return addnumx;
 }

function openScript(url, width, height){
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
}

function out(menu)
{
if(window.event.toElement.id!=menu        &&       window.event.toElement.id!="link")
  menu.style.visibility="hidden";
}
//-->

function changeto(highlightcolor){
source=event.srcElement
if (source.tagName=="TR"||source.tagName=="TABLE")
return
while(source.tagName!="TD")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor="#09b7ff"
}

function changeback(originalcolor){
if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source)
source.style.backgroundColor="#effaff"
}

    var ValidationPassed = true;
	function ctlkey()
	{
		if(event.ctrlKey && window.event.keyCode==13){if(ValidationPassed)document.refile.submit();}
		if(event.altKey && (window.event.keyCode==83 || window.event.keyCode==115)){if(ValidationPassed)document.refile.submit();}
	}
	function changemode(mode)
	{
		if(ValidationPassed == true)
		{

			document.refile.submit();
		}
	}
	var ie = (document.all)? true:false
	if (ie)
	{
		window.document.onkeydown=ctlkey;
	}



//帖子头部内容的显示,就在这里了,注意这里是js文件,你的内容需要用输出语句包含
//如果你只是想换掉图片,那么同样是top1.jpg,top2.jpg,top3.jpg 显示格式和论坛头部是一样的
  document.write('<table width=760 align=center border=0 cellspacing=0 cellpadding=0>');
  document.write('<tr><td width=760 height="140" background="../images/top1.gif">&nbsp; </td>');
  
//到这里就结束了

document.write('<center><table width=743 border=0><tr><td></td><td align=right>');
document.write('<table border=0 cellspacing=0 cellpadding=0><form name=sform id=sform action=../Search.asp method=post>');
document.write('<tr><td>&nbsp;<font class=NavColor>关键字:</font></td>');
document.write('<td><input class=fminpt name=key></td>');
document.write('<td>&nbsp;<select class=fminpt name=mode>');
document.write('<option value=1>帖子标题</option><option value=3>帖子作者</option>');
document.write('</select></td>');
document.write('<td>&nbsp;<input type=image src=../../images/sch.gif border=0 align=absmiddle><img src=../images/null.gif width=5 height=2>&nbsp;<a href=# onclick=location.reload()>刷新</a></td>');
document.write('</tr></form></table>');
document.write('</td></tr></table></center>');