function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function checkboxes(){
  if (!document.win.rules.checked){
    alert("Please read and accept the contest rules before sending this form");
    return false;
  }
  if (!document.win.eighteen.checked){
    alert("You must be over 18 years of age to enter this contest");
    return false;
  }
}
function SelectAll(id)
{
    document.getElementById(id).focus();
    document.getElementById(id).select();
}
function buildit(category,page){
	this.category = category;
	this.page = page;
}
function changeList() {
        clear();
	mycat = document.pickup.type;
	myprod = document.pickup.pickup;
	j = myprod.length;
	for(i=0; i<j; i++)
		myprod.options[i] = null;
	cat = mycat.options[mycat.selectedIndex].value;
	j = mymenus[cat].category.length;
	for(i=0; i<j; i++) 
		myprod.options[i] = new Option(mymenus[cat].category[i],
mymenus[cat].page[i]);
	myprod.options[0].selected = true;

}
function clear() {
	while(document.pickup.pickup.length != 0) {
		document.pickup.pickup.options[document.pickup.pickup.length-1] = null;
	}
}

