// JavaScript Document


pic1off= new Image();
pic1off.src = "http://www.hotelenthusiast.com/Images/homepage/winter.jpg";
pic1on = new Image();
pic1on.src = "http://www.hotelenthusiast.com/Images/homepage/woff.gif";

pic2off= new Image();
pic2off.src = "http://www.hotelenthusiast.com/Images/homepage/spring.jpg";
pic2on = new Image();
pic2on.src = "http://www.hotelenthusiast.com/Images/homepage/spoff.gif";

pic3off= new Image();
pic3off.src = "http://www.hotelenthusiast.com/Images/homepage/summer.jpg";
pic3on = new Image();
pic3on.src = "http://www.hotelenthusiast.com/Images/homepage/suoff.gif";

pic4off= new Image();
pic4off.src = "http://www.hotelenthusiast.com/Images/homepage/autumn.jpg";
pic4on = new Image();
pic4on.src = "http://www.hotelenthusiast.com/Images/homepage/aoff.gif";

var msg = Object;
msg['text1'] = '<b>WINTER DESTINATIONS</b><br><strong>Dates:</strong><br>21 Dec. - 20 March<br><br><strong>Hotel Guides in:</strong><br>&raquo Amsterdam<br>&raquo Berlin<br>&raquo Venice<br>&raquo French Alps';

msg['text2'] = '<b>SPRING DESTINATIONS</b><br><strong>Dates:</strong><br>21st March - 20th June<br><br><strong>Hotel Guides in:</strong><br>&raquo Paris<br>&raquo Seville<br>&raquo Sicily<br>&raquo Tallinn';

msg['text3'] = '<b>SUMMER DESTINATIONS</b><br><strong>Dates:</strong><br>21st June - 20th Sept.<br><br><strong>Hotel Guides in:</strong><br>&raquo Ibiza<br>&raquo London<br>&raquo Biarritz<br>&raquo Dublin';

msg['text4'] = '<b>AUTUMN DESTINATIONS</b><br><strong>Dates:</strong><br>21st Sept. - 20th Dec.<br><br><strong>Hotel Guides in:</strong><br>&raquo Prague<br>&raquo Rome<br>&raquo Florence<br>&raquo Barcelona';

msg['text99'] = ' <img src=http://www.hotelenthusiast.com/Images/homepage/0.gif width="160" height="200"> ';

function getElement(id) {
return document.getElementById ? document.getElementById(id) :
document.all ? document.all(id) : null;
}

function rollTwo(which, state, textCellId) {
document['pic' + which].src = window['pic' + which + state].src;
var el = getElement(textCellId);
if (el && typeof el.innerHTML != 'undefined') {
if (state == 'on') el.innerHTML = msg['text' + which];
else el.innerHTML = msg['text99'];
}
}