function onLoad() {
	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.mNoBorders = new Menu("No Borders");
    mNoBorders.addMenuItem("Ishockey", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Ishockey'");
    mNoBorders.addMenuItem("Fotboll", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Fotboll'");
    mNoBorders.addMenuItem("Handboll", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Handboll'");
    mNoBorders.addMenuItem("Basket", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Basket'");
    mNoBorders.addMenuItem("Bandy", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Bandy'");
    mNoBorders.addMenuItem("Innebandy", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Innebandy'");
    mNoBorders.addMenuItem("Volleyboll", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Volleyboll'");
    mNoBorders.addMenuItem("Rugby", "top.window.location='http://www.sportvoter.com/se/addteam.phtml?Sport=Rugby'");
    mNoBorders.addMenuItem("Annan sport...", "top.window.location='http://www.sportvoter.com/se/mail_new_sport.phtml'");
    mNoBorders.menuItemBorder = 0;
    mNoBorders.menuItemBgColor = "#00C8EF";
    mNoBorders.menuHiliteBgColor = "#000084";
    mNoBorders.menuItemHeight = 14;
    mNoBorders.fontSize = 11;
    mNoBorders.fontWeight = "normal";
    mNoBorders.fontColor = "black";
    mNoBorders.bgColor = "#000000";



    window.mNoBorders1 = new Menu("No Borders");
    mNoBorders1.addMenuItem("Surfa till webvoter.net", "top.window.location='http://www.webvoter.net/se'");
    mNoBorders1.addMenuItem("Logga in (medlemmar)", "top.window.location='http://www.webvoter.net/se/editor'");
	mNoBorders1.addMenuItem("Glömt lösenordet?", "window.open('http://www.webvoter.net/se/mailapassword.phtml')");
	mNoBorders1.addMenuItem("Jag vill bli gratis medlem nu", "top.window.location='http://www.webvoter.net/se/register.phtml'");
    mNoBorders1.menuItemBorder = 0;
    mNoBorders1.menuItemBgColor = "#00C8EF";
    mNoBorders1.menuHiliteBgColor = "#000084";
    mNoBorders1.menuItemHeight = 14;
    mNoBorders1.fontSize = 11;
    mNoBorders1.fontWeight = "normal";
    mNoBorders1.fontColor = "black";
    mNoBorders1.bgColor = "#000000";




    window.mNoBorders2 = new Menu("No Borders");
    mNoBorders2.addMenuItem("Tips-mail till en kompis", "top.window.location='http://www.sportvoter.com/se/tipsa.phtml'");
    mNoBorders2.addMenuItem("Skicka vykort", "top.window.location='http://www.sportvoter.com/cards/'");
    mNoBorders2.menuItemBorder = 0;
    mNoBorders2.menuItemBgColor = "#00C8EF";
    mNoBorders2.menuHiliteBgColor = "#000084";
    mNoBorders2.menuItemHeight = 14;
    mNoBorders2.fontSize = 11;
    mNoBorders2.fontWeight = "normal";
    mNoBorders2.fontColor = "black";
    mNoBorders2.bgColor = "#000000";




    window.mNoBorders3 = new Menu("No Borders");
    mNoBorders3.addMenuItem("Textalks hemsida", "window.open('http://www.textalk.se/')");
    mNoBorders3.addMenuItem("Webvoter", "window.open('http://www.webvoter.net/')");
    mNoBorders3.addMenuItem("Websurvey", "window.open('http://www.textalk.se/websurvey/')");
    mNoBorders3.addMenuItem("SixQuiz", "window.open('http://www.textalk.se/sixquiz/')");

    mNoBorders3.menuItemBorder = 0;
    mNoBorders3.menuItemBgColor = "#00C8EF";
    mNoBorders3.menuHiliteBgColor = "#000084";
    mNoBorders3.menuItemHeight = 14;
    mNoBorders3.fontSize = 11;
    mNoBorders3.fontWeight = "normal";
    mNoBorders3.fontColor = "black";
    mNoBorders3.bgColor = "#000000";


	myMenu.writeMenus();
}