/*
function hotelCnty(cnid){
	with(document.formhotel){
		hotelcity_id.options.length=1;
		for(i=0; i<ctry_id.city_id.length; i++){
			if( ctry_id.country_id[i] == cnid )
				{ 
				  var Opt= new Option;
				  Opt.value=ctry_id.city_id[i];
				  Opt.text=ctry_id.city_name[i];
				  hotelcity_id.options[hotelcity_id.options.length]=Opt;
				}
		}
	}
}

function xHotel(frm){
	frm.action="index.cfm";
	frm.target="_self";
	frm.submit();
}

*/
function ssCnty(ctry_id,cnid,frm,sc_id){
		with(frm){
		eval('sscity_id_'+sc_id).options.length=1;
		for(i=0; i<ctry_id.city_id.length; i++){
			if( ctry_id.country_id[i] == cnid )
					{ 
					  var Opt= new Option;
					  Opt.value=ctry_id.city_id[i];
					  Opt.text=ctry_id.city_name[i];
					  eval('sscity_id_'+sc_id).options[ eval('sscity_id_'+sc_id).options.length]=Opt;
					}
				}
			}
		}
		
function xSubmit(frm){
	frm.action="index.cfm";
	frm.target="_self";
	frm.submit();
}