function GenderSelection(elem, AlertMsg){
	if(elem.value == ""){
		alert(AlertMsg);
		elem.focus();
		return false;
	}else{
		return true;
	}
}
function InValidSelection(elem, AlertMsg){
	if(elem.value == ""){
		alert(AlertMsg);
		elem.focus();
		return false;
	}else{
		if(document.additem.idproduct.value==""){
			alert ("Please select Both a Width and a SIZE.");
		    document.additem.idproduct.focus();
		    return false;
		}else{
		return true;
		}
	}
}
function InValidSelection2(elem, AlertMsg){
	if(elem.value == ""){
		alert(AlertMsg);
		return false;
	}else{
		if(document.additem.idproduct.value==""){
			alert ("Please select Both a Width and a SIZE.");
		    return false;
		}else{
		return true;
		}
	}
}

function shoepopup(pic){
thisshoepic = pic 
var popurl="https://www.shoesontheweb.com/store/catalog/large/" + thisshoepic
winpops=window.open(popurl,"","width=640,height=480,")
}

function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
} 

function ClearDefaultSearch()
  {
if (document.SOTWSearchPulldowns.strSearch.value == "Try A Keyword Search!"){
document.SOTWSearchPulldowns.strSearch.value = "";
}
  }


