
function openPopup( url , name , xs, ys ){
	    window.open(url ,name,'location=no, directories=no,resizable=no, status=no, toolbar=no, menubar=no, width='+xs+' , height='+ys+', scrollbars=no')
} 

function openWIN( url , name , xs, ys ){
	window.open(url ,name,'location=no, directories=no,resizable=yes, status=no, toolbar=no, menubar=no, width='+xs+' , height='+ys+', scrollbars=yes'); 
}

function AreYouOK(ms)
 {
  return confirm(ms)
 }

function InsteadPic_Menu(Pid,Purl)
{
	Pid.src=Purl;
}

function Turnit(ss)
{
 if (ss.style.display=="none") 
  {ss.style.display="";
//   bb.src="images/companyLeftMenuPlusoff.gif";
  }
 else
  {ss.style.display="none"; 
//   bb.src="images/companyLeftMenuPlus.gif";
  }
}

function ShowDiv(divName)
{
	document.all(divName).style.display='';
}
function HideDiv(divName)
{
	document.all(divName).style.display='none';
}


function Show_Search()
{
document.writeln("<table width=\"87%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"5\">");
document.writeln("            <tr>");
document.writeln("              <td></td>");
document.writeln("            </tr>");
document.writeln("            <FORM METHOD=get ACTION='javascript:;'>");
document.writeln("            <tr>");
document.writeln("              <td><input name=\"keyword\" type=\"text\" size=\"18\"></td>");
document.writeln("            </tr>");
document.writeln("            <tr>");
document.writeln("              <td><select name=\"tbID\">");
document.writeln("                              <option value=\"0\">整个网站</option>");
document.writeln("				<option value=\"1\">新闻中心</option>");
document.writeln("				<option value=\"2\">产品中心</option>");
document.writeln("				<option value=\"3\">方案中心</option>");
document.writeln("				<option value=\"4\">下载中心</option>");
document.writeln("				<option value=\"5\">诚聘英才</option>");
document.writeln("              </select>");
document.writeln("<input type=\"image\" border=\"0\" name=\"imageField\" src=\"images/button_go.gif\" align=\"middle\">");
//document.writeln("                <a href=\"javascript:;\"><img src=\"images/button_go.gif\" width=\"42\" height=\"21\" border=\"0\" align=\"absmiddle\"></a></td>");
document.writeln("            </tr>");
document.writeln("            </FORM>");
document.writeln("          </table>");

}