<!--
window.status='新华网 - 广东频道'
function todo(ls)
{  
window.open("http://stock.jrj.com.cn/htmdata/switch.asp?code="+ls,"jrjminhello","height=250,width=270,status=no,toolbar=no,menubar=no,location=no,resizable=no");  
return false;
}
var bOpen = "";

function OpenNewWindow(URL,wn,ps){window.open(URL,wn,ps);}

function WAction()

{

if (bOpen != "")

OpenNewWindow("http://www.xinhuanet.com/popup.htm","onw","width=500,height=300,status=no,toolbar=no,menubar=no,location=no,resizable=no");

}

function checkform()

{

if(document.login.LoginName.value=="")

{

alert("请输入用户名！");

document.login.LoginName.focus();

return false;

}

if(document.login.passwd.value=="")

{

alert("请输入密码！");

document.login.passwd.focus();

return false;

}

}

function searchalert()

{

validate=true;

if(document.formsearch.searchword.value=="")

{

validate=false;

alert('请输入关键字!');

}

else validate=true;

return validate;

}

function surfto1(form)

{

var myindex1=form.baoxi.selectedIndex;

if (myindex1!=0)

{

var newwindow=form.baoxi.options[myindex1].value;

var msgwindow=window.open(newwindow,"windows2");

}

}

var VoteWindow = null;

function ViewVote(URL)

{

VoteWindow= OpenNewWindow(URL,"VoteW","resizable,scrollbars,dependent,width=350,height=400");

}

function todo(ls)

{

OpenNewWindow("http://211.167.92.18/htmdata/switch.asp?code="+ls,"jrjminhello","height=250,width=270,status=no,toolbar=no,menubar=no,location=no,resizable=no");

return false;

}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}
//-->

//搜索开始

<!--
var Flag=true;
function Select() 
{
    for (var i=0;i<document.Outline.elements.length;i++)
    {
        var e = document.Outline.elements[i];
        if (e.name == 'RecID')
    	   e.checked=Flag;
    }
    Flag=!Flag;
}
function Browse()
{
	document.Outline.action="Detail.wct";
	document.Outline.submit();
}
function Download()
{
	document.Outline.action="Download.wct";
	document.Outline.submit();
} 

//SQL为整个串
function FieldSearchForm_onsubmit() {

if(document.FieldSearchForm.select.value!="news")

   {document.FieldSearchForm.action="http://202.84.17.73:7777/search.wct?ChannelID=4362";
    if(document.FieldSearchForm.select.value!="100")
	{
	if(document.FieldSearchForm.searchword.value!="")
	SQL= "(doc_title=" + document.FieldSearchForm.searchword.value+ " or content= "+  document.FieldSearchForm.searchword.value + ") AND site="+document.FieldSearchForm.select.value;
	}
	else
	{if(document.FieldSearchForm.searchword.value!="")
	SQL= "(doc_title=" + document.FieldSearchForm.searchword.value+ " or content= "+  document.FieldSearchForm.searchword.value + ") ";
	}
	}
else
	{
     document.FieldSearchForm.action="http://202.84.17.73:7777/search.wct?ChannelID=4255" ;
     if(document.FieldSearchForm.searchword.value!="")
		SQL= "(doc_title=" + document.FieldSearchForm.searchword.value+ " or content= "+  document.FieldSearchForm.searchword.value + ")";
	}	

	document.FieldSearchForm.SearchWord.value=SQL;
	if(SQL==""){
		alert("检索表达式不能为空!");
		return false;
	}
	
	return;
}


//-->