function init() { //Main Menu items: menus[0] = new menu(22, "horizontal", 101, 242, -2, -2, "#F2CA0D", "#005228", "Verdana,Helvetica", 8, "normal", "normal", "black", "white", 1, "#005228", 2, "rollover:images/tri-down1.gif:images/tri-down2.gif", false, true, true, true, 12, true, 4, 4, "black"); menus[0].addItem("index.php", "", 45, "center", "Home", 0); menus[0].addItem("store.php", "", 80, "center", "Inventory", 1); menus[0].addItem("buyonline.php", "", 95, "center", "Online Store", 9); menus[0].addItem("service_dept.php", "", 104, "center", "Service Dept.", 0); menus[0].addItem("parts_dept.php", "", 86, "center", "Parts Dept.", 0); menus[0].addItem("servicespecials.php", "", 125, "center", "Monthly Specials", 0); menus[0].addItem("https://jtzenterprise.com/modify/greenlinevaapp.php", "", 88, "center", "Credit App.", 0); menus[0].addItem("about_us.php", "", 70, "center", "About Us", 0); menus[0].addItem("contact.php", "", 63, "center", "Contact", 8); menus[0].floatMenu(990, 768, 10, 0); //Sub Menu for 2nd Main Menu Item ("Inventory"): menus[1] = new menu(210, "vertical", 0, 0, -5, -5, "#F2CA0D", "#005228", "Verdana,Helvetica", 8, "normal", "bold", "black", "white", 1, "gray", 2, 62, false, true, false, true, 6, true, 4, 4, "black"); menus[1].addItem("store.php?category=Residential", "", 22, "left", "Residential", 3); menus[1].addItem("store.php?category=Commercial", "", 22, "left", "Commercial", 4); menus[1].addItem("store.php?category=Agricultural", "", 22, "left", "Agricultural", 5); menus[1].addItem("store.php?category=Trailers", "", 22, "left", "Trailers", 6); menus[1].addItem("store.php?category=Compact Attachments", "", 22, "left", "Compact Attachments", 7); //Sub Menu for 3rd Main Menu Item ("Specials"): menus[2] = new menu(128, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 8, "normal", "normal", "black", "white", 1, "black", 2, "rollover:images/tri-right1.gif:images/tri-right2.gif", false, true, false, false, 0, true, 4, 4, "black"); menus[2].addItem("store.php?category=Service Specials", "", 22, "left", "Service Specials", 0); menus[2].addItem("store.php?category=Sales Specials", "", 22, "left", "Sales Specials", 0); menus[2].addItem("store.php?category=Parts Specials", "", 22, "left", "Parts Specials", 0); //Sub Menu for Sub Menu "Residential": menus[3] = new menu(235, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 9, "normal", "normal", "black", "white", 1, "black", 2, 62, false, true, false, false, 0, true, 4, 4, "black"); menus[3].addItem("store.php?category=Residential-Lawn Tractors", "", 22, "left", "Lawn Tractors", 0); menus[3].addItem("store.php?category=Residential-Attachments", "", 22, "left", "Lawn & Garden Attachments", 0); menus[3].addItem("store.php?category=Residential-Garden Tractors", "", 22, "left", "Garden Tractors", 0); menus[3].addItem("store.php?category=Residential-Zero Turn Mowers", "", 22, "left", "Zero Turn Mowers", 0); menus[3].addItem("store.php?category=Residential-Utility Vehicles", "", 22, "left", "Utility Vehicles", 0); menus[3].addItem("store.php?category=Residential-Walk Behind Mowers", "", 22, "left", "Walk Behind Mowers", 0); menus[3].addItem("store.php?category=Residential-Handheld Equipment", "", 22, "left", "Handheld Equipment", 0); //Sub Menu for Sub Menu "Comercial": menus[4] = new menu(235, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 9, "normal", "normal", "black", "white", 1, "black", 2, 62, false, true, false, false, 0, true, 4, 4, "black"); menus[4].addItem("store.php?category=Commercial-Compact Tractors", "", 22, "left", "Compact Tractors", 0); menus[4].addItem("store.php?category=Commercial-Zero Turn Mowers", "", 22, "left", "Zero Turn Mowers", 0); menus[4].addItem("store.php?category=Commercial-Utility Vehicles", "", 22, "left", "Utility Vehicles", 0); menus[4].addItem("store.php?category=Commercial-Walk Behind Mowers", "", 22, "left", "Walk Behind Mowers", 0); //Sub Menu for Sub Menu "Agricultural": menus[5] = new menu(185, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 9, "normal", "normal", "black", "white", 1, "black", 2, 62, false, true, false, false, 0, true, 4, 4, "black"); menus[5].addItem("store.php?category=Agricultural-Utility Tractors", "", 22, "left", "Utility Tractors", 0); menus[5].addItem("store.php?category=Agricultural-Row Crop Tractors", "", 22, "left", "Row Crop Tractors", 0); menus[5].addItem("store.php?category=Agricultural-4WD Tractors", "", 22, "left", "4WD Tractors", 0); menus[5].addItem("store.php?category=Agricultural-Hay Equipment", "", 22, "left", "Hay Equipment", 0); menus[5].addItem("store.php?category=Agricultural-Tillage Equipment", "", 22, "left", "Tillage Equipment", 0); menus[5].addItem("store.php?category=Agricultural-Planting Equipment", "", 22, "left", "Planting Equipment", 0); menus[5].addItem("store.php?category=Agricultural-Harvesting Equipment", "", 22, "left", "Harvesting Equipment", 0); menus[5].addItem("store.php?category=Agricultural-Rotary Cutters", "", 22, "left", "Rotary Cutters", 0); //Sub Menu for Sub Menu "Trailers": menus[6] = new menu(100, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 9, "normal", "normal", "black", "white", 1, "black", 2, 62, false, true, false, false, 0, true, 4, 4, "black"); menus[6].addItem("store.php?category=Trailers-Utility", "", 22, "left", "Utility", 0); menus[6].addItem("store.php?category=Trailers-Dump", "", 22, "left", "Dump", 0); menus[6].addItem("store.php?category=Trailers-Enclosed", "", 22, "left", "Enclosed", 0); menus[6].addItem("store.php?category=Trailers-Deckover", "", 22, "left", "Deckover", 0); //Sub Menu for Sub Menu "Trailers": menus[7] = new menu(250, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 9, "normal", "normal", "black", "white", 1, "black", 2, 62, false, true, false, false, 0, true, 4, 4, "black"); menus[7].addItem("store.php?category=Compact Attachments-Aerators", "", 22, "left", "Aerators", 0); menus[7].addItem("store.php?category=Compact Attachments-Arena", "", 22, "left", "Arena Rakes", 0); menus[7].addItem("store.php?category=Compact Attachments-Backhoes", "", 22, "left", "Backhoes", 0); menus[7].addItem("store.php?category=Compact Attachments-Box Blades", "", 22, "left", "Box Blades", 0); menus[7].addItem("store.php?category=Compact Attachments-Chain Harrows", "", 22, "left", "Chain Harrows", 0); menus[7].addItem("store.php?category=Compact Attachments-Chippers and Shredders", "", 22, "left", "Chippers and Shredders", 0); menus[7].addItem("store.php?category=Compact Attachments-Collection Systems", "", 22, "left", "Collection Systems", 0); menus[7].addItem("store.php?category=Compact Attachments-Disk Harrows", "", 22, "left", "Disk Harrows", 0); menus[7].addItem("store.php?category=Compact Attachments-Fertilizer Spreaders", "", 22, "left", "Fertilizer Spreaders", 0); menus[7].addItem("store.php?category=Compact Attachments-Front Blades", "", 22, "left", "Front Blades", 0); menus[7].addItem("store.php?category=Compact Attachments-Front End Loader Attachments", "", 22, "left", "Front End Loader Attachments", 0); menus[7].addItem("store.php?category=Compact Attachments-Grading Scrapers", "", 22, "left", "Grading Scrapers", 0); menus[7].addItem("store.php?category=Compact Attachments-Grooming Mowers", "", 22, "left", "Grooming Mowers", 0); menus[7].addItem("store.php?category=Compact Attachments-Landscape Rakes", "", 22, "left", "Landscape Rakes", 0); menus[7].addItem("store.php?category=Compact Attachments-Manure Spreaders", "", 22, "left", "Manure Spreaders", 0); menus[7].addItem("store.php?category=Compact Attachments-Plow", "", 22, "left", "Plow", 0); menus[7].addItem("store.php?category=Compact Attachments-Post Hole Diggers", "", 22, "left", "Post Hole Diggers", 0); menus[7].addItem("store.php?category=Compact Attachments-Powered Rakes", "", 22, "left", "Powered Rakes", 0); menus[7].addItem("store.php?category=Compact Attachments-Rear Blades", "", 22, "left", "Rear Blades", 0); menus[7].addItem("store.php?category=Compact Attachments-Rotary Brooms", "", 22, "left", "Rotary Brooms", 0); menus[7].addItem("store.php?category=Compact Attachments-Rotary Cutters", "", 22, "left", "Rotary Cutters", 0); menus[7].addItem("store.php?category=Compact Attachments-Rotary Tillers", "", 22, "left", "Rotary Tillers", 0); menus[7].addItem("store.php?category=Compact Attachments-Seeders", "", 22, "left", "Seeders", 0); menus[7].addItem("store.php?category=Compact Attachments-Soil Pulverizers", "", 22, "left", "Soil Pulverizers", 0); menus[7].addItem("store.php?category=Compact Attachments-Tractor Attachments", "", 22, "left", "Tractor Attachments", 0); //Sub Menu for Sub Menu "Contact": menus[8] = new menu(65, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 9, "normal", "normal", "black", "white", 1, "black", 2, 62, false, true, false, false, 0, true, 4, 4, "black"); menus[8].addItem("directions.php", "", 22, "left", "Directions", 0); //Sub Menu for Sub Menu "Merchandise": menus[9] = new menu(95, "vertical", 0, 0, 0, 0, "#F2CA0D", "#005228", "Verdana,Helvetica", 9, "normal", "normal", "black", "white", 1, "black", 2, 62, false, true, false, false, 0, true, 4, 4, "black"); menus[9].addItem("http://www.greenlineva.com/buyonline.php?category=Accessories", "", 22, "left", "Accessories", 0); menus[9].addItem("http://www.greenlineva.com/buyonline.php?category=Maintenance", "", 22, "left", "Maintenance", 0); menus[9].addItem("http://www.greenlineva.com/buyonline.php?category=Toys", "", 22, "left", "Toys", 0); } //OUTER CLOSING BRACKET. EVERYTHING ADDED MUST BE ABOVE THIS LINE.