/** *

*信息栏的切换 *

*说明: 信息栏的切换 *@param: newInfo 信息栏名称 */ function newInfoChange(newInfo){ if (newInfo=="latestNews") { document.getElementById( "latestNews" ).style.display=''; document.getElementById( "tuijianNews" ).style.display='none'; document.getElementById( "hotNews" ).style.display='none'; document.getElementById( "latestNewsTitle" ).background="images/index04.gif"; document.getElementById( "tuijianNewsTitle" ).background="images/index05.gif"; document.getElementById( "hotNewsTitle" ).background="images/index05.gif"; } else if (newInfo=="tuijianNews"){ document.getElementById( "latestNews" ).style.display='none'; document.getElementById( "tuijianNews" ).style.display=''; document.getElementById( "hotNews" ).style.display='none'; document.getElementById( "latestNewsTitle" ).background="images/index05.gif"; document.getElementById( "tuijianNewsTitle" ).background="images/index04.gif"; document.getElementById( "hotNewsTitle" ).background="images/index05.gif"; } else if (newInfo=="hotNews"){ document.getElementById( "latestNews" ).style.display='none'; document.getElementById( "tuijianNews" ).style.display='none'; document.getElementById( "hotNews" ).style.display=''; document.getElementById( "latestNewsTitle" ).background="images/index05.gif"; document.getElementById( "tuijianNewsTitle" ).background="images/index05.gif"; document.getElementById( "hotNewsTitle" ).background="images/index04.gif"; } } /** *

*热门关键字 *

*说明: 热门关键字 *@param: hotkey 热门关键字 */ function hotkeySearch(hotkey){ document.getElementById( "keywords" ).value=hotkey; } /** *

*产品信息栏的切换 *

*说明: 产品信息栏的切换 *@param: proInfo 产品信息名称 */ function proInfoChange(proInfo){ if (proInfo=="productList1") { document.getElementById( "productList1" ).style.display=''; document.getElementById( "productList2" ).style.display='none'; document.getElementById( "productList3" ).style.display='none'; document.getElementById( "productList4" ).style.display='none'; document.getElementById( "productList1Img" ).background="images/index06.gif"; document.getElementById( "productList2Img" ).background="images/index07.gif"; document.getElementById( "productList3Img" ).background="images/index07.gif"; document.getElementById( "productList4Img" ).background="images/index07.gif"; } else if (proInfo=="productList2"){ document.getElementById( "productList1" ).style.display='none'; document.getElementById( "productList2" ).style.display=''; document.getElementById( "productList3" ).style.display='none'; document.getElementById( "productList4" ).style.display='none'; document.getElementById( "productList1Img" ).background="images/index07.gif"; document.getElementById( "productList2Img" ).background="images/index06.gif"; document.getElementById( "productList3Img" ).background="images/index07.gif"; document.getElementById( "productList4Img" ).background="images/index07.gif"; } else if (proInfo=="productList3"){ document.getElementById( "productList1" ).style.display='none'; document.getElementById( "productList2" ).style.display='none'; document.getElementById( "productList3" ).style.display=''; document.getElementById( "productList4" ).style.display='none'; document.getElementById( "productList1Img" ).background="images/index07.gif"; document.getElementById( "productList2Img" ).background="images/index07.gif"; document.getElementById( "productList3Img" ).background="images/index06.gif"; document.getElementById( "productList4Img" ).background="images/index07.gif"; } else if (proInfo=="productList4"){ document.getElementById( "productList1" ).style.display='none'; document.getElementById( "productList2" ).style.display='none'; document.getElementById( "productList3" ).style.display='none'; document.getElementById( "productList4" ).style.display=''; document.getElementById( "productList1Img" ).background="images/index07.gif"; document.getElementById( "productList2Img" ).background="images/index07.gif"; document.getElementById( "productList3Img" ).background="images/index07.gif"; document.getElementById( "productList4Img" ).background="images/index06.gif"; } } /** *

*招聘检索的切换 *

*说明: 招聘检索的切换 *@param: zpInfo 招聘检索 */ function zpInfoChange(zpInfo){ if (zpInfo=="zpList1") { document.getElementById( "zpList1" ).style.display=''; document.getElementById( "zpList2" ).style.display='none'; document.getElementById( "zpList1bj" ).style.backgroundColor="#ffffff"; document.getElementById( "zpList2bj" ).style.backgroundColor="#e8e8e8"; } else if (zpInfo=="zpList2"){ document.getElementById( "zpList1" ).style.display='none'; document.getElementById( "zpList2" ).style.display=''; document.getElementById( "zpList1bj" ).style.backgroundColor="#e8e8e8"; document.getElementById( "zpList2bj" ).style.backgroundColor="#ffffff"; } } /** *

*系统当前时间 *

*说明: 系统当前时间 */ function clockon(bgclock){ var now=new Date(); var year=now.getYear(); var month=now.getMonth(); var date=now.getDate(); var day=now.getDay(); var week; month=month+1; if(month<10) month="0"+month; if(date<10) date="0"+date; var arr_week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六"); week=arr_week[day]; var time=""; time=year+"-"+month+"-"+date+" "+week; if(document.all){ bgclock.innerHTML="  "+time } var timer=setTimeout("clockon(bgclock)",200); }