
// define some colors for setting and testing. We need to do it this way, because IE
// and Firefox use different schemes (hex vs RGB) when testing and comparing colors.
if (!(window.trackviaz)) {
	window.trackviaz = document.createElement('div');

	window.trackviaz.style.backgroundColor = '#ffffff'; var cUncheckedMouseOut  = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#dddddd'; var cUncheckedMouseOver = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#9999ff'; var cCheckedMouseOut    = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#bbbbff'; var cCheckedMouseOver   = window.trackviaz.style.backgroundColor;
}

var server = 'http://www.trackvia.com';

if (!(window.trackvia_content)) {
	window.trackvia_content = new Object();
}

window.trackvia_content['84360'] = '<h1 class="reptitle">Cortina Hotel Details</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(84360,\'FYLLX6iM5i\',1,\'varchar010\',\'A\');" class="datagrid" title="sort ascending">HotelName</th>    <th onclick="loadPage(84360,\'FYLLX6iM5i\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Details</th>    <th onclick="loadPage(84360,\'FYLLX6iM5i\',1,\'varchar007\',\'A\');" class="datagrid" title="sort ascending">Picture1</th>    <th onclick="loadPage(84360,\'FYLLX6iM5i\',1,\'varchar008\',\'A\');" class="datagrid" title="sort ascending">Picture2</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report84360ticket34648533" name="report84360ticket34648533">    <td class="datagrid" id="grid_varchar010_34648533">Olimpia</td>    <td class="datagrid" id="grid_text004_34648533">Hotel Olimpia is a 3 star hotel located in the center of Cortina and 200 meters from the lifts. It has 36 rooms with private bath/shower, telephone, radio, TV, and hair dryer. It offers a breakfast room, bar, sauna, jacuzzi, and fitness room. Buffet breakfast is included.</td>    <td class="datagrid" id="grid_varchar007_34648533"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648533&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_olimpia_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648533&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648533"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648533&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_olimpia_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648533&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84360ticket34648534" name="report84360ticket34648534">    <td class="datagrid" id="grid_varchar010_34648534">Corona</td>    <td class="datagrid" id="grid_text004_34648534">Hotel Corona is a 4 star hotel located 300 meters from the center of Cortina and 100 meters from the lifts. It has 42 rooms with private bath/shower, telephone, radio, TV, hair dryer, and mini bar. It offers an elevator, restaurant, bar, lounge, and internet corner. Buffet breakfast and three course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_34648534"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648534&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_corona_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648534&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648534"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648534&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_corona_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648534&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="unshaded_row"  valign="baseline" id="report84360ticket59768431" name="report84360ticket59768431">    <td class="datagrid" id="grid_varchar010_59768431">Hotel Europa</td>    <td class="datagrid" id="grid_text004_59768431">Hotel Europa is a 4 star hotel located in the center of Cortina. It has 42 rooms with private bath/shower, telephone, TV, hair dryer, safe, and mini bar. It offers an elevator, restaurant, lounge, and massage. Buffet breakfast and four course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_59768431"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=59768431&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_europa_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=59768431&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_59768431"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=59768431&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_europa_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=59768431&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84360ticket34648535" name="report84360ticket34648535">    <td class="datagrid" id="grid_varchar010_34648535">Victoria Park</td>    <td class="datagrid" id="grid_text004_34648535">Hotel Victoria Park is a 4 star hotel located in the center of Cortina and 500 meters from the lifts. It has 41 rooms with private bath/shower, telephone, radio, TV, hair dryer, safe, and mini bar. It offers an elevator, restaurant, bar, library, game room, and internet corner.Buffet breakfast and four course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_34648535"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648535&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_vic_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648535&col=007&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648535"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648535&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448"><img border="0"  title="cort_vic_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648535&col=008&vcode=FYLLX6iM5i&reportid=84360&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <table> <tr><td colspan="4"><span class="greyital">Showing newhotels 1 - 4 of 4.&nbsp;&nbsp;|&nbsp;&nbsp;Powered by TrackVia, an <a target="blank" href="http://www.trackvia.com">online database</a>.</span></td></tr> </table></p> ';
window.trackvia_content['84360-js'] = '';

// this sets the tvNNNN div with whatever is in the content var, which can be refreshed
// via the loadPage routine, which does an on-demand javascript call which changes the value.

function redraw(reportid_string) {
        window.document.getElementById('tv'+reportid_string).style.backgroundColor = '#FFFFFF';
        window.document.getElementById('tv'+reportid_string).className = 'reportwrapper';
        window.document.getElementById('tv'+reportid_string).innerHTML = window.trackvia_content[reportid_string];
	eval(window.trackvia_content[reportid_string+'-js']);
}

function initialize() {
	var head = document.getElementsByTagName("head")[0];
	
	var styles = document.createElement('link');
	styles.href = server+'/stylesheets/public.css';
	styles.rel = "stylesheet";
	styles.type = "text/css";
	head.appendChild(styles);
	
	redraw('84360');
}

function loadPage(reportid,testcode,num,sort1,dir1) {
    var res = '/app/pubrep?v='+testcode+'&a=update&r='+reportid+'&startnum='+num+'&postsort1='+sort1+'&dir1='+dir1+'&accountid=1448';
	loadScript(res);
}

function loadCal(reportid,testcode,mon,year) {
    var res = '/app/pubrep?v='+testcode+'&a=update&r='+reportid+'&cal_month='+mon+'&cal_year='+year+'&accountid=1448';
	loadScript(res);
}

function loadScript(loc) {
	var head = document.getElementsByTagName("head")[0];
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = server + loc;
    head.appendChild(script);
}

initialize()
