  function top_menu(a) { 
	if(a=='basket') { window.location="./upia.php?f=shop&m=cart";  }
	if(a=='search_1') { window.location="./upia.php?f=shop&m=orderfind";  }
	if(a=='search_2') { window.location="./upia.php?f=shop&m=orderfind";  }	
	if(a=='logo') { window.location="./main.php";  }

	 if(a=='1') { window.location="./upia.php?f=shop&m=goods_list1&cid=145";  }
	 if(a=='1_1') { window.location="./upia.php?f=shop&m=goods_list1&cid=146";  }
	  if(a=='1_2') { window.location="./upia.php?f=shop&m=goods_list1&cid=147";  }
	   if(a=='1_3') { window.location="";  }
	    if(a=='1_4') { window.location="";  }
		 if(a=='1_5') { window.location="";  }
		  if(a=='1_6') { window.location="";  }
		   if(a=='1_7') { window.location="";  }
    
	 
	 if(a=='2') { window.location="http://insamlog.in/";  }
	 if(a=='2_1') { window.location="";  }
	  if(a=='2_2') { window.location="";  } 
	   if(a=='2_3') { window.location="";  }
	    if(a=='2_4') { window.location="";  }
		 if(a=='2_5') { window.location="";  }
		  if(a=='2_6') { window.location="";  } 
		   if(a=='2_7') { window.location="";  }
		    if(a=='2_8') { window.location="";  }
			   

	 if(a=='3') { window.location="./newboard.php?table_code=insam_notice&group_id=insam";  }	
	 if(a=='3_1') { window.location="";  }
	  if(a=='3_2') { window.location="";  }
	   if(a=='3_3') { window.location="";  }
	    if(a=='3_3') { window.location="";  }
	    if(a=='3_4') { window.location="";  }
		 if(a=='3_5') { window.location="";  }
		  if(a=='3_6') { window.location="";  }
		   if(a=='3_7') { window.location="";  }
		    if(a=='3_8') { window.location="";  }


     if(a=='4') { window.location="./subpage.php?f=user&m=p4_1";  }		
	 if(a=='4_1') { window.location="./subpage.php?f=user&m=p4_1";  }
	  if(a=='4_2') { window.location="./subpage.php?f=user&m=p4_2";  }
	   if(a=='4_3') { window.location="./subpage.php?f=user&m=p4_3";  }
        if(a=='4_4') { window.location="./subpage.php?f=user&m=p4_4";  }
		 if(a=='4_5') { window.location="./subpage.php?f=user&m=p4_5";  }
		  if(a=='4_6') { window.location="./subpage.php?f=user&m=p4_6";  }
		   if(a=='4_7') { window.location="./subpage.php?f=user&m=p4_7";  }
		    if(a=='4_8') { window.location="./subpage.php?f=user&m=p4_8";  }

	 if(a=='5') { window.location="./subpage.php?f=user&m=p5_1";  }
	 if(a=='5_1') { window.location="./subpage.php?f=user&m=p5_1";  }
	  if(a=='5_2') { window.location="./subpage.php?f=user&m=p5_2";  }
	   if(a=='5_3') { window.location="./subpage.php?f=user&m=p5_3";  }
	    if(a=='5_4') { window.location="./subpage.php?f=user&m=p5_4";  }
		 if(a=='5_5') { window.location="";  }
		  if(a=='5_6') { window.location="";  }
		   if(a=='5_7') { window.location="";  }
		    if(a=='5_8') { window.location="";  }
	 
	 if(a=='6') { window.location="";  }
	  if(a=='6_1') { window.location="";  }
	   if(a=='6_2') { window.location="";  }
	    if(a=='6_3') { window.location="";  }
		 if(a=='6_4') { window.location="";  }
		  if(a=='6_5') { window.location="";  }
		   if(a=='6_6') { window.location="";  }
		    if(a=='6_7') { window.location="";  }
			 if(a=='6_8') { window.location="";  }

	 if(a=='7') { window.location="";  }
	  if(a=='7_1') { window.location="";  }
	   if(a=='7_2') { window.location="";  }
	    if(a=='7_3') { window.location="";  }
		 if(a=='7_4') { window.location="";  }
		  if(a=='7_5') { window.location="";  }
		   if(a=='7_6') { window.location="";  }
		    if(a=='7_7') { window.location="";  }
			 if(a=='7_8') { window.location="";  }



  }



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


