
// 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['84361'] = '<h1 class="reptitle">Chamonix Hotel Details</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(84361,\'f2Uxohn4hK\',1,\'varchar010\',\'A\');" class="datagrid" title="sort ascending">HotelName</th>    <th onclick="loadPage(84361,\'f2Uxohn4hK\',1,\'text004\',\'A\');" class="datagrid" title="sort ascending">Details</th>    <th onclick="loadPage(84361,\'f2Uxohn4hK\',1,\'varchar007\',\'A\');" class="datagrid" title="sort ascending">Picture1</th>    <th onclick="loadPage(84361,\'f2Uxohn4hK\',1,\'varchar008\',\'A\');" class="datagrid" title="sort ascending">Picture2</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report84361ticket34648538" name="report84361ticket34648538">    <td class="datagrid" id="grid_varchar010_34648538">Alpina</td>    <td class="datagrid" id="grid_text004_34648538">Hotel Alpina is a 3 star hotel located in the center of Chamonix. It has 135 rooms with private bath/shower, telephone, radio, TV, hair dryer, safe, and mini bar. It offers an elevator, restaurant, bar, lounge, sauna, steam bath, jacuzzi, massage, internet corner, and ski rental.  Buffet breakfast and four course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_34648538"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648538&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="cha_alpina_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648538&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648538"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648538&col=008&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="cha_alpina_view.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648538&col=008&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84361ticket34648537" name="report84361ticket34648537">    <td class="datagrid" id="grid_varchar010_34648537">Croix Blanche</td>    <td class="datagrid" id="grid_text004_34648537">Hotel Croix Blanche is a 3 star hotel located in the center of Chamonix and 500 meters from the lifts. A skibus stop is 50 meters away. It has 36 rooms with private bath/shower, TV, telephone, minibar, and safe. It offers an elevator, restaurants, sun terrace, and ski rental. Buffet breakfast is included. Three course dinner is optional.</td>    <td class="datagrid" id="grid_varchar007_34648537"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648537&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="cha_croix_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648537&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648537"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648537&col=008&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="cha_croix_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648537&col=008&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="unshaded_row"  valign="baseline" id="report84361ticket34648539" name="report84361ticket34648539">    <td class="datagrid" id="grid_varchar010_34648539">Le Prieure</td>    <td class="datagrid" id="grid_text004_34648539">Hotel Le Prieure is a 3 star hotel located in the center of Chamonix and 400 meters from the lifts. It has 89 rooms with private bath/shower, telephone, radio, TV, hair dryer, safe, and mini bar. It offers an elevator, restaurant,  bar, lounge, sauna, steam bath, jacuzzi, massage, internet access, and ski rental. Buffet breakfast and four course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_34648539"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648539&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="chamonix-_LePrieure.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648539&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648539"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648539&col=008&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="cha_prieure_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648539&col=008&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td> </tr> <tr class="shaded_row"  valign="baseline" id="report84361ticket34648540" name="report84361ticket34648540">    <td class="datagrid" id="grid_varchar010_34648540">Mont Blanc</td>    <td class="datagrid" id="grid_text004_34648540">Hotel Mont Blanc is a 4 star hotel located in the center of Chamonix and 500 meters from the lifts. It has 40 rooms with private bath/shower, telephone, radio, TV, hair dryer, safe, and mini bar. It offers an elevator, dining room, bar, lounge, heated outdoor pool, sauna, massage, internet access, and ski rental. Buffet breakfast and four course dinner are included.</td>    <td class="datagrid" id="grid_varchar007_34648540"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648540&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="cha_mont_blanc_hotel.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648540&col=007&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_varchar008_34648540"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648540&col=008&vcode=f2Uxohn4hK&reportid=84361&datasetid=13544&accountid=1448"><img border="0"  title="cha_mont_blanc_room.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=34648540&col=008&vcode=f2Uxohn4hK&reportid=84361&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['84361-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('84361');
}

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