//var hide_empty_list=true; //uncomment this line to hide empty selection lists
var disable_empty_list=true; //uncomment this line to disable empty selection lists

var onclickaction="goto" //set to "alert" or "goto". Former is for debugging purposes, to tell you the value of the final selected list that will be used as the destination URL. Set to "goto" when below configuration is all set up as desired. 

var newwindow=0 //Open links in new window or not? 1=yes, 0=no.

/////DEFINE YOUR MENU LISTS and ITEMS below/////////////////
//TOYOTA FRONT SPRINGS
addListGroup("chainedmenu", "First-Select");

addOption("First-Select", "Select an item", "", 1); 
addList("First-Select", "Front Springs", "", "front");
addList("First-Select", "Rear Springs", "", "rear");


//TOYOTA REAR SPRINGS
addOption("rear", "Select an item", "", 1); 
addList("rear", "Pickup", "", "rpickup");
addList("rear", "Tacoma", "", "tacoma");
addList("rear", "Tundra", "", "tundra");


addOption("rpickup", "Select an item", "", 1);
addOption("rpickup", "1979 - 1983", "javascript:popup('showspring.php?id=toyota-79-83');");
addOption("rpickup", "1984 - 1988", "javascript:popup('showspring.php?id=toyota-84-88');");
addOption("rpickup", "1989 - 1994", "javascript:popup('showspring.php?id=toyota-89-94');");

addOption("tacoma", "Select an item", "", 1);
addOption("tacoma", "1995 - 1997 4x2", "javascript:popup('showspring.php?id=toyota-tacoma4x2-95-97');");
addOption("tacoma", "1995 - 1997 4x4", "javascript:popup('showspring.php?id=toyota-tacoma4x4-95-97');");
addOption("tacoma", "1998 - 2004", "javascript:popup('showspring.php?id=toyota-tacoma-98-04');");
addOption("tacoma", "1998 - 2000 X/Dbl/Prerunner", "javascript:popup('showspring.php?id=toyota-tacoma-x-98-00');");
addOption("tacoma", "2000 - 2004 X/Dbl/Prerunner", "javascript:popup('showspring.php?id=toyota-tacoma-x-00-04');");
addOption("tacoma", "2005 - 2006 4x2", "javascript:popup('showspring.php?id=toyota-tacoma-4x2-05-06');");
addOption("tacoma", "2005 - 2006 4x4", "javascript:popup('showspring.php?id=toyota-tacoma-4x4-05-06');");


addOption("tundra", "Select an item", "", 1);
addOption("tundra", "2000 - 2005", "javascript:popup('showspring.php?id=toyota-tundra-00-05');");
