// NAVIGATION /////////////////////////////////////////////////

var Base="images/interface_images/nav/"
        if (document.images) {     
               
//MAIN LINKS

                homeDIM = new Image();   homeDIM.src = Base + "homeDIM.gif";
                homeLIT = new Image();   homeLIT.src = Base + "homeLIT.gif";

                orderDIM = new Image();   orderDIM.src = Base + "orderDIM.gif";
                orderLIT = new Image();   orderLIT.src = Base + "orderLIT.gif";

                foodsDIM = new Image();   foodsDIM.src = Base + "foodsDIM.gif";
                foodsLIT = new Image();   foodsLIT.src = Base + "foodsLIT.gif";

                recipesDIM = new Image();   recipesDIM.src = Base + "recipesDIM.gif";
                recipesLIT = new Image();   recipesLIT.src = Base + "recipesLIT.gif";

                allianceDIM = new Image();   allianceDIM.src = Base + "allianceDIM.gif";
                allianceLIT = new Image();   allianceLIT.src = Base + "allianceLIT.gif";

                opportunityDIM = new Image();   opportunityDIM.src = Base + "opportunityDIM.gif";
                opportunityLIT = new Image();   opportunityLIT.src = Base + "opportunityLIT.gif";

                contactDIM = new Image();   contactDIM.src = Base + "contactDIM.gif";
                contactLIT = new Image();   contactLIT.src = Base + "contactLIT.gif";

                retailDIM = new Image();   retailDIM.src = Base + "retailDIM.gif";
                retailLIT = new Image();   retailLIT.src = Base + "retailLIT.gif";

                aboutDIM = new Image();   aboutDIM.src = Base + "aboutDIM.gif";
                aboutLIT = new Image();   aboutLIT.src = Base + "aboutLIT.gif";

                send_friendDIM = new Image();   send_friendDIM.src = Base + "send_friendDIM.gif";
                send_friendLIT = new Image();   send_friendLIT.src = Base + "send_friendLIT.gif";

				investorDIM = new Image();   investorDIM.src = Base + "investorDIM.gif";
				investorLIT = new Image();   investorLIT.src = Base + "investorLIT.gif";
                }
               
                
function imgOn(imgName,target) {
	if (document.images) {
		document[target].src = eval(imgName + "LIT.src");       
	}
}
                
function imgOff(imgName,target) {
	if (document.images) {
		document[target].src = eval(imgName + "DIM.src");       
	}
}


// The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu)
// See:  http://www.msc.cornell.edu/~houle/javascript/randomizer.html
rnd.today=new Date();
rnd.seed=rnd.today.getTime();
function rnd() {
         rnd.seed = (rnd.seed*9301+49297) % 233280;
         return rnd.seed/(233280.0);
};
function rand(number) {
         return Math.ceil(rnd()*number);
};
// end central randomizer. -->
 
function gotop(url) {
                { if (document.ReinbeckLinks.Selector.options[document.ReinbeckLinks.Selector.selectedIndex].value == 0)
                return false;
                 }
                  top.location = url;        }
                  

// WINDOW OPENER /////////////////////////////////////////////////

var myWindow = 'LinkWindow';

function win(fileName) {
                window.open(fileName,myWindow,'scrollbars=yes,resizable=yes,status=yes,toolbar=yes,width=550,height=400,screenX=0,screenY=0,top=0,left=235')
}

                  
var myWindow = 'LinkWindow';

function winSML(fileName) {
        window.open(fileName,myWindow,'scrollbars=auto,resizable=no,status=yes,toolbar=no,width=400,height=500,screenX=0,screenY=0,top=0,left=235')
}

