
strCurrLoc=document.location + "";

strloc1="http://www.phonyponies.com/"
strloc2="http://www.phonyponies.com"
strloc3="http://www.phonyponies.com/index.htm"
strloc4="index.htm"
strloc5="/index.htm"
strloc6="http://themaneclip.com/index.htm"
strloc7="http://www.themaneclip.com"
strloc8="http://www.themaneclip.com/"
strloc9="http://themaneclip.com/"
strloc10="http://themaneclip.com"
strloc11="http://phonyponies.com/"
strloc12="http://phonyponies.com"



if (strCurrLoc ==strloc1 || strCurrLoc ==strloc2 || strCurrLoc ==strloc3 || strCurrLoc ==strloc4 || strCurrLoc ==strloc5|| strCurrLoc ==strloc6 || strCurrLoc ==strloc7 || strCurrLoc ==strloc8  || strCurrLoc ==strloc9 || strCurrLoc ==strloc10  || strCurrLoc ==strloc11 || strCurrLoc ==strloc12)
   document.location = "http://themaneclip.com/catalog/" 




function JumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function LocateObj(n, d) { //v3.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=LocateObj(n,d.layers[i].document); return x;
}

function MenuGo(selName,targ,restore){ //v3.0
  var selObj = LocateObj(selName); if (selObj) JumpMenu(targ,selObj,restore);
}


function OrderGo(pony){ //v3.0
 if (pony == "yakky")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Yakky+Straight+PhonyPonies&exact_match=exact"
else if(pony == "wetwavy")
  gotoURL ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Wet+%26+Wavy+PhonyPonies&exact_match=exact"
 else if(pony == "jerry" )
  gotoURL ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Jerry+Curl+PhonyPonies&exact_match=exact"
else if (pony =="spiral" )
 gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Spiral+Curl+PhonyPonies&exact_match=exact"
else if (pony == "afro")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Afro+Curl+PhonyPonies&exact_match=exact"
 else if (pony =="deep")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Deep+Wave+PhonyPonies&exact_match=exact" 
 else if (pony == "afrocw")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Weaving:+Afro+Curls&exact_match=exact" 
else if (pony == "deepww")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Weaving:+Deep+Wave&exact_match=exact"
else if (pony == "jerrycw")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Weaving:+Jerry+Curl&exact_match=exact"
 else if (pony =="pyakkysw")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Weaving:+Premium+Yakky+Straight&exact_match=exact" 
else if (pony == "spiralcw")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Weaving:+Spiral+Curl&exact_match=exact"
else if (pony == "wetwavyw")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Weaving:+Wet+%26+Wavy&exact_match=exact"
else if (pony == "yakkysw")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Weaving:+Yakky+Straight&exact_match=exact"
   else if (pony == "afrocb")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Braiding:+Afro+Curls&exact_match=exact" 
else if (pony == "deepwb")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Braiding:+Deep+Wave&exact_match=exact"
else if (pony == "jerrycb")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Braiding:+Jerry+Curl&exact_match=exact"
 else if (pony =="pyakkysb")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Braiding:+Premium+Yakky+Straight&exact_match=exact" 
else if (pony == "spiralcb")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Braiding:+Spiral+Curl&exact_match=exact"
else if (pony == "wetwavyb")
  gotoURL  ="http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Braiding:+Wet+%26+Wavy&exact_match=exact"
else if (pony == "yakkysb")
  gotoURL = "http://www.king-cart.com/cgi-bin/cart.cgi?store=phonyp&product=Extensions+for+Braiding:+Yakky+Straight&exact_match=exact"
  else
   gotoURL = "http://www.phonyponies.com"

   
   //window.open(gotoURL,"Cart","scrollbars, menubar,resizable,,width=500,height=350");
   window.location.href = gotoURL
} 

function OpenWin(winname){ 
if ( winname == "gift")
	window.open("gift.htm","gift","scrollbars=no, menubar=no,resizable,,width=250,height=250, left=0,top=0, alwaysRaised=true");
}

