var leaving = 0;
var mellows = 2;
if (document.images) {

 viewcarton = new Image();
 viewcarton.src = images+"/menu_viewcart_on.gif";

 viewcartoff = new Image();
 viewcartoff.src = images+"/menu_viewcart_off.gif";

 checkouton = new Image();
 checkouton.src = images+"/menu_checkout_on.gif";

 checkoutoff = new Image();
 checkoutoff.src = images+"/menu_checkout_off.gif";

 myaccounton = new Image();
 myaccounton.src = images+"/menu_myaccount_on.gif";

 myaccountoff = new Image();
 myaccountoff.src = images+"/menu_myaccount_off.gif";

 homeon = new Image();
 homeon.src = images+"/menu_home_on.gif";

 homeoff = new Image();
 homeoff.src = images+"/menu_home_off.gif";

 aboutuson = new Image();
 aboutuson.src = images+"/menu_aboutus_on.gif";

 aboutusoff = new Image();
 aboutusoff.src = images+"/menu_aboutus_off.gif";

 faqson = new Image();
 faqson.src = images+"/menu_faqs_on.gif";

 faqsoff = new Image();
 faqsoff.src = images+"/menu_faqs_off.gif";

 affiliateson = new Image();
 affiliateson.src = images+"/menu_affiliates_on.gif";

 affiliatesoff = new Image();
 affiliatesoff.src = images+"/menu_affiliates_off.gif";

 contactuson = new Image();
 contactuson.src = images+"/menu_contactus_on.gif";

 contactusoff = new Image();
 contactusoff.src = images+"/menu_contactus_off.gif";
 
 savethreeon = new Image();
 savethreeon.src = images+"/menu_savethree_on.gif";
 
 savethreeoff = new Image();
 savethreeoff.src = images+"/menu_savethree_off.gif";
 

 }

function Open(page) {
var width=510;
var height=305;
LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
OpenWin = 
this.open(page,"GreekHoodiesWindow","toolbar=no,width="+width+",height="+height+",left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=no,resize=no,menubar=no")
}

function Open2(page) {
var width=510;
var height=345;
LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
OpenWin = 
this.open(page,"GreekHoodiesWindow","toolbar=no,width="+width+",height="+height+",left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=no,resize=no,menubar=no")
}

function Open3(page) {
var width=510;
var height=500;
LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
OpenWin = 
this.open(page,"GreekHoodiesWindow","toolbar=no,width="+width+",height="+height+",left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=no,resize=no,menubar=no")
}

function Open4(page) {


if(leaving == 1)
{var width=380;
var height=470;
LeftPosition = (screen.width) ? (screen.width-width)/2 : 0;
TopPosition = (screen.height) ? (screen.height-height)/2 : 0;
OpenWin = 
this.open(page,"GreekHoodiesWindow","toolbar=no,width="+width+",height="+height+",left="+LeftPosition+",top="+TopPosition+",directories=no,status=no,scrollbars=no,resize=no,menubar=no")
}}

