//var hide_empty_list=true; //If we uncomment this line it will 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 testing so we can see the value of the destination URL. Set to "goto" when below configuration is all set up as desired. 

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

////Yo, Menu Item Definitions./////////////////

addListGroup("chainedmenu", "First-Select");

addOption("First-Select", "Select Filter Thickness", "", 1); //HEADER OPTION
addList("First-Select", "1 Inch", "", "oneinch");
addList("First-Select", "2 Inch", "", "twoinch");
//addList("First-Select", "3 Inch or Greater", "", "threeinch");

addOption("oneinch", "Select Filter Size", "", 1); //HEADER OPTION
addList("oneinch", "10 x 10 x 1", "", "10101");//std
addList("oneinch", "10 x 20 x 1", "", "10201");//std
addList("oneinch", "12 x 12 x 1", "", "12121");//std
addList("oneinch", "12 x 20 x 1", "", "12201");//std/upgrade
addList("oneinch", "12 x 24 x 1", "", "12241");//std/upgrade/premium
addList("oneinch", "15 x 20 x 1", "", "15201");//std/upgrade/premium
addList("oneinch", "16 x 20 x 1", "", "16201");//std/upgrade/premium
addList("oneinch", "16 x 24 x 1", "", "16241");//std/upgrade/premium
addList("oneinch", "16 x 25 x 1", "", "16251");//std/upgrade/premium
addList("oneinch", "18 x 24 x 1", "", "18241");//std/upgrade/premium
addList("oneinch", "20 x 20 x 1", "", "20201");//std/upgrade/premium
addList("oneinch", "20 x 24 x 1", "", "20241");//std/upgrade/premium
addList("oneinch", "20 x 25 x 1", "", "20251");//std/upgrade/premium
addList("oneinch", "22 x 22 x 1", "", "22221");//std
addList("oneinch", "24 x 24 x 1", "", "24241");//std/upgrade/premium


addOption("10101", "Select Filter", "", 1); //HEADER OPTION
addList("10101", "Standard - $4.71 ea", "http://www.acdirect.com/xcart/product.php?productid=2176"); //END OF THIS NODE

addOption("10201", "Select Filter", "", 1); //HEADER OPTION
addList("10201", "Standard Filter - $5.40 ea", "http://www.acdirect.com/xcart/product.php?productid=2177");
addList("10201", "Upgrade Filter - $7.22 ea", "http://www.acdirect.com/xcart/product.php?productid=2201");//END OF THIS NODE

addOption("12121", "Select Filter", "", 1); //HEADER OPTION
addList("12121", "Standard - $5.65 ea", "http://www.acdirect.com/xcart/product.php?productid=2178");

addOption("12201", "Select Filter", "", 1); //HEADER OPTION
addList("12201", "Standard - $5.68 ea", "http://www.acdirect.com/xcart/product.php?productid=2179");
addList("12201", "Upgrade - $8.38 ea", "http://www.acdirect.com/xcart/product.php?productid=2202"); 

addOption("12241", "Select Filter", "", 1); //HEADER OPTION
addList("12241", "Standard - $5.15 ea", "http://www.acdirect.com/xcart/product.php?productid=2180");
addList("12241", "Upgrade - $7.52 ea", "http://www.acdirect.com/xcart/product.php?productid=2203"); 
addList("12241", "Premium - $12.21 ea", "http://www.acdirect.com/xcart/product.php?productid=2219"); //END OF THIS NODE

addOption("15201", "Select Filter", "", 1); //HEADER OPTION
addList("15201", "Standard - $5.87 ea", "http://www.acdirect.com/xcart/product.php?productid=2181");

addOption("16201", "Select Filter", "", 1); //HEADER OPTION
addList("16201", "Standard - $5.20 ea", "http://www.acdirect.com/xcart/product.php?productid=2182");
addList("16201", "Upgrade - $7.67 ea", "http://www.acdirect.com/xcart/product.php?productid=2204"); 
addList("16201", "Premium - $12.70 ea", "http://www.acdirect.com/xcart/product.php?productid=2220"); //END OF THIS NODE

addOption("16241", "Select Filter", "", 1); //HEADER OPTION
addList("16241", "Standard - $7.94 ea", "http://www.acdirect.com/xcart/product.php?productid=2183");
addList("16241", "Upgrade - $12.60 ea", "http://www.acdirect.com/xcart/product.php?productid=2205"); 
addList("16241", "Premium - $14.31 ea", "http://www.acdirect.com/xcart/product.php?productid=2221"); //END OF THIS NODE

addOption("16251", "Select Filter", "", 1); //HEADER OPTION
addList("16251", "Standard - $5.71 ea", "http://www.acdirect.com/xcart/product.php?productid=2184");
addList("16251", "Upgrade - $8.46 ea", "http://www.acdirect.com/xcart/product.php?productid=2206"); 
addList("16251", "Premium - $14.37 ea", "http://www.acdirect.com/xcart/product.php?productid=2222"); //END OF THIS NODE

addOption("18241", "Select Filter", "", 1); //HEADER OPTION
addList("18241", "Standard - $6.79 ea", "http://www.acdirect.com/xcart/product.php?productid=2185");
addList("18241", "Upgrade - $8.59", "http://www.acdirect.com/xcart/product.php?productid=2207"); 
addList("18241", "Premium - $15.93 ea", "http://www.acdirect.com/xcart/product.php?productid=2223"); //END OF THIS NODE

addOption("20201", "Select Filter", "", 1); //HEADER OPTION
addList("20201", "Standard - $6.55 ea", "http://www.acdirect.com/xcart/product.php?productid=2186");
addList("20201", "Upgrade - $9.27 ea", "http://www.acdirect.com/xcart/product.php?productid=2208"); 
addList("20201", "Premium - $15.18 ea", "http://www.acdirect.com/xcart/product.php?productid=2224"); //END OF THIS NODE

addOption("20241", "Select Filter", "", 1); //HEADER OPTION
addList("20241", "Standard - $7.03 ea", "http://www.acdirect.com/xcart/product.php?productid=2187");
addList("20241", "Upgrade - $10.21 ea", "http://www.acdirect.com/xcart/product.php?productid=2209"); 
addList("20241", "Premium - $17.18 ea", "http://www.acdirect.com/xcart/product.php?productid=2225"); //END OF THIS NODE

addOption("20251", "Select Filter", "", 1); //HEADER OPTION
addList("20251", "Standard - $7.16 ea", "http://www.acdirect.com/xcart/product.php?productid=2188");
addList("20251", "Upgrade - $10.28 ea", "http://www.acdirect.com/xcart/product.php?productid=2210"); 
addList("20251", "Premium - $17.66 ea", "http://www.acdirect.com/xcart/product.php?productid=2226"); //END OF THIS NODE

addOption("22221", "Select Filter", "", 1); //HEADER OPTION
addList("22221", "Standard - $9.55 ea", "http://www.acdirect.com/xcart/product.php?productid=2189");

addOption("24241", "Select Filter", "", 1); //HEADER OPTION
addList("24241", "Standard - $7.59 ea", "http://www.acdirect.com/xcart/product.php?productid=2190");
addList("24241", "Upgrade - $10.98 ea", "http://www.acdirect.com/xcart/product.php?productid=2211"); 
addList("24241", "Premium - $19.52 ea", "http://www.acdirect.com/xcart/product.php?productid=2227"); //END OF THIS NODE

//two inch filter selections

addOption("twoinch", "Select Filter Size", "", 1); //HEADER OPTION
addList("twoinch", "12 x 24 x 2", "", "12242");
addList("twoinch", "16 x 20 x 2", "", "16202");
addList("twoinch", "16 x 24 x 2", "", "16242");
addList("twoinch", "16 x 25 x 2", "", "16252");
addList("twoinch", "20 x 20 x 2", "", "20202");
addList("twoinch", "20 x 24 x 2", "", "20242");
addList("twoinch", "20 x 25 x 2", "", "20252");
addList("twoinch", "24 x 24 x 2", "", "24242");

addOption("12242", "Select Filter", "", 1); //HEADER OPTION
addList("12242", "Standard Filter - $7.06 ea", "http://www.acdirect.com/xcart/product.php?productid=2191");
addList("12242", "Upgraded Filter - $9.60 ea", "http://www.acdirect.com/xcart/product.php?productid=2212"); 
addList("12242", "Premium Filter- $15.17 ea", "http://www.acdirect.com/xcart/product.php?productid=2228"); //END OF THIS NODE

addOption("16202", "Select Filter", "", 1); //HEADER OPTION
addList("16202", "Standard - $6.84 ea", "http://www.acdirect.com/xcart/product.php?productid=2192");
addList("16202", "Upgrade - $9.40 ea", "http://www.acdirect.com/xcart/product.php?productid=2213"); 
addList("16202", "Premium - $15.89 ea", "http://www.acdirect.com/xcart/product.php?productid=2229"); //END OF THIS NODE

addOption("16242", "Select Filter", "", 1); //HEADER OPTION
addList("16242", "Standard - $8.69 ea", "http://www.acdirect.com/xcart/product.php?productid=2193");
addList("16242", "Upgrade - $12.48 ea", "http://www.acdirect.com/xcart/product.php?productid=2214"); 
addList("16242", "Premium - $18.36 ea", "http://www.acdirect.com/xcart/product.php?productid=2230"); //END OF THIS NODE

addOption("16252", "Select Filter", "", 1); //HEADER OPTION
addList("16252", "Standard - $7.67 ea", "http://www.acdirect.com/xcart/product.php?productid=2194");
addList("16252", "Upgrade - $10.84 ea", "http://www.acdirect.com/xcart/product.php?productid=2199"); 
addList("16252", "Premium - $19.02 ea", "http://www.acdirect.com/xcart/product.php?productid=2200"); //END OF THIS NODE

addOption("20202", "Select Filter", "", 1); //HEADER OPTION
addList("20202", "Standard - $7.70 ea", "http://www.acdirect.com/xcart/product.php?productid=2195");
addList("20202", "Upgrade - $9.97 ea", "http://www.acdirect.com/xcart/product.php?productid=2215");  //END OF THIS NODE

addOption("20242", "Select Filter", "", 1); //HEADER OPTION
addList("20242", "Standard - $8.85 ea", "http://www.acdirect.com/xcart/product.php?productid=2196");
addList("20242", "Upgrade - $12.40 ea", "http://www.acdirect.com/xcart/product.php?productid=2216"); 
addList("20242", "Premium - $21.69 ea", "http://www.acdirect.com/xcart/product.php?productid=2231"); //END OF THIS NODE

addOption("20252", "Select Filter", "", 1); //HEADER OPTION
addList("20252", "Standard - $8.71 ea", "http://www.acdirect.com/xcart/product.php?productid=2197");
addList("20252", "Upgrade - $11.99 ea", "http://www.acdirect.com/xcart/product.php?productid=2217"); 
addList("20252", "Premium - $22.21 ea", "http://www.acdirect.com/xcart/product.php?productid=2232"); //END OF THIS NODE

addOption("24242", "Select Filter", "", 1); //HEADER OPTION
addList("24242", "Standard - $9.44 ea", "http://www.acdirect.com/xcart/product.php?productid=2198");
addList("24242", "Upgrade - $12.82 ea", "http://www.acdirect.com/xcart/product.php?productid=2218"); 
addList("24242", "Premium - $24.79 ea", "http://www.acdirect.com/xcart/product.php?productid=2233"); //END OF THIS NODE


//three inch and HIGHER filter selections

//addOption("threeinch", "Section Under Modification", "", 1); //HEADER OPTION
//addList("threeinch", "20 x 25 x 5", "", "20255");
//addList("threeinch", "20 x 20 x 5", "", "20205");
//addList("threeinch", "16 x 25 x 3", "", "16253");
//addList("threeinch", "16 x 25 x 5", "", "16255");
//addList("threeinch", "20 x 25 x 6", "", "20256");
//addList("threeinch", "16 x 27 x 6", "", "16276");
//addList("threeinch", "16 x 26 x 5", "", "16265");
//addList("threeinch", "20 x 26 x 5", "", "20265");
//addList("threeinch", "20 x 24 x 5", "", "20245");
//addList("threeinch", "14 x 26 x 5", "", "14265");
//addList("threeinch", "26 x 21 x 5", "", "26215");
//addList("threeinch", "17.5 x 27 x 5", "", "175275");
//addList("threeinch", "21 x 27 x 5", "", "21175");
//addList("threeinch", "21.5 x 21 x 5", "", "215215");
//addList("threeinch", "23.2 x 20.1 x 5", "", "2322015");
//addList("threeinch", "24 x 26 x 5", "", "24265");
