function hideSubCategory(tmp_int_catId)
{
/*
   Function Name	:	hideSubCategory
   Purpose		:	to hide sub category
   Input		:	tmp_int_catId
   Output 		:	hide sub category
*/ 
 

 document.getElementById(tmp_int_catId).style.display="none";

}

function showSubCategory(tmp_int_catId)
{
 /*
    Function Name	:	showSubCategory
    Purpose		:	to show sub category
    Input		:	tmp_int_catId
    Output 		:	display sub category
*/
//alert(tmp_int_catId);	

  temp= document.getElementById(tmp_int_catId).style.display;
 
  if(temp=="none")
  { 
  	document.getElementById(tmp_int_catId).style.display="";
  	
  }
  else
  {
  	document.getElementById(tmp_int_catId).style.display="none";
  }
  
}

