
function showDiv(obj,num,len)
{
for(var id=1;id<=len;id++)
{
var setBlock=obj+id;
if(id==num){
	try{document.getElementById(setBlock).style.display="block"}catch(e){};
}else{
	try{document.getElementById(setBlock).style.display="none"}catch(e){};
}
}
for(var id=1;id<=len;id++)
{
var setID=obj+"menu"+id;
if(id==num){
	try{document.getElementById(setID).className="active"}catch(e){};
}else{
	try{document.getElementById(setID).className=""}catch(e){};
}
}
}
function setDiv(obj,num,len)
{
for(var id=1;id<=len;id++)
{
var setobj=obj+id;
if(id==num){
	try{document.getElementById(setobj).style.display="block"}catch(e){};
}else{
	try{document.getElementById(setobj).style.display="none"}catch(e){};
}
}
}

