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=1; //Open links in new window or not? 1=yes, 0=no.

/////DEFINE YOUR MENU LISTS and ITEMS below/////////////////
/*Notes:
-Try to avoid using spaces in names (first column)

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

addOption("First-Select", "Select an operating system", "", 1); //HEADER OPTION
addList("First-Select","Fedora 9", "","fedora9");
addList("First-Select","Fedora 10", "","fedora9");
addList("First-Select","Fedora 11", "","jaunty");
addList("First-Select","Microsoft Windows 7", "", "win7");
addList("First-Select","Microsoft Windows XP SP2", "","xpsp2");
addList("First-Select","Microsoft Windows XP SP3", "","xpsp3");
addList("First-Select","Microsoft Windows Vista", "","vista");
addList("First-Select","Mac OS X 10.3.3 (Panther)","","osxtiger");
addList("First-Select","Mac OS X 10.4 (Tiger)", "","osxtiger");
addList("First-Select","Mac OS X 10.5 (Leopard)", "","osxleopard");
addList("First-Select","Ubuntu Linux 7.10 and below", "","linux");
addList("First-Select","Ubuntu Linux 8.04 (Hardy Heron)", "","hardy");
addList("First-Select","Ubuntu Linux 8.10 (Intrepid Ibex)", "","ibex");
addList("First-Select","Ubuntu Linux 9.04 (Jaunty Jackalope)","","jaunty");

//FEDORA 9 (and Intrepid Ibex)
addOption("fedora9", "Select an item", "", 1); //HEADER OPTION
//addOption("fedora9", "Internet Connection Sharing", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/linuxnat/");
addOption("fedora9", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/fedora9");
addOption("fedora9", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/fedora9");//END OF THIS NODE
//XP SP2
addOption("xpsp2", "Select an item", "", 1); //HEADER OPTION
addOption("xpsp2", "Keeping Your Computer Updated", "http://www.dhnet.ufl.edu/getconnected/tutorials/update/winxp");
addList("xpsp2", "Internet Connection Sharing", "", "xp-ics");
addList("xpsp2", "Peer-to-Peer Software Removal", "", "xp-p2p");
addList("xpsp2", "Quick Help Tutorials", "", "quick-help");
addOption("xpsp2", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/xpsp2");
addOption("xpsp2", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/xpsp2"); 

addOption("xp-ics", "Select an item", "", 1);
addOption("xp-ics", "Nintendo Wii", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/wiixp/");
addOption("xp-ics", "Microsoft XBox 360", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/xbox_xp");
addOption("xp-ics", "Sony Playstation 3", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/ps3xp");
addOption("xp-ics", "Other", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/winxp");

addOption("xp-p2p", "Select an item", "", 1);
addOption("xp-p2p", "Azureus", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/azureus_winxp/");
addOption("xp-p2p", "Bit Comet", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/bitcomet_windows/");
addOption("xp-p2p", "Bit Lord", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/bitlord_windows/");
addOption("xp-p2p", "Bit Torrent", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/bittorrent_windows/");
addOption("xp-p2p", "eMule", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/emule_windows/");
addOption("xp-p2p", "Frostwire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/frostwire_windows/");
addOption("xp-p2p", "Limewire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/lime_windows/");
addOption("xp-p2p", "µTorrent", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/utorrent_xp");

addOption("quick-help", "Select an item", "", 1); //HEADER OPTION
addOption("quick-help", "Updating Your System Clock", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#clock");
addOption("quick-help", "Resynchronizing your Gatorlink password", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#resync");
addOption("quick-help", "Hibernation and Sleep", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#sleep");
addOption("quick-help", "Problems with Rebooting", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#rebooting");
addOption("quick-help", "Firewall Issues", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#firewall");
addOption("quick-help", "IPS SERVIDORES certificate not installed", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#certificate"); //END OF THIS NODE
//XP SP3
addOption("xpsp3", "Select an item", "", 1); //HEADER OPTION
addList("xpsp3", "Internet Connection Sharing", "", "xp-ics");
addOption("xpsp3", "Keeping Your Computer Updated", "http://www.dhnet.ufl.edu/getconnected/tutorials/update/winxp");
addList("xpsp3", "Peer-to-Peer Software Removal", "", "xp-p2p");
addList("xpsp3", "Quick Help Tutorials", "", "quick-help-xpsp3");
addOption("xpsp3", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/xpsp3");
addOption("xpsp3", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/xpsp3"); //END OF THIS NODE

addOption("quick-help-xpsp3", "Select an item", "", 1); //HEADER OPTION
addOption("quick-help-xpsp3", "Updating Your System Clock", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#clock");
addOption("quick-help-xpsp3", "Resynchronizing your Gatorlink password", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#resync");
addOption("quick-help-xpsp3", "Hibernation and Sleep", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#sleep");
addOption("quick-help-xpsp3", "Problems with Rebooting", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#rebooting");
addOption("quick-help-xpsp3", "Firewall Issues", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#firewall");
addOption("quick-help-xpsp3", "IPS SERVIDORES certificate not installed", "http://www.dhnet.ufl.edu/getconnected/tutorials/connectionhelp#certificate");

//Windows 7
addOption("win7", "Select an item", "", 1);
addList("win7", "Internet Connection Sharing", "", "win7-ics");
addOption("win7", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/win7");
addOption("win7", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/win7");

//Vista
addOption("vista", "Select an item", "", 1);
addList("vista", "Internet Connection Sharing", "", "vista-ics");
addOption("vista", "Keeping Your Computer Updated", "http://www.dhnet.ufl.edu/getconnected/tutorials/update/vista");
addList("vista", "Peer-to-Peer Software Removal", "", "vista-p2p");
addList("vista", "Quick Help Tutorials", "", "quick-help");
addOption("vista", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/vista");
addOption("vista", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/vista");

addOption("vista-ics", "Select an item", "", 1);
addOption("vista-ics", "Microsoft XBox 360", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/xbox_vista");
addOption("vista-ics", "Sony Playstation 3", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/ps3vista");
addOption("vista-ics", "Nintendo Wii", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/wiivista");

addOption("vista-p2p", "Select an item", "", 1);
addOption("vista-p2p", "Azureus", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/azureus_vista/");
addOption("vista-p2p", "Bit Comet", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/bitcomet_windows/");
addOption("vista-p2p", "Bit Lord", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/bitlord_windows/");
addOption("vista-p2p", "Bit Torrent", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/bittorrent_windows/");
addOption("vista-p2p", "eMule", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/emule_windows/");
addOption("vista-p2p", "Frostwire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/frostwire_windows/");
addOption("vista-p2p", "Limewire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/lime_windows/");
addOption("vista-p2p", "µTorrent", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/utorrent_vista/");
//OSX TIGER
addOption("osxtiger", "Select an item", "", 1);
addOption("osxtiger", "Internet Connection Sharing", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/");
addOption("osxtiger", "Keeping Your Computer Updated", "http://www.dhnet.ufl.edu/getconnected/tutorials/update/osx/");
addList("osxtiger", "Peer-to-Peer Software Removal", "", "osx-p2p");
addList("osxtiger", "Quick Help Tutorials", "", "quick-help");
addOption("osxtiger", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/osxtiger");
addOption("osxtiger", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/osxtiger");

addOption("osx-p2p", "Select an item", "", 1);
addOption("osx-p2p", "Azureus", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/azureus_osx/");
addOption("osx-p2p", "Bit Torrent", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/bittorrent_osx/");
addOption("osx-p2p", "Frostwire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/frostwire_osx/");
addOption("osx-p2p", "Limewire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/lime_osx/");
//OSX LEOPARD
addOption("osxleopard", "Select an item", "", 1);
addOption("osxleopard", "Internet Connection Sharing", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/");
addOption("osxleopard", "Keeping Your Computer Updated", "http://www.dhnet.ufl.edu/getconnected/tutorials/update/osx/");
addList("osxleopard", "Peer-to-Peer Software Removal", "", "osx-p2p");
addList("osxleopard", "Quick Help Tutorials", "", "quick-help");
addOption("osxleopard", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/osxleopard");
addOption("osxleopard", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/osxleopard");
//UBUNTU 7.10
addOption("linux", "Select an item", "", 1);
addOption("linux", "Internet Connection Sharing", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/linux/");
addOption("linux", "Keeping Your Computer Updated", "http://www.dhnet.ufl.edu/getconnected/tutorials/update/ubuntu/");
addList("linux", "Peer-to-Peer Software Removal", "", "linux-p2p");
addOption("linux", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/linux/");
addOption("linux", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/linux");

addOption("linux-p2p", "Select an item", "", 1);
addOption("linux-p2p", "Azureus", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/azureus_ubuntu/");
addOption("linux-p2p", "Frostwire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/frostwire_ubuntu/");
addOption("linux-p2p", "Limewire", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/lime_ubuntu/");
addOption("linux-p2p", "Transmission", "http://www.dhnet.ufl.edu/getconnected/tutorials/p2premoval/transmission/");	
//UBUNTU 8.04
addOption("hardy", "Select an item", "", 1);
addList("hardy", "Internet Connection Sharing", "", "linux-nat");
addOption("hardy", "Keeping Your Computer Updated", "http://www.dhnet.ufl.edu/getconnected/tutorials/update/ubuntu/");
addOption("hardy", "Peer-to-Peer Software Removal", "", "linux-p2p");
addOption("hardy", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/hardy/");
addOption("hardy", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/linux/");	
//UBUNTU 8.10
addOption("ibex", "Select an item", "", 1); //HEADER OPTION
addList("ibex", "Internet Connection Sharing", "", "linux-nat");
addOption("ibex", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/fedora9");
addOption("ibex", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/fedora9");//END OF THIS NODE
//Ubuntu 9.04
addOption("jaunty", "Select a tutorial type", "", 1);
addOption("jaunty", "Wired", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/jaunty");
addOption("jaunty", "Wireless", "http://www.dhnet.ufl.edu/getconnected/tutorials/wireless/jaunty");
addList("jaunty", "Internet Connection Sharing", "", "linux-nat");

//Linuxnat
addOption("linux-nat", "Select your device", "", 1);
addOption("linux-nat", "Xbox 360", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/xbox_linuxnat");
addOption("linux-nat", "Wii", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/wii_linuxnat");
addOption("linux-nat", "Playstation 3", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/ps3_linuxnat");

//Windows 7 : ICS
addOption("win7-ics", "Select your device", "", 1);
addOption("win7-ics", "Xbox 360", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/xbox360_win7");
addOption("win7-ics", "Wii", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/wii_win7");
addOption("win7-ics", "Playstation 3", "http://www.dhnet.ufl.edu/getconnected/tutorials/wired/ics/ps3_win7");
