<!--
function displayYear(){
	var todaysDate = new Date();
	var todaysYear = todaysDate.getFullYear();
	document.write(''+todaysYear);
}

function PopCharts(strURL)
{ 
PopWindow = window.open ('http://www.chartflow.com/fx/chartout.asp?period=500&'+strURL, 'PopWindow', 'toolbar=0,location=0, directories=0,status=0,menubar=0,scrollbars=0,resizable=1,height=400,width=480')
}


function onLoad() {
    if (document.layers) {
        loadMenus();
    }
}

function loadMenus() {
    //Dynamic Menus
    window.myMenu = new Menu();
    myMenu.addMenuItem("my menu item A");
    myMenu.addMenuItem("my menu item B");
    myMenu.addMenuItem("my menu item C");
    myMenu.addMenuItem("my menu item D");

    window.news = new Menu("FX News");
    news.addMenuItem(" General Currency News", "top.window.location='http://www.forexe.com/forexnews.htm'");
    news.addMenuItem("Commodities News", "top.window.location='http://www.forexe.com/forexnewscom.htm'");
    news.addMenuItem("Fixed Income News", "top.window.location='http://www.forexe.com/forexnewsbond.htm'");
    news.addMenuItem("Mergers and Acquisitions", "top.window.location='http://www.forexe.com/forexnewsma.htm'");
    news.addMenuItem("Australian News", "top.window.location='http://www.forexe.com/forexnewsaud.htm'");
    news.addMenuItem("European News", "top.window.location='http://www.forexe.com/forexnewseur.htm'");
    news.addMenuItem("U.K. News", "top.window.location='http://www.forexe.com/forexnewsgbp.htm'");
    news.addMenuItem("Japanese News", "top.window.location='http://www.forexe.com/forexnewsjpy.htm'");
    news.addMenuItem("New Zealand News", "top.window.location='http://www.forexe.com/forexnewsnzd.htm'");
    news.addMenuItem("Canadian News", "top.window.location='http://www.forexe.com/forexnewscad.htm'");

  

    window.chartse = new Menu("EUR/USD ->");
    chartse.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=eu1h'");
    chartse.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=euday'");
    chartse.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=euweek'");
    chartse.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=euweek0'");

    window.chartsa = new Menu("AUD/USD ->");
    chartsa.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=a$1h'");
    chartsa.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=a$day'");
    chartsa.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=a$week'");
    chartsa.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=a$week0'");

    window.chartsj = new Menu("USD/JPY ->");
    chartsj.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=yn1h'");
    chartsj.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=ynday'");
    chartsj.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=ynweek'");
    chartsj.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=ynweek0'");

    window.chartsn = new Menu("NZD/USD ->");
    chartsn.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=n$1h'");
    chartsn.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=n$day'");
    chartsn.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=n$week'");
    chartsn.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=n$week0'");

    window.chartsg = new Menu("GBP/USD ->");
    chartsg.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=bp1h'");
    chartsg.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=bpday'");
    chartsg.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=bpweek'");
    chartsg.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=bpweek0'");

    window.chartssf = new Menu("USD/CHF ->");
    chartssf.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=sf1h'");
    chartssf.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=sfday'");
    chartssf.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=sfweek'");
    chartssf.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=sfweek0'");

    window.chartsc = new Menu("USD/CAD ->");
    chartsc.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=c$1h'");
    chartsc.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=c$day'");
    chartsc.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=c$week'");
    chartsc.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=c$week0'");

    window.chartsey = new Menu("EUR/JPY ->");
    chartsey.addMenuItem("Hourly", "top.window.location='http://www.forexe.com/charts.asp?chart=ey1h'");
    chartsey.addMenuItem("Daily", "top.window.location='http://www.forexe.com/charts.asp?chart=eyday'");
    chartsey.addMenuItem("Weekly", "top.window.location='http://www.forexe.com/charts.asp?chart=eyweek'");
    chartsey.addMenuItem("Long Term", "top.window.location='http://www.forexe.com/charts.asp?chart=eyweek0'");

    window.charttype = new Menu("Chart Types");
    charttype.addMenuItem(chartsa);
    charttype.addMenuItem(chartse);
    charttype.addMenuItem(chartsj);  
    charttype.addMenuItem(chartsn); 
    charttype.addMenuItem(chartsc); 
    charttype.addMenuItem(chartsg); 
    charttype.addMenuItem(chartssf); 
    charttype.addMenuItem(chartsey); 
    charttype.addMenuItem("Other Currencies", "javascript: PopCharts('ccy1=USD&ccy2=JPY')");
    charttype.addMe
    
    window.calculators = new Menu("calculators");
    calculators.addMenuItem("Historical Rates", "top.window.location='http://www.chartflow.com/host/nzforex/historybasic.asp'");
    calculators.addMenuItem("Full Currency Converter", "top.window.location='../cgi-bin/currencyconvertor.asp'");
    calculators.addMenuItem("Seasonality", "top.window.location='http://www.chartflow.com/host/nzforex/seasonality.asp?ccy1=EUR&ccy2=USD&period=10000'");
    calculators.addMenuItem("Monthly Returns Data", "top.window.location='http://www.chartflow.com/host/nzforex/rawreturns.asp?ccy1=EUR&ccy2=USD&period=10000'");
    calculators.addMenuItem("Monthly Average Rates", "top.window.location='http://www.chartflow.com/host/nzforex/monthlyaverage.asp?ccy1=EUR&ccy2=USD&period=10000'");

    calculators.fontFamily = "verdana";
    calculators.fontSize = "11";
    calculators.fontColor = "#000066";
    calculators.menuItemBgColor = "#FFCC00";
    calculators.menuHiliteBgColor = "#000066";
    calculators.bgColor = "#000066";

 
   charttype.prototypeStyles = calculators;
   news.prototypeStyles = calculators; 
   chartse.prototypeStyles = calculators; 
   chartsj.prototypeStyles = calculators; 
   chartsa.prototypeStyles = calculators; 
   chartsn.prototypeStyles = calculators; 
   chartsg.prototypeStyles = calculators; 
   chartsc.prototypeStyles = calculators; 
   chartssf.prototypeStyles = calculators; 
   chartsey.prototypeStyles = calculators; 
   myMenu.writeMenus();
}


//-->

