function right(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
alert("YAVANI Jewels");
return false;
}
return true;
}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;


function SubFrm(mCat)  {
   document.myfrm.method="post";
   switch(mCat) 
		{
			case 'aboutus':
			  document.myfrm.action="slinks/aboutus.asp";
				document.myfrm.submit();
         		break;	
			case 'privacy':
			  document.myfrm.action="slinks/privacy.asp";
				document.myfrm.submit();
         		break;
			case 'terms':
			  document.myfrm.action="slinks/tou.asp";
				document.myfrm.submit();
         		break;
			case 'affiliate':
			  document.myfrm.action="slinks/affiliate.asp";
				document.myfrm.submit();
         		break;
			case 'contactus':
			  document.myfrm.action="slinks/contactus.asp";
				document.myfrm.submit();
         		break;
			case 'help':
			  document.myfrm.action="slinks/help.asp";
				document.myfrm.submit();
         		break;	
			case 'shoppingcart':
			  document.myfrm.action="saccount/shoppingcart.asp";
				document.myfrm.submit();
         		break;
			case 'myaccount':
			  document.myfrm.action="saccount/myaccount.asp";
				document.myfrm.submit();
         		break;
			case 'C01':
			 document.myfrm.maincatid.value = "C01"		
			  document.myfrm.action="sproducts/prodlist.asp";
			  document.myfrm.submit();
         	  break;
			case 'C02':
			 document.myfrm.maincatid.value = "C02"		
			  document.myfrm.action="sproducts/prodlist.asp";
			  document.myfrm.submit();
         	  break;  
			case 'C03':
			 document.myfrm.maincatid.value = "C03"		
			  document.myfrm.action="sproducts/prodlist.asp";
			  document.myfrm.submit();
         	  break;
			case 'C04':
			 document.myfrm.maincatid.value = "C04"		
			  document.myfrm.action="sproducts/prodlist.asp";
			  document.myfrm.submit();
         	  break;
			case 'C05':
			 document.myfrm.maincatid.value = "C05"		
			  document.myfrm.action="sproducts/prodlist.asp";
			  document.myfrm.submit();
         	  break;
			case 'C06':
			 document.myfrm.maincatid.value = "C06"		
			  document.myfrm.action="sproducts/prodlist.asp";
			  document.myfrm.submit();
         	  break;
			case 'wedding':
			 document.myfrm.section.value = "sec_wedding"		
			  document.myfrm.action="sproducts/featuring.asp";
			  document.myfrm.submit();
         	  break;
			case 'birth':
			 document.myfrm.section.value = "birth"		
			  document.myfrm.action="sproducts/birthstones.asp";
			  document.myfrm.submit();
         	  break;
			case 'top10':
			 document.myfrm.section.value = "sec_Top10"		
			  document.myfrm.action="sproducts/featuring.asp";
			  document.myfrm.submit();
         	  break;
			case 'whatsnew':
			  document.myfrm.action="slinks/whatsnew.asp";
			  document.myfrm.submit();
         	  break;
			case 'family':
			 document.myfrm.section.value = "sec_FamilyJewelry"		
			  document.myfrm.action="sproducts/featuring.asp";
			  document.myfrm.submit();
         	  break;
			case 'jewelcatalog':
			  document.myfrm.action="slinks/jewelcatalog.asp";
			  document.myfrm.submit();
         	  break;
		}		
   
   }
   
function HrefSub(mCat)
	{
		SubFrm(mCat);
	}