var cur_index=1 //默认当前?
var num=4 //该值记录标签的个数

//由id取得html对象
function GetObj(objName){
if(document.getElementById){
  return eval('document.getElementById("' + objName + '")');
}else if(document.layers){
  return eval("document.layers['" + objName +"']");
}else{
  return eval('document.all.' + objName);
}
}
function change_Menu(index){
for(var i=1;i<=num;i++){/* 最多支?个标?*/
  if(GetObj("con"+i)&&GetObj("m"+i)){
   GetObj("con"+i).style.display = 'none';
   GetObj("m"+i).className = "s_banner_y";
  }
}
if(GetObj("con"+index)&&GetObj("m"+index)){
  GetObj("con"+index).style.display = 'block';
  GetObj("m"+index).className = "s_banner_w";
}
cur_index=index
if(cur_index<num){
    cur_index++
   }
else{
     cur_index=1
   }
//settime=setTimeout("change_Menu(cur_index)",2000)//设置延迟时间，目前不需?
}
function Menu(c_index){
 // clearTimeout(settime)
  change_Menu(c_index)
}  
change_Menu(1);
   