
if (document.images) 
    {   
// put js for specific section here 
        englon = new Image();
        englon.src = "../images/nav/english_on.gif";
        engloff = new Image();
        engloff.src = "../images/nav/english_off.gif";
		
		francon = new Image();
        francon.src = "../images/nav/francais_on.gif";
        francoff = new Image();
        francoff.src = "../images/nav/francais_off.gif";
		
		italon = new Image();
        italon.src = "../images/nav/italiano_on.gif";
        italoff = new Image();
        italoff.src = "../images/nav/italiano_off.gif";

		deutschon = new Image();
        deutschon.src = "../images/nav/deutsch_on.gif";
        deutschoff = new Image();
        deutschoff.src = "../images/nav/deutsch_off.gif";
		
		espon = new Image();
		espon.src = "../images/nav/spanish_on.gif";
		espoff = new Image();
		espoff.src = "../images/nav/spanish_off.gif";
		
		porton = new Image();
		porton.src = "../images/nav/portugese_on.gif";
		portoff = new Image();
		portoff.src = "../images/nav/portugese_off.gif";
		
		chinon = new Image();
        chinon.src = "../images/nav/chinese_on.gif";
        chinoff = new Image();
        chinoff.src = "../images/nav/chinese_off.gif";
		
		jpnon = new Image();
        jpnon.src = "../images/nav/japanese_on.gif";
        jpnoff = new Image();
       	jpnoff.src = "../images/nav/japanese_off.gif";
		
		koron = new Image();
		koron.src = "../images/nav/korean_on.gif";
		koroff = new Image();
		koroff.src = "../images/nav/korean_off.gif";

		
// js for top nav - constant for all sections	
		homeon = new Image();
        homeon.src = "../images/nav/top_home_on.gif";
        homeoff = new Image();
        homeoff.src = "../images/nav/top_home_off.gif";
		
		letteron = new Image();
        letteron.src = "../images/nav/top_letter_on.gif";
        letteroff = new Image();
       	letteroff.src = "../images/nav/top_letter_off.gif";
		
		discoon = new Image();
        discoon.src = "../images/nav/top_discover_on.gif";
        discooff = new Image();
        discooff.src = "../images/nav/top_discover_off.gif";
		
		finson = new Image();
        finson.src = "../images/nav/top_financials_on.gif";
        finsoff = new Image();
        finsoff.src = "../images/nav/top_financials_off.gif";
		
		proxyon = new Image();
        proxyon.src = "../images/nav/top_proxy_on.gif";
        proxyoff = new Image();
        proxyoff.src = "../images/nav/top_proxy_off.gif";
		
		learnon = new Image();
        learnon.src = "../images/nav/top_learn_on.gif";
        learnoff = new Image();
        learnoff.src = "../images/nav/top_learn_off.gif";
		
		feedbkon = new Image();
        feedbkon.src = "../images/nav/top_feedback_on.gif";
        feedbkoff = new Image();
        feedbkoff.src = "../images/nav/top_feedback_off.gif";
		
		leftyon = new Image();
        leftyon.src = "../images/nav/arrow_left_on.gif";
        leftyoff = new Image();
        leftyoff.src = "../images/nav/arrow_left_off.gif";
		
		righton = new Image();
        righton.src = "../images/nav/arrow_right_on.gif";
        rightoff = new Image();
        rightoff.src = "../images/nav/arrow_right_off.gif"; 
		
		lefty2on = new Image();
        lefty2on.src = "../images/nav/arrow_left_on.gif";
        lefty2off = new Image();
        lefty2off.src = "../images/nav/arrow_left_off.gif";
		
		right2on = new Image();
        right2on.src = "../images/nav/arrow_right_on.gif";
        right2off = new Image();
        right2off.src = "../images/nav/arrow_right_off.gif";
		
    }

    function imgOn(imgName) 
    {
                document[imgName].src = eval(imgName + "on.src");       
    }

    function imgOff(imgName) 
    {
                document[imgName].src = eval(imgName + "off.src");   
    }
	
	
	
// keeps new outside urls in the same window, instead of spawning new wins
	function openWindow(theURL,winName,features) 
	{
  				var newWindow = window.open(theURL,winName,features);
  				newWindow.focus();
	}
	

// this places and opens sized window for video pop-ups
	function openWinRP(URL,NAME,FEATURES) 
	{
				aWindow = window.open(URL,NAME,FEATURES);
				 var Xcor = 200;
				 var Ycor = 150;
				 aWindow.moveTo(Xcor,Ycor);
	}


