function kjtFlash(id,focus_width,swf_height,pics,texts,text_height)
{
	document.getElementById(id).innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"	codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" 	width="'+ focus_width +'" height="'+ swf_height +'"><param name="allowScriptAccess" value="sameDomain"><param name="movie" value="focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#fffff"><param name="menu" value="false"><param name=wmode value="transparent"><param name="FlashVars" 	value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'"><embed src="focus.swf" wmode="opaque" FlashVars="texts='+texts+'&pics='+pics+'&links='+links+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain"	type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
}
function search()
{
	var selectValue=document.all.selectValue.value;
	var keyValue=document.all.keyValue.value;
	if(keyValue=="")
	{
		alert("请填写搜索内容!");
		document.all.keyValue.focus();
	}
	else
	{ 
		window.open("query.eiip?selectType="+selectValue+"&keyValue="+keyValue);
	}
}
function winopen(id)
{
        window.open("http://v.hnsti.cn/video.jsp?vodid=" + id);
}
function showdiv(id) {
  document.getElementById(id).style.display='block';
  if(id=="hn1")
  {
	 document.title="全国科技信息服务网河南节点";
  }
  else
  {
	document.title="河南省科技信息网";
  }
 
  
}
function hidediv(id) {
  document.getElementById(id).style.display='none';
}
function chswf(){
	var navUrl=document.URL;
if(navUrl.indexOf("http://henan.stis.cn/")!=-1)
    {showdiv("hn1");hidediv("hn2");}
else
	{
		showdiv("hn2");hidediv("hn1");
	}
}

