﻿function showDiv(obj, sName, nNumeric, cClass)
{
	if(obj)
	{
		var id = obj.id;
		var objectNamePre = id.split('_')[0];
		var no = id.split('_')[1];
		
		for(var i=1; i<= nNumeric ; i++)
		{
			if(i == no)
			{
				document.getElementById(objectNamePre + '_' + i).className = cClass;
				document.getElementById(sName + '_' + i).style.display = "block";
			}
			else
			{
				document.getElementById(objectNamePre + '_' + i).className = "";
				document.getElementById(sName + '_' + i).style.display = "none";

			}
			
		}
	}
}
function overFun(obj)
{
    var path = jQuery("#HidPathChange").val();
    var id=obj.id;
    jQuery("#"+id+" a").css("color","White");
    jQuery("#"+id+" a").css("text-decoration","none");
    obj.style.backgroundImage="url("+path+"img/bg_nav2.gif"+")";
}
function outFun(obj)
{
    var id=obj.id;
    jQuery("#"+id+" a").css("color","Black");
    jQuery("#"+id+" a").css("text-decoration","none");
    obj.style.backgroundImage="url()";
}
