function $(id,tag){if(!tag){return document.getElementById(id);}else if(typeof id=='string'){return document.getElementById(id).getElementsByTagName(tag);}else{return id.getElementsByTagName(tag);}}//$(id,tag):返回容器下某标签的集合,id可为obj,如TAG为空返回容器
fuke=window.fuke||{};
fuke.IE=function(){return navigator.userAgent.search('MSIE')>0;}//是否为IE浏览器



//显示隐藏(用className来实现)[第一个列的集合，要变化第几个，第二可列的集合（可选）]
fukechangshi=function(obj,now,obj1)
{
	if(obj1){for(var i=0;i<obj.length;i++){obj[i].className="";obj1[i].className="";}if(now!=-1){obj[now].className="show";obj1[now].className="show";}}
	else{for(var i=0;i<obj.length;i++){obj[i].className="";}if(now!=-1){obj[now].className="show";}}
}
