function gotoHotelUrl(id) { if (id == 31) document.location.href='http://www.budapesthotelstart.com/budapest-hotels/hotel-charles/informatii-hotel.ro.html'; if (id == 33) document.location.href='http://www.budapesthotelstart.com/budapest-hotels/agape-guesthouse/informatii-hotel.ro.html'; }