
// 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['92275'] = '<h1 class="reptitle">St. Moritz Hotel Details Net Pricing</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(92275,\'JmCZqT638m\',1,\'varchar010\',\'A\');" class="datagrid" title="sort ascending">HotelName</th>    <th onclick="loadPage(92275,\'JmCZqT638m\',1,\'text001\',\'A\');" class="datagrid" title="sort ascending">Stars</th>    <th onclick="loadPage(92275,\'JmCZqT638m\',1,\'text002\',\'A\');" class="datagrid" title="sort ascending">Amenities</th>    <th onclick="loadPage(92275,\'JmCZqT638m\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Details</th>    <th onclick="loadPage(92275,\'JmCZqT638m\',1,\'text006\',\'A\');" class="datagrid" title="sort ascending">Booking</th>    <th onclick="loadPage(92275,\'JmCZqT638m\',1,\'varchar007\',\'A\');" class="datagrid" title="sort ascending">Picture1</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report92275ticket34648560" name="report92275ticket34648560">    <td class="datagrid" id="grid_varchar010_34648560">Loffler</td>    <td class="datagrid" id="grid_text001_34648560">3</td>    <td class="datagrid" id="grid_text002_34648560">Breakfast &amp; Dinner, TV, Bar</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_text006_34648560"><a href="http://www.mcabee.com/ski/ski-quote.html" target="_blank">www.mcabee.com</a></td>    <td class="datagrid" id="grid_varchar007_34648560"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648560&col=007&vcode=JmCZqT638m&reportid=92275&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=JmCZqT638m&reportid=92275&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report92275ticket34648562" name="report92275ticket34648562">    <td class="datagrid" id="grid_varchar010_34648562">Baren</td>    <td class="datagrid" id="grid_text001_34648562">4</td>    <td class="datagrid" id="grid_text002_34648562">Breakfast &amp; Dinner, TV, Restaurant, Bar, Pool, Sauna</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_text006_34648562"><a href="http://www.mcabee.com/ski/ski-quote.html" target="_blank">www.mcabee.com</a></td>    <td class="datagrid" id="grid_varchar007_34648562"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648562&col=007&vcode=JmCZqT638m&reportid=92275&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=JmCZqT638m&reportid=92275&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="unshaded_row"  valign="baseline" id="report92275ticket34648563" name="report92275ticket34648563">    <td class="datagrid" id="grid_varchar010_34648563">Monopol</td>    <td class="datagrid" id="grid_text001_34648563">4</td>    <td class="datagrid" id="grid_text002_34648563">Breakfast &amp; Dinner, TV, Restaurant, Bar, Fitness Room, Sauna, Ski-in, Ski-out</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 <span class="greyital">(more...)</span></td>    <td class="datagrid" id="grid_text006_34648563"><a href="http://www.mcabee.com/ski/ski-quote.html" target="_blank">www.mcabee.com</a></td>    <td class="datagrid" id="grid_varchar007_34648563"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648563&col=007&vcode=JmCZqT638m&reportid=92275&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=JmCZqT638m&reportid=92275&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report92275ticket34648561" name="report92275ticket34648561">    <td class="datagrid" id="grid_varchar010_34648561">San Gian</td>    <td class="datagrid" id="grid_text001_34648561">4</td>    <td class="datagrid" id="grid_text002_34648561">Breakfast &amp; Dinner, TV, Restaurant, Bar, Ski-in, Ski-out</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_text006_34648561"><a href="http://www.mcabee.com/ski/ski-quote.html" target="_blank">www.mcabee.com</a></td>    <td class="datagrid" id="grid_varchar007_34648561"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648561&col=007&vcode=JmCZqT638m&reportid=92275&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=JmCZqT638m&reportid=92275&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <table> <tr><td colspan="6"><span class="greyital">Showing newhotels 1 - 4 of 4.</span></td></tr> </table></p> ';
window.trackvia_content['92275-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+'/app/static/stylesheets/public.css';
	styles.rel = "stylesheet";
	styles.type = "text/css";
	head.appendChild(styles);
	
	redraw('92275');
}

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