function gotoHotelUrl(id) { if (id == 10) document.location.href='http://www.budapesthotelstart.com/budapest-hotels/hotel-charles/hotel-summary.en.html'; if (id == 12) document.location.href='http://www.budapesthotelstart.com/budapest-hotels/elite-studios/hotel-summary.en.html'; }