function MM_openBrWindow(theURL,winName,features) 
{ 
  window.open(theURL,winName,features);
}

function validate_form() {
  validity = true; // assume valid
  if (!check_empty(document.SearchForm.sp-q.value))
        { validity = false; alert('Enter a search string, Please!');
	return validity;
}
  return validity;
}


function check_empty(text) {
  return (text.length > 0); // returns false if empty
}


function openWindowX(url) {
var windowprops = "location=no,scrollbars=no,menubar=no,toolbar=no,status=no,resizable=no,left=0,top=0,width=460,height=500";
popup = window.open(url, "photo",windowprops);
popup.focus();
}


function openWindowY(url) {
var windowprops = "location=no,scrollbars=yes,menubar=no,toolbar=no,status=no,resizable=no,left=0,top=0,width=460,height=500";
popup = window.open(url, "photo",windowprops);
popup.focus();
}
function openWindowZ(url) {
var windowprops = "location=no,scrollbars=yes,menubar=no,toolbar=no,status=no,resizable=no,left=0,top=0,width=600,height=500";
popup = window.open(url, "photo",windowprops);
popup.focus();
}

function openWindowReseller(url) {
var windowprops = "location=no,scrollbars=yes,menubar=no,toolbar=no,status=no,resizable=no,left=0,top=0,width=460,height=500";
popup = window.open(url, "photo",windowprops);
popup.focus();
}


