function $(id)
{
 return document.getElementById(id);
}


function ahtthbtnover(obj){
   
		obj.style.backgroundImage='url(../images/img/aht_rh_top_btn_img_no2.gif)';
		obj.style.width='199px';
		obj.style.height='37px';
		obj.firstChild.style.textDecoration='none';
		obj.firstChild.style.color='#FFFFFF';
		obj.style.fontWeight='bold';
    
}
function ahtthbtnout(obj){
	
		obj.style.backgroundImage='url(../images/img/aht_rh_top_btn_img_no1.gif)';
		obj.style.width='199px';
		obj.style.height='37px';
		obj.firstChild.style.textDecoration='none';
		obj.firstChild.style.color='#727272';
		obj.style.fontWeight='bold';
}

function showpromenuover(menuname,mid,mlength,classname){
           for(var i=1;i<=mlength;i++)
           {
                if(mid == i)
                {
                    $(menuname + "_title" + i).className = classname + 1;
                    $(menuname + "_content" + i).style.display = "block";
                }
                else 
                {
                    $(menuname + "_title" + i).className = classname + 2;
                    $(menuname + "_content" + i).style.display = "none";
                }
           }
}
function pronavigationover(menuname,mid,mlength,classname){
		for(var i = 1; i<=mlength; i++)
		{
		    if(i == mid)
		    {
		        $(menuname+"_title"+i).className = classname + 1;
		        $(menuname+"_content"+i).style.display = "block";
		    }
		    else
		    {
		        $(menuname+"_title"+i).className = classname + 2;
		        $(menuname+"_content"+i).style.display = "none";
		    }
		}
}


