// write me if you have questions: web.master@male.net

// constants
var initX       = 10; // x-coordinate of top left corner of dropdown menu 
var initY       = 67; // y-coordinate of top left corner of dropdown menu 
var backColor   = '#FFFFCC'; // the background color of dropdown menu, set empty '' for transparent
var borderColor = '#009900'; // the color of dropdown menu border
var borderSize  = '1'; // the width of dropdown menu border
var itemHeight  = 20;
var xOverlap    = 5;
var yOverlap    = 10;
//


menuContent     = new Array ();

menuContent [0] = new Array ( 
-1, // the id of parent menu, -1 if this is a first level menu
-1, // the number of line in parent menu, -1 if this is a first level menu
105, // the width of current menu list 
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'The Greenpeace Shoppers Guide', 'http://gmoguide.greenpeace.ca/index.php'
));

menuContent [1] = new Array ( 
-1, 
-1,
105,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Browse the Guide', 'http://gmoguide.greenpeace.ca/browse.php'
));

menuContent [2] = new Array ( 
-1, 
-1,
105,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Search the guide', 'http://gmoguide.greenpeace.ca/search.php?criteria=productname'
));

menuContent [3] = new Array ( 
-1, 
-1,
110,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'How to use the guide', 'http://gmoguide.greenpeace.ca/howto.php',
'About the Greenpeace Shoppers Guide', 'http://gmoguide.greenpeace.ca/about.php',
'What is GE Food?', 'http://gmoguide.greenpeace.ca/what.php',
'Health and Environmental risks of GMOs', 'http://gmoguide.greenpeace.ca/health.php',
'Your right to know what you are eating', 'http://gmoguide.greenpeace.ca/know.php'
));

menuContent [4] = new Array ( 
-1, 
-1,
115,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Call a company', 'http://gmoguide.greenpeace.ca/call.php',
'Write to a company', 'http://gmoguide.greenpeace.ca/letter.php',
'Let Loblaws know you don\'t want GMOs', 'http://gmoguide.greenpeace.ca/loblaws.php',
'Sign up for the Truefood email list', 'http://www.greenpeace.ca/truefood',
'Download the Greenpeace Shoppers Guide', 'http://gmoguide.greenpeace.ca/download.php',
/* removed this link & zipped email page - june 07 - martinb */
/*'email this page to a friend', 'javascript:openform(\'http://gmoguide.greenpeace.ca/mailto.php\')\;',*/
'Join Greenpeace', 'http://www.greenpeace.ca/e/join'
));

menuContent [5] = new Array ( 
-1, 
-1,
105,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Latest news headlines', 'http://gmoguide.greenpeace.ca/news.php',
'More Greenpeace News', 'http://www.greenpeace.org/canada/en/recent'
));

menuContent [6] = new Array ( 
-1, 
-1,
110,
-1, // x coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent x-coordinate
-1, // y coordinate (absolute) of left corner of this menu list, -1 if the coordinate is defined from parent y-coordinate
new Array (
'Links to Greenpeace GE websites', 'http://gmoguide.greenpeace.ca/links.php#gplink',
'Links to other GE websites', 'http://gmoguide.greenpeace.ca/links.php#gplink',
'Links to manufacturers websites', 'http://gmoguide.greenpeace.ca/redlist.php'
));

// HERE IS THE CODE FOR THE BOTTOM OF THE PAGE PRINT FUNCTION

// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header

function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}


function openform(url) {

var url = url + "?url=" + document.location

	var NS = (document.layers) ? true : false;

	var IE = (document.all) ? true : false;



if(NS) {

	window.open(url,"","scrollbars=no,menubar=no,personalbar=no,width=500,height=310,screenX=220,screenY=0");

} else if(IE) {

	window.open(url,"","scrollbars=no,menubar=no,personalbar=no,width=500,height=310,left=220,top=0");

}



}
