
// 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['84369'] = '<h1 class="reptitle">St. Moritz Hotel Details</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(84369,\'qzJ9BstmzP\',1,\'varchar010\',\'A\');" class="datagrid" title="sort ascending">HotelName</th>    <th onclick="loadPage(84369,\'qzJ9BstmzP\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Details</th>    <th onclick="loadPage(84369,\'qzJ9BstmzP\',1,\'varchar007\',\'A\');" class="datagrid" title="sort ascending">Picture1</th>    <th onclick="loadPage(84369,\'qzJ9BstmzP\',1,\'varchar008\',\'A\');" class="datagrid" title="sort ascending">Picture2</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report84369ticket34648560" name="report84369ticket34648560">    <td class="datagrid" id="grid_varchar010_34648560">Loffler</td>    <td class="datagrid" id="grid_text004_34648560">Hotel Loffler is a 3 star hotel located 400 meters from the center of St.Moritz and 200 meters from the lifts. It has 36 rooms with private bath/shower, telephone, radio, TV, hair dryer, and mini bar. It offers an elevator, breakfast room, and lounge. Buffet breakfast is included.</td>    <td class="datagrid" id="grid_varchar007_34648560"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648560&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_loffler_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648560&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648560"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648560&col=008&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_loffer_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648560&col=008&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84369ticket34648562" name="report84369ticket34648562">    <td class="datagrid" id="grid_varchar010_34648562">Baren</td>    <td class="datagrid" id="grid_text004_34648562">Hotel Baren is a 4 star hotel located 500 meters from the center of St.Moritz-Bad and 700 meters from the lifts. It has 64 rooms with private bath/shower, telephone, radio, TV, hair dryer, safe, and mini bar. It offers an elevator, restaurant, bar, indoor pool, sauna, steam bath, massage, and fitness room. Buffet breakfast is included.</td>    <td class="datagrid" id="grid_varchar007_34648562"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648562&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_baren_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648562&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648562"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648562&col=008&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_baren_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648562&col=008&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="unshaded_row"  valign="baseline" id="report84369ticket34648563" name="report84369ticket34648563">    <td class="datagrid" id="grid_varchar010_34648563">Monopol</td>    <td class="datagrid" id="grid_text004_34648563">Hotel Monopol is a 4 star hotel located in the center of St.Moritz-Dorf and 100 meters from the lifts. It has 76 rooms with private bath/shower, telephone, radio, TV, hair dryer, safe, and mini bar. It offers an elevator, restaurant, bar, sauna, steam bath, jacuzzi, fitness room, solarium, massage, free shuttle bus to/from train station, and live music 5 nights a week. Buffet breakfast is included.</td>    <td class="datagrid" id="grid_varchar007_34648563"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648563&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_monopol_hotel_3.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648563&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648563"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648563&col=008&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_monopol_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648563&col=008&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84369ticket34648561" name="report84369ticket34648561">    <td class="datagrid" id="grid_varchar010_34648561">San Gian</td>    <td class="datagrid" id="grid_text004_34648561">Hotel San Gian is a 4 star hotel located in the center of St.Moritz-Bad and 100 meters from the lifts. It has 48 rooms with private bath/shower, telephone, radio, TV, hair dryer, and mini bar. It offers an elevator, restaurant, and bar. Buffet breakfast and four course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_34648561"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648561&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_san_gian_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648561&col=007&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648561"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648561&col=008&vcode=qzJ9BstmzP&reportid=84369&datasetid=13544&accountid=1448"><img border="0"  title="st_mor_san_gian_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648561&col=008&vcode=qzJ9BstmzP&reportid=84369&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['84369-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('84369');
}

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()
