function shownav(iNId) { 
  for(var i=1; i<=10; i++){
      if(i>=10){
		 var ts=document.getElementById("snav_"+i);
	  }
	  else{
		 var ts=document.getElementById("snav_0"+i);
	  }
	  ts.style.display = "none";	  
  }
  if(iNId>=10){
     var oLi = document.getElementById("snav_"+iNId); 
  }
  else{
     var oLi = document.getElementById("snav_0"+iNId);
  }  
  oLi.style.display = "block";
  
  document.getElementById("snav_01").style.padding = "0 0 0 " + (0) + "px";
  document.getElementById("snav_02").style.padding = "0 0 0 " + (109*1+30) + "px";
  document.getElementById("snav_03").style.padding = "0 0 0 " + (109*2+56) + "px";
  document.getElementById("snav_04").style.padding = "0 0 0 " + (109*3+46) + "px";
  document.getElementById("snav_05").style.padding = "0 0 0 " + (109*4) + "px";
  document.getElementById("snav_06").style.padding = "0 0 0 " + (109*4+16) + "px";
  
	
//  var oDiv = document.getElementById("snav");  
//  if(iNId>1){
//   	 //oDiv.style.padding = "0 0 0 " + (55*(iNId-1)-55*(iNId/2)) + "px";
//	 oDiv.style.padding = "0 0 0 " + (120*(iNId-1)) + "px";
//  }
//  else{
//     oDiv.style.padding = "0 0 0 " + (100*(iNId-1)+0) + "px";
//  }
  window.setTimeout(function(){oLi.style.display = "none";}, 20000);		
}