//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="alert" //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.
addListGroup("chainedmenu", "First-Select");

addOption("First-Select", "Select City", "", 1); //HEADER OPTION
addList("First-Select", "Jammu", "", "Webmaster");
addList("First-Select", "Kashmir", "", "News");
addList("First-Select", "Ladakh", "", "Cars");

addOption("Webmaster", "Select Location", "", 1); //HEADER OPTION
addList("Webmaster", "Jammu", "Jammu", "Jammu");
addList("Webmaster", "Katra", "Katra", "Katra");
addOption("Webmaster", "Patnitop", "Patnitop", "Patnitop"); //END OF THIS NODE


addOption("News", "Select Location", "", 1); //HEADER OPTION
addList("News", "Srinagar", "Srinagar", "Srinagar");
addList("News", "Pahalgam", "Pahalgam", "Pahalgam");
addList("News", "Gulmarg", "Gulmarg", "Gulmarg");
addList("News", "Houseboat (DAL LAKE )", "Houseboat (DAL LAKE )", "DAL LAKE");
addList("News", "Houseboat (Nageen LAKE )", "Houseboat (Nageen LAKE )", "Nageen LAKE");
addList("News", "Sonmarg", "Sonmarg", "Sonmarg");


addOption("Cars", "Select Location", "", 1); //HEADER OPTION
addList("Cars", "Kargil", "Kargil", "Kargil");
addList("Cars", "Leh", "Leh", "Leh");
addList("Cars", "Uletokpo CAMP", "Uletokpo CAMP", "Uletokpo CAMP");
addList("Cars", "ALCHI", "ALCHI", "ALCHI");
addList("Cars", "Tsomoriri", "Tsomoriri", "Tsomoriri");
addList("Cars", "Tsokar", "Tsokar", "Tsokar");
addList("Cars", "Pangong", "Pangong", "Pangong");
addList("Cars", "Sarchu CAMP", "Sarchu CAMP", "Sarchu CAMP");

