function fillCategory(){ // this function is used to fill the category list on load addOption(document.drop_list.Category, 'Western Europe', 'Western Europe');addOption(document.drop_list.Category, 'Bermuda', 'Bermuda');addOption(document.drop_list.Category, 'Venice', 'Venice');addOption(document.drop_list.Category, 'Athens', 'Athens');addOption(document.drop_list.Category, 'Antartica', 'Antartica');addOption(document.drop_list.Category, 'Rome (Civitavecchia)', 'Rome (Civitavecchia)');addOption(document.drop_list.Category, 'Los Angeles', 'Los Angeles');addOption(document.drop_list.Category, 'Singapore', 'Singapore');addOption(document.drop_list.Category, 'Hong Kong', 'Hong Kong');addOption(document.drop_list.Category, 'Athens (Piraeus)', 'Athens (Piraeus)');addOption(document.drop_list.Category, 'Dubai', 'Dubai');addOption(document.drop_list.Category, 'Rio De Janeiro', 'Rio De Janeiro');addOption(document.drop_list.Category, 'Stockholm', 'Stockholm');addOption(document.drop_list.Category, 'Copenhagen', 'Copenhagen');addOption(document.drop_list.Category, 'Bermuda to Barcelona with flights from the UK', 'Bermuda to Barcelona with flights from the UK');addOption(document.drop_list.Category, 'San Francisco', 'San Francisco');addOption(document.drop_list.Category, 'Salen', 'Salen');addOption(document.drop_list.Category, 'Barbados', 'Barbados');addOption(document.drop_list.Category, 'New york', 'New york');addOption(document.drop_list.Category, 'Auckland', 'Auckland');addOption(document.drop_list.Category, 'Phuket', 'Phuket');addOption(document.drop_list.Category, '', '');addOption(document.drop_list.Category, 'Cape Town', 'Cape Town');addOption(document.drop_list.Category, 'Shanghai', 'Shanghai');addOption(document.drop_list.Category, 'Beijing', 'Beijing');addOption(document.drop_list.Category, 'Sydney', 'Sydney');addOption(document.drop_list.Category, 'Tahiti', 'Tahiti');addOption(document.drop_list.Category, 'Bridgetown', 'Bridgetown');} // end of JS function function SelectSubCat(){ // ON or after selection of category this function will work removeAllOptions(document.drop_list.SubCat); addOption(document.drop_list.SubCat, "", "Select Operator", ""); // Collect all element of subcategory for various cat_id if(document.drop_list.Category.value == 'Western Europe'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Bermuda'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Venice'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Athens'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Antartica'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Rome (Civitavecchia)'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Los Angeles'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Singapore'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Hong Kong'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Athens (Piraeus)'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Dubai'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Rio De Janeiro'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Stockholm'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Copenhagen'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Bermuda to Barcelona with flights from the UK'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'San Francisco'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Salen'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Barbados'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'New york'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Auckland'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Phuket'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == ''){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Cape Town'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Shanghai'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Beijing'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Sydney'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Tahiti'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
}if(document.drop_list.Category.value == 'Bridgetown'){
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/devatrav/public_html/includes/list.php on line 45
} } ////////////////// function removeAllOptions(selectbox) { var i; for(i=selectbox.options.length-1;i>=0;i--) { //selectbox.options.remove(i); selectbox.remove(i); } } function addOption(selectbox, value, text ) { var optn = document.createElement("OPTION"); optn.text = text; optn.value = value; selectbox.options.add(optn); }