
var ajax = new sack();

function getAllLists(orig)
{
ajax.requestFile =
"/countryCityAutocomplete.yhtml?orig=" + orig +
"&co2=" + encodeURI($("toCountry").value) +
"&ci1=" + encodeURI($("fromCity").value) +
"&ci2=" + encodeURI($("toCity").value) +
"&co1=" + encodeURI($("fromCountry").value);
ajax.onCompletion = function() {
eval(ajax.response);
//                alert(ajax.response);
};
ajax.runAJAX();
}


function setupSugests() {
Calendar.setup({ inputField : "dateDeparture", ifFormat : "%d.%m.%Y", button : "dateTrigger", align : "bc"});
getAllLists("");
}
