
function displayWindow(url, width, height) {
      var url1 = 'bigimage.asp?pic=' + url + '&height=' + height + '&width=' + width;
	  var Win = window.open(url1,"1",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=no,screenX=0,screenY=0,top=0,left=0' );
 }
 
function Validationkeyword(theform) {
  if (theform.Keyword.value == "" || theform.Keyword.value == "Keyword Search") {
      alert("Please enter your search keyword.");
      theform.Keyword.focus();
      return (false);
    }
  
  return (true);
 } 
 
function hidelayer(which) {
    document.getElementById(which).style.display = "none";
 } 
  
function displaylayer(sNutrition,n) {
    if (sNutrition != "") {
	   if (document.images.ItemNutrition) {
		   document.images.ItemNutrition.src = "images/"  + sNutrition;
		  }
	  } 
	
	var i = parseInt(n);
	var h = 310 + i * 272;
	
	document.getElementById('layer2').style.top = h + 'px';   
    document.getElementById('layer2').style.display = "block";
  }		
