
//最新行业招聘效果

var tab_change_timer;
//设置变量记录滚动位置
var temp_position=1;

//页面自启动开始间隔
window.onload = function()
{
    set_timertag();
}
//控制标签游走
function autotag(a){
// for(k = 1; k <= 4; k++)
// {
// if(document.getElementById("tag"+k).background == "/Images/0995.gif")
//   { 
     for(x = 1; x <= 13; x++)
     {
      document.getElementById("tag"+x).background ="";
      document.getElementById("scon"+x).style.display = "none" ;
     }
       j=(temp_position%13)+1;    
       document.getElementById("tag"+j).background = "/Images/0995.gif";
       document.getElementById("scon"+j).style.display = "block" ;
       temp_position=j;
//       break;
//     }
//   }
 } 
 
//启动10秒间隔滑动
function set_timertag(){
 tab_change_timer = window.setInterval('autotag()',10000);
}
//清除10秒间隔滑动
function clear_timertag(){
 if(tab_change_timer){
 window.clearInterval(tab_change_timer);
 }
}
//鼠标放某个标签上发生的动作
function stag(a)
{
 clear_timertag();
 temp_position=a;
 for(k = 1; k <= 13; k++)
 {
 document.getElementById("tag"+k).background = "";
 document.getElementById("scon"+k).style.display = "none" ;
 }
 document.getElementById("tag"+a).background = "/Images/0995.gif";
 document.getElementById("scon"+a).style.display = "block" ;
}

function opwindows(){
window.open ('/notice.html', '', 'height=300, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no,status=no') 
}