function changeClass33(id1,id2){
var dividd='showdiv_'+id1;
var dividdd='showdiv_'+id2;
document.getElementById(dividd).className = "botton_menuCurrent";
document.getElementById(dividdd).className = "botton_menuSimple";
document.getElementById('showdivconetent_'+id1).className = "botton_underBAck";
document.getElementById('showdivconetent_'+id2).className = "botton_underBAck_h";

}
function changeClass(id1,id2){
var dividd='showdiv_'+id1;
//var dividd1='new1_'+n;
//var dividd2='new2_'+n;

if (navigator.appName == "Netscape"){
document.getElementById(dividd).setAttribute('class','botton_menuCurrent');
//document.getElementById(dividd1).setAttribute('class','Left_Cut');
//document.getElementById(dividd2).setAttribute('class','right_Cut');
}
if (navigator.appName == "Microsoft Internet Explorer")
  {
 if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
   var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
   if (ieversion>=8)
    document.getElementById(dividd).setAttribute('class','botton_menuCurrent');
	//document.getElementById(dividd1).setAttribute('class','Left_Cut');
     //document.getElementById(dividd2).setAttribute('class','right_Cut');
   else if (ieversion<=7)
   document.getElementById(dividd).setAttribute('className','botton_menuCurrent'); 
  // document.getElementById(dividd1).setAttribute('className','Left_Cut');
   //document.getElementById(dividd2).setAttribute('className','right_Cut');  
  }
  }
//document.getElementById(dividd).setAttribute("class","Middle_Cut");
//document.getElementById(testidd).setAttribute("className","Middle_Cut");
for(var i=1;i<=id2;i++) 
{
	var testidd='showdiv_'+i;
	//var testidd1='new1_'+i;
	//var testidd2='new2_'+i;
	//alert(testidd);
if(parseInt(id1)!=parseInt(i))
{
//alert(n);
//alert(l);
//document.getElementById(testidd).setAttribute("class","Middle_Simple");
//document.getElementById(testidd).setAttribute("className","Middle_Simple");

if (navigator.appName == "Netscape"){
document.getElementById(testidd).setAttribute('class','botton_menuSimple');
//document.getElementById(testidd1).setAttribute('class','Left_Simple');
//document.getElementById(testidd2).setAttribute('class','right_Simple');
}
if (navigator.appName == "Microsoft Internet Explorer")
  {
 if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
   var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
   if (ieversion>=8)
    document.getElementById(testidd).setAttribute('class','botton_menuSimple');
	//document.getElementById(testidd1).setAttribute('class','Left_Simple');
   //document.getElementById(testidd2).setAttribute('class','right_Simple');
   else if (ieversion<=7)
    document.getElementById(testidd).setAttribute('className','botton_menuSimple'); 
	//document.getElementById(testidd1).setAttribute('className','Left_Simple'); 
	//document.getElementById(testidd2).setAttribute('className','right_Simple');   
  }
  }

}
}
}



function fun_showdivcontent(catid,id)
{
xmlHttp=GetXmlHttpObject();
if(xmlHttp==null)
{
	alert("Your browser does not support AJAX!");
	return;
}
//alert(catid);
var url="../../tcyinfo/backdiv.php";
url=url+"?id="+id+"&cat="+catid;
xmlHttp.onreadystatechange=stateChangedshow;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
}
function stateChangedshow()
{
if(xmlHttp.readyState==4)
{
	document.getElementById('showdivconetent').innerHTML=xmlHttp.responseText;
}
}
function GetXmlHttpObject()
{
var xmlHttp=null;try
{
xmlHttp=new XMLHttpRequest();}
catch(e)
{try
{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");}}
return xmlHttp;
}
///////////
