		
	   //this function for main page
		function i2(name,catid) 
		{

			url=name+'?catID='+catid+'&sid='+document.aspnetForm.hdSite.value+'&zn='+document.aspnetForm.hdZone.value;
		
			window.location=url;
			return;
		}   
  
  
  
        // used by full cat list page (user control), the calling page need 2 hidden button to save siteID, zoneID
		function i(name,catid) 
		{
			url=name+'?catID='+catid+'&sid='+document.aspnetForm.hdSite.value+'&zn='+document.aspnetForm.hdZone.value+'&zonesubID='+
			document.aspnetForm.ddl1.options[document.aspnetForm.ddl1.selectedIndex].value;
			window.location=url;
			return;
		}  

        
		    

		function i0(name,catid,sid,zn) 
		{
			url=name+'?catID='+catid+'&sid='+sid+'&zn='+zn+'&zonesubID=0';
			window.location=url;
			return;				
		}
		
		function navowner(url)
		{
			var h=screen.availHeight-240;
			var w=screen.availWidth-30;
			str="menubar=yes,toolbar=yes,location=yes, width="+w+",height="+h+", top=0, left=0, scrollbars=yes, resizable=yes, status=yes";
			winowner=window.open(url,"owner",str);
			winowner.focus();
		}			


		function navhelp(url)
		{
			winhelp=window.open(url,"help","menubar=no,toolbar=yes, scrollbars=yes,status=no,resizable=yes");
			winhelp.focus();
		}
		
		 


