    function OpenWinRec(url) {
        window.open(url,'win','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=true,width=350,height=220');
        }
    function OpenWin(url) {
        window.open(url,'win','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=400,height=400');
        }
    function change2(form,item,inum) {
         shake = form.shake[form.shake.selectedIndex].value;
         shakes = shake.split("|");
         inum = inum + shakes[1];
         shake = shakes[0];
//         inum = inum + shake;
         for (x=0; x<form.price.length; x++) {
              if (form.price[x].checked) {
                   price = form.price[x].value;
                   }
              }
         if (form.price[1].checked) {
              as = ' Autoship';
              inum = inum + 'a';
              }
         else as = '';
         eval('form.Product.value="'+ inum + ';' + item + ' ' + shake + ' ' + as + ';' + price +'"');
         }





var loc
var newwind
function go(loc,newwind){
 if(newwind != "new"){
  self.location="http://www."+loc
 }else{
  loc="http://www."+loc 
 
window.open(loc,"","width=760,height=500,toolbar,status,resizable,scrollbars,location")
 }
}

























function makeArray() {
      for (i = 0; i<makeArray.arguments.length; i++)
           this[i + 1] = makeArray.arguments[i];
      }

 function DayOfWeek(day,month,year) {
     var a = Math.floor((14 - month)/12);
     var y = year - a;
     var m = month + 12*a - 2;
     var d = (day + y + Math.floor(y/4) - Math.floor(y/100) +
              Math.floor(y/400) + Math.floor((31*m)/12)) % 7;
     var daysofweek = new makeArray('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
     return daysofweek[d+1];
     }


function scrollit(seed) {
var m1  = "If you are looking to buy best diet pills, you have come to the right place for the BEST hard to find weight loss supplements!                                                                                                 ";
var m2  = "..... Buy Online or Call 1-800-777-4914                                                                             ";
var m3  = "..... Be sure to add this site to your list of favorites!                                                                              ";
var m4  = "..... Thank You for shopping with us at WeightLossGuide.com!                                                                             ";
var msg=m1+m2+m3+m4;
var out = " ";
var c   = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
      }
   }
}






















function makeArray() {
      for (i = 0; i<makeArray.arguments.length; i++)
           this[i + 1] = makeArray.arguments[i];
      }

 function DayOfWeek(day,month,year) {
     var a = Math.floor((14 - month)/12);
     var y = year - a;
     var m = month + 12*a - 2;
     var d = (day + y + Math.floor(y/4) - Math.floor(y/100) +
              Math.floor(y/400) + Math.floor((31*m)/12)) % 7;
     var daysofweek = new makeArray('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
     return daysofweek[d+1];
     }


function scrollit(seed) {
var m1  = "Looking to buy the best pure hoodia gordonii diet pills? You've come to the right place. Guaranteed BEST 100% pure hoodia gordoni natural appetite suppressants!                                                                                                 ";
var m2  = "..... Buy Online or Call 1-800-777-4914                                                                             ";
var m3  = "..... This is the real thing! A 20:1 strength product unlike any other...                                                                              ";
var m4  = "..... Thank You for shopping at WeightLossGuide.com!                                                                             ";
var msg=m1+m2+m3+m4;
var out = " ";
var c   = 1;
if (seed > 101) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,101);
}
else if (seed <= 101 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,101);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,101);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(101)",75);
      }
   }
}

