//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.

addListGroup("countries", "languages");

addOption("languages", "Select a Country", "", "", 1); //Empty starter option
/*addList("languages", "China", "China", "China");
addList("languages", "Hong Kong", "Hong Kong", "Hong Kong");*/
addList("languages", "International", "International", "International");
addList("languages", "Malaysia", "Malaysia", "Malaysia");
addList("languages", "Philippines", "Philippines", "Philippines");
addList("languages", "Singapore", "Singapore", "Singapore");
addList("languages", "Thailand", "Thailand", "Thailand");



addOption("International", "Select a language", "", "", 1); //Empty starter option
addList("International", "English", "http://www.sharksurf.net/international/en/index.htm", "international-en");
addList("International", "Simplified Chinese", "http://www.sharksurf.net/international/ch/index.htm", "international-ch");

addOption("Malaysia", "Select a language", "", "", 1); //Empty starter option
addList("Malaysia", "English", "http://www.sharksurf.net/my/en/index.htm", "malaysia-en");
addList("Malaysia", "Simplified Chinese", "http://www.sharksurf.net/my/ch/index.htm", "malaysia-ch");

addOption("Philippines", "Select a language", "", "", 1); //Empty starter option
addList("Philippines", "English", "http://www.sharksurf.net/phi/en/index.htm", "philippines-en");

addOption("Singapore", "Select a language", "", "", 1); //Empty starter option
addList("Singapore", "English", "http://www.sharksurf.net/singapore/en/index.htm", "singapore-en");
addList("Singapore", "Simplified Chinese", "http://www.sharksurf.net/singapore/ch/index.htm", "singapore-ch");

addOption("Thailand", "Select a language", "", "", 1); //Empty starter option
addList("Thailand", "English", "http://www.sharksurf.net/th/en/index.htm", "thailand-en");
addList("Thailand", "Thai", "http://www.sharksurf.net/th/th/index.htm", "thailand-ch");

