
// 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['84372'] = '<h1 class="reptitle">Zermatt Hotel Details</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(84372,\'5NElH9dFKh\',1,\'varchar010\',\'A\');" class="datagrid" title="sort ascending">HotelName</th>    <th onclick="loadPage(84372,\'5NElH9dFKh\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Details</th>    <th onclick="loadPage(84372,\'5NElH9dFKh\',1,\'varchar007\',\'A\');" class="datagrid" title="sort ascending">Picture1</th>    <th onclick="loadPage(84372,\'5NElH9dFKh\',1,\'varchar008\',\'A\');" class="datagrid" title="sort ascending">Picture2</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report84372ticket34648570" name="report84372ticket34648570">    <td class="datagrid" id="grid_varchar010_34648570">Bristol</td>    <td class="datagrid" id="grid_text004_34648570">Hotel Bristol is a 3 star hotel located 200 meters from the center of Zermatt and 200 meters from the lifts. It has 49 rooms with private bath/shower, telephone, radio, TV, hair dryer, and mini bar. It offers an elevator, restaurant, bar, lounge, sauna, steam bath, jacuzzi, massage, bowling, and internet corner. Buffet breakfast is included. Five course dinner and weekly buffet style dinner is optional.</td>    <td class="datagrid" id="grid_varchar007_34648570"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648570&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_bristol_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648570&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648570"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648570&col=008&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_bristol_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648570&col=008&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84372ticket34648569" name="report84372ticket34648569">    <td class="datagrid" id="grid_varchar010_34648569">Couronne</td>    <td class="datagrid" id="grid_text004_34648569">Hotel La Couronne  is a 3 star hotel located in the center of Zermatt and 250 meters from the lifts. It has 41 rooms with private bath/shower, telephone, radio, TV, hair dryer, and safe. It offers an elevator, restaurant, bar, and sauna. Buffet breakfast is included. Four course dinner is optional.</td>    <td class="datagrid" id="grid_varchar007_34648569"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648569&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_couronne_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648569&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648569"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648569&col=008&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_couronne_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648569&col=008&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="unshaded_row"  valign="baseline" id="report84372ticket34648567" name="report84372ticket34648567">    <td class="datagrid" id="grid_varchar010_34648567">Garni Elite</td>    <td class="datagrid" id="grid_text004_34648567">Hotel Garni Elite is a 3 star hotel located in the center of Zermatt and 400 meters from the lifts. It has 24 rooms with private bath/shower, telephone, radio, TV, minibar, hair dryer, and safe. It offers a breakfast room, country bar with billiard table, and free roundtrip transfers between Zermatt railway station and the hotel. Buffet breakfast is included.</td>    <td class="datagrid" id="grid_varchar007_34648567"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648567&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_garni_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648567&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648567"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648567&col=008&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_garni_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648567&col=008&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84372ticket34648568" name="report84372ticket34648568">    <td class="datagrid" id="grid_varchar010_34648568">Perren</td>    <td class="datagrid" id="grid_text004_34648568">Hotel Perren is a 3 star hotel located in the center of Zermatt and 300 meters from the lifts. It has 70 rooms with private bath/shower, telephone, radio, TV, hair dryer, and safe. It offers an elevator, bar, restaurant, sauna, steam bath, fitness room, massage, free use of indoor pool at Hotel Christiania, and free roundtrip transfer between Zermatt railway station and the hotel.Buffet breakfast and four course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_34648568"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648568&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_perren_hotle.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648568&col=007&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648568"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648568&col=008&vcode=5NElH9dFKh&reportid=84372&datasetid=13544&accountid=1448"><img border="0"  title="zermatt_perren_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648568&col=008&vcode=5NElH9dFKh&reportid=84372&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['84372-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('84372');
}

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