 function chkDispResolution()
 {

 if (screen.height>=1050)
 {
 document.getElementById('hdr').style.height = 115+"px";
 }
else if ((screen.width>=1920) && (screen.height>=1020))
 {

 document.getElementById('hdr').style.height = 120+"px";
 }
 
 else if ((screen.height>=1024))
 {

 document.getElementById('hdr').style.height = 85+"px";
 }
 else if ( (screen.height>=768))
 {
 document.getElementById('hdr').style.height = 80+"px";
 }
//alert(document.getElementById('hdr').style.height);
 
 }

 function dispdets(divdet)
 {
	 for (i=0;i<6 ;i++ )
	 {
		 if ('test'+i == divdet )
		 {
		    document.getElementById('test'+i).style.visibility="visible";
		 }
		 else
		 {
		 	 if (document.getElementById('test'+i).style.visibility=="visible")
			 {
			  document.getElementById('test'+i).style.visibility="hidden";
			 }
		 }
	 }
 }

  function dispsets(divdet)
 {
	 for (i=0;i<2 ;i++ )
	 {
		 if ('test'+i == divdet )
		 {
		    document.getElementById('test'+i).style.visibility="visible";
		 }
		 else
		 {
		 	 if (document.getElementById('test'+i).style.visibility=="visible")
			 {
			  document.getElementById('test'+i).style.visibility="hidden";
			 }
		 }
	 }
 }

function hidecontent(val)
{
	
for (i=0;i<val ;i++ )
{
// alert("in hidecontent");	
	 
if (document.getElementById('content'+i))
{
	
	//(document.getElementById('content'+i).className = "newclass");
	
	document.getElementById('content'+i).style.display="none";
	//alert(document.getElementById('content'+i).style.display);
}
//	alert(document.getElementById('content'+i).className);
	
	
}
}

function dispcontent()
{
	

	document.getElementById('content'+i).style.display="block";

}

function getpath(origpath)
{
	var path;
	//alert(origpath);
	if ((screen.height == 768 && screen.width ==1024 ) || (screen.height == 864 && screen.width == 1152) || (screen.height == 960 && screen.width ==  1280))
	{
		path=origpath;
	}
	else if ((screen.height == 720 && screen.width == 1280) || (screen.height == 768&& screen.width == 1360) || (screen.height == 900&& screen.width == 1600) || (screen.height ==768 && screen.width == 1366))
	{
	   path=origpath+"/1366x768/";
	}
	else if((screen.height ==800&& screen.width == 1280 ) || (screen.height == 900&& screen.width == 1440 ))
	{
		path=origpath+"/1440x900/";
	}
	else if(screen.height == 1024 && screen.width == 1280)
	{
		path=origpath;
	}
	else
	{
		path=origpath;
	}
	return path;
}

