function gotoHotelUrl(id) { if (id == 40) document.location.href='http://www.budapesthotelstart.com/budapest-hotels/hotel-charles/hotel-summary.ru.html'; if (id == 41) document.location.href='http://www.budapesthotelstart.com/budapest-hotels/elite-studios/hotel-summary.ru.html'; if (id == 42) document.location.href='http://www.budapesthotelstart.com/budapest-hotels/agape-guesthouse/hotel-summary.ru.html'; }