var idx = 0; var idx1 = 0; var idx2 = 0; var cnt = 0;
var city = '';
var url = window.location.href;
idx1=url.lastIndexOf("/");
idx2=url.indexOf("?", idx1);
city = url.substr(idx1, idx2-idx1);
for(i=0; i if(city.charAt(i)=='-') cnt++;
}
26 lis 2009