/*** SET BUTTON'S FOLDER HERE ***/ var buttonFolder = "buttons/"; /*** SET BUTTONS' FILENAMES HERE ***/ upSources = new Array("button1up.png","button2up.png","button3up.png","button4up.png","button5up.png","button6up.png","button7up.png","button8up.png","button9up.png","button10up.png","button11up.png","button12up.png","button13up.png","button14up.png","button15up.png","button16up.png","button17up.png"); overSources = new Array("button1over.png","button2over.png","button3over.png","button4over.png","button5over.png","button6over.png","button7over.png","button8over.png","button9over.png","button10over.png","button11over.png","button12over.png","button13over.png","button14over.png","button15over.png","button16over.png","button17over.png"); // SUB MENUS DECLARATION, YOU DONT NEED TO EDIT THIS subInfo = new Array(); subInfo[1] = new Array(); subInfo[2] = new Array(); subInfo[3] = new Array(); subInfo[4] = new Array(); subInfo[5] = new Array(); subInfo[6] = new Array(); subInfo[7] = new Array(); subInfo[8] = new Array(); subInfo[9] = new Array(); subInfo[10] = new Array(); subInfo[11] = new Array(); subInfo[12] = new Array(); subInfo[13] = new Array(); subInfo[14] = new Array(); subInfo[15] = new Array(); subInfo[16] = new Array(); subInfo[17] = new Array(); //*** SET SUB MENUS TEXT LINKS AND TARGETS HERE ***// subInfo[3][1] = new Array("Die Casting","die_casting.html",""); subInfo[3][2] = new Array("Plastic Injecting","plastic.html",""); subInfo[3][3] = new Array("Tool and Die","tool_die.html",""); subInfo[3][4] = new Array("Machine Shop","machine_shop.html",""); subInfo[3][5] = new Array("Heavy Equipment Repair (Construction)","heavy_equipment.html",""); subInfo[3][6] = new Array("Machine Tool Design","machine_tool.html",""); subInfo[3][7] = new Array("R&D Prototyping","prototyping.html",""); subInfo[3][8] = new Array("Foundry Services","foundry.html",""); subInfo[4][1] = new Array("Eze-Sleeve®","sleeve.html",""); subInfo[4][2] = new Array("Eze-Fans® & Eze-Hub®","fan.html",""); subInfo[4][3] = new Array("Eze-Tbox®","tbox.html",""); subInfo[4][4] = new Array("Eze-Center®","center.html",""); subInfo[4][5] = new Array("Eze-Fan Covers","fan_covers.html",""); subInfo[4][6] = new Array("Eze-Sleever®","sleever.html",""); subInfo[4][7] = new Array("Center Hole Protectors","protectors.html",""); subInfo[6][1] = new Array("Build to Lease","build_lease.html",""); subInfo[6][2] = new Array("Rental-Construction","rental.html",""); subInfo[9][1] = new Array("Cast Iron Bearing Housing Repair Sleeves","cast_sleeves.html",""); subInfo[9][2] = new Array("Cast Iron Oversized Bearing Housing Repair Sleeves","over_sleeves.html",""); subInfo[9][3] = new Array("Cast Iron Insulated Bearing Housing Repair Sleeves","cast_insul_sleeves.html",""); subInfo[9][4] = new Array("Steel Bearing Housing Repair Sleeves","steel_sleeves.html",""); subInfo[9][5] = new Array("Steel Insulated Bearing Housing Repair Sleeves","steel_insul_sleeves.html",""); subInfo[9][6] = new Array("Steel Shaft Repair Sleeves","shaft_sleeve.html",""); subInfo[10][1] = new Array("Plastic Injection Mould Terminal Boxes","plastic_tbox.html",""); subInfo[10][2] = new Array("Aluminum Die Cast Terminal Boxes","aluminum_tbox.html",""); subInfo[10][3] = new Array("Cast Iron Terminal Boxes","cast_iron_tbox.html",""); subInfo[11][1] = new Array("Plastic Replacement Fans and Hubs","plastic_fans.html",""); subInfo[11][2] = new Array("Aluminum Replacement Fans and Hubs","aluminum_fans.html",""); subInfo[11][3] = new Array("Mini Replacement Fans","mini_fans.html",""); subInfo[11][4] = new Array("Custom Cast Iron Fans","cast_iron_fans.html",""); subInfo[12][1] = new Array("Sleeve Selector Chart","sleeve_chart.html",""); subInfo[13][1] = new Array("Shaft Sleeve Selector Chart","sleeve_shaft_chart.html",""); subInfo[14][1] = new Array("Aluminum Fan Selector Chart","aluminum_fan_chart.html",""); subInfo[15][1] = new Array("Plastic Fan Selector Chart","plastic_fan_chart.html",""); subInfo[16][1] = new Array("Aluminum Fan Selector Chart","aluminum_fan_chart.html",""); subInfo[16][2] = new Array("Plastic Fan Selector Chart","plastic_fan_chart.html",""); subInfo[17][1] = new Array("Tbox Selector Chart","tbox_chart.html",""); //*** SET SUB MENU POSITION ( RELATIVE TO BUTTON ) ***// var xSubOffset = 131; var ySubOffset = 3; //*** NO MORE SETTINGS BEYOND THIS POINT ***// var overSub = false; var delay = 1000; totalButtons = upSources.length; // GENERATE SUB MENUS for ( x=0; x'); // SET DIV FOR BUTTONS WITH SUBMENU } else { document.write(''); } //*** MAIN BUTTONS FUNCTIONS ***// // PRELOAD MAIN MENU BUTTON IMAGES function preload() { for ( x=0; x