/* Original code Copyright (c) 1996 Nick Heinle and Athenia Associates, 
*   all rights reserved. 
*
* Modified for anvilfire.com (c) 2003 Jock Dempsey, all rights reserved. 
* 
* Local iForge demo version
*/

function MakeArray()
 {
 this.length = MakeArray.arguments.length
 for (var i = 0; i < this.length; i++)
 this[i+1] = MakeArray.arguments[i]
 }

var siteopt = new MakeArray("Press Tooling",
         "INDEX      ",
         "Flat Dies  ",
         "Punch &amp; Die",
         "Break      ",
         "Combination",
         "Curve Bend ",
         "Hinge Roll ",
         "Notching   ",
         "Forging    ",
         "Anvil Tools",
         "Dishing    ",
         "Punch Holder",
         "",
         "",
         "");

var url = new MakeArray("",
         "tooling.htm",
         "tool_detail_flat_die.htm",
         "tool_detail_punch_die.htm",
         "tool_detail_break.htm",
         "tool_detail_combination.htm",
         "tool_detail_curve.htm",
         "tool_detail_hinge.htm",
         "tool_detail_notching.htm",
         "tool_detail_forging.htm",
         "tool_detail_anvil_tools.htm",
         "tool_detail_dishing.htm",
         "tool_detail_punch_holder.htm",
         "tool_detail_.htm",
         "",
         "",
         "",
         "");

function jumpPage(form)
{
		i = form.SelectMenu.selectedIndex;
		 if (i == 0) return;
		 location.href=  url[i+1];

        form.SelectMenu.selectedIndex = 0;
}

