if (document.images) {

 productson = new Image();
 productson.src = "/images/menu_products_on.gif";

 productsoff = new Image();
 productsoff.src = "/images/menu_products_off.gif";

 about_uson = new Image();
 about_uson.src = "/images/menu_about_us_on.gif";

 about_usoff = new Image();
 about_usoff.src = "/images/menu_about_us_off.gif";

 santa_maria_bbqon = new Image();
 santa_maria_bbqon.src = "/images/menu_santa_maria_bbq_on.gif";

 santa_maria_bbqoff = new Image();
 santa_maria_bbqoff.src = "/images/menu_santa_maria_bbq_off.gif";

 recipeson = new Image();
 recipeson.src = "/images/menu_recipes_on.gif";

 recipesoff = new Image();
 recipesoff.src = "/images/menu_recipes_off.gif";

 store_locatoron = new Image();
 store_locatoron.src = "/images/menu_store_locator_on.gif";

 store_locatoroff = new Image();
 store_locatoroff.src = "/images/menu_store_locator_off.gif";

 contact_uson = new Image();
 contact_uson.src = "/images/menu_contact_us_on.gif";

 contact_usoff = new Image();
 contact_usoff.src = "/images/menu_contact_us_off.gif";

 linkson = new Image();
 linkson.src = "/images/menu_links_on.gif";

 linksoff = new Image();
 linksoff.src = "/images/menu_links_off.gif";

 view_carton = new Image();
 view_carton.src = "/images/menu_view_cart_on.gif";

 view_cartoff = new Image();
 view_cartoff.src = "/images/menu_view_cart_off.gif";

 check_outon = new Image();
 check_outon.src = "/images/menu_checkout_on.gif";

 check_outoff = new Image();
 check_outoff.src = "/images/menu_checkout_off.gif";

 my_accounton = new Image();
 my_accounton.src = "/images/menu_my_account_on.gif";

 my_accountoff = new Image();
 my_accountoff.src = "/images/menu_my_account_off.gif";

 }
 
function viewImage(image, width, height) {
LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
OpenWin = this.open("/view.php?id="+image,"PopupWindow","toolbar=no,width="+width+",height="+height+",left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=no,resize=no,menubar=no")
}

function Open(url,width,height) {
        LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
        TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
        OpenWin = this.open(url,"PicWindow","toolbar=no,width="+width+",height="+height+",left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=no,resize=no,menubar=no")
}
