
// 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['93882'] = '<h1 class="reptitle">2009 Interlaken Lift Tickets in Swiss Francs (Not included in the package)</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(93882,\'3akzU4ug6L\',1,\'varchar002\',\'D\');" class="datagrid" title="sort descending">Days&nbsp;&nbsp;<img border="0" src="http://www.trackvia.com/images/sort_asc.png"></th>    <th onclick="loadPage(93882,\'3akzU4ug6L\',1,\'double000\',\'A\');" class="datagrid" title="sort ascending">Adult</th>    <th onclick="loadPage(93882,\'3akzU4ug6L\',1,\'double002\',\'A\');" class="datagrid" title="sort ascending">Child</th>    <th onclick="loadPage(93882,\'3akzU4ug6L\',1,\'double003\',\'A\');" class="datagrid" title="sort ascending">Youth</th>    <th onclick="loadPage(93882,\'3akzU4ug6L\',1,\'double004\',\'A\');" class="datagrid" title="sort ascending">Senior</th>    <th onclick="loadPage(93882,\'3akzU4ug6L\',1,\'varchar001\',\'A\');" class="datagrid" title="sort ascending">Updated</th>    <th onclick="loadPage(93882,\'3akzU4ug6L\',1,\'varchar000\',\'A\');" class="datagrid" title="sort ascending">Notes</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report93882ticket37197172" name="report93882ticket37197172">    <td class="datagrid" id="grid_varchar002_37197172">1</td>    <td class="datagrid" id="grid_double000_37197172"><div align="right" style="background: inherit;">59</div></td>    <td class="datagrid" id="grid_double002_37197172"><div align="right" style="background: inherit;">30</div></td>    <td class="datagrid" id="grid_double003_37197172"><div align="right" style="background: inherit;">47</div></td>    <td class="datagrid" id="grid_double004_37197172"><div align="right" style="background: inherit;">53</div></td>    <td class="datagrid" id="grid_varchar001_37197172"></td>    <td class="datagrid" id="grid_varchar000_37197172">Grindelwald-Wengen or Murren-Schilthorn</td> </tr> <tr class="shaded_row"  valign="baseline" id="report93882ticket37197177" name="report93882ticket37197177">    <td class="datagrid" id="grid_varchar002_37197177">2</td>    <td class="datagrid" id="grid_double000_37197177"><div align="right" style="background: inherit;">126</div></td>    <td class="datagrid" id="grid_double002_37197177"><div align="right" style="background: inherit;">63</div></td>    <td class="datagrid" id="grid_double003_37197177"><div align="right" style="background: inherit;">101</div></td>    <td class="datagrid" id="grid_double004_37197177"><div align="right" style="background: inherit;">113</div></td>    <td class="datagrid" id="grid_varchar001_37197177"></td>    <td class="datagrid" id="grid_varchar000_37197177">Jungfrau Sportpass</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report93882ticket37197178" name="report93882ticket37197178">    <td class="datagrid" id="grid_varchar002_37197178">3</td>    <td class="datagrid" id="grid_double000_37197178"><div align="right" style="background: inherit;">176</div></td>    <td class="datagrid" id="grid_double002_37197178"><div align="right" style="background: inherit;">88</div></td>    <td class="datagrid" id="grid_double003_37197178"><div align="right" style="background: inherit;">141</div></td>    <td class="datagrid" id="grid_double004_37197178"><div align="right" style="background: inherit;">158</div></td>    <td class="datagrid" id="grid_varchar001_37197178"></td>    <td class="datagrid" id="grid_varchar000_37197178">Jungfrau Sportpass</td> </tr> <tr class="shaded_row"  valign="baseline" id="report93882ticket37197186" name="report93882ticket37197186">    <td class="datagrid" id="grid_varchar002_37197186">4</td>    <td class="datagrid" id="grid_double000_37197186"><div align="right" style="background: inherit;">226</div></td>    <td class="datagrid" id="grid_double002_37197186"><div align="right" style="background: inherit;">113</div></td>    <td class="datagrid" id="grid_double003_37197186"><div align="right" style="background: inherit;">181</div></td>    <td class="datagrid" id="grid_double004_37197186"><div align="right" style="background: inherit;">203</div></td>    <td class="datagrid" id="grid_varchar001_37197186"></td>    <td class="datagrid" id="grid_varchar000_37197186">Jungfrau Sportpass</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report93882ticket37197189" name="report93882ticket37197189">    <td class="datagrid" id="grid_varchar002_37197189">5</td>    <td class="datagrid" id="grid_double000_37197189"><div align="right" style="background: inherit;">270</div></td>    <td class="datagrid" id="grid_double002_37197189"><div align="right" style="background: inherit;">135</div></td>    <td class="datagrid" id="grid_double003_37197189"><div align="right" style="background: inherit;">216</div></td>    <td class="datagrid" id="grid_double004_37197189"><div align="right" style="background: inherit;">243</div></td>    <td class="datagrid" id="grid_varchar001_37197189"></td>    <td class="datagrid" id="grid_varchar000_37197189">Jungfrau Sportpass</td> </tr> <tr class="shaded_row"  valign="baseline" id="report93882ticket37197191" name="report93882ticket37197191">    <td class="datagrid" id="grid_varchar002_37197191">6</td>    <td class="datagrid" id="grid_double000_37197191"><div align="right" style="background: inherit;">308</div></td>    <td class="datagrid" id="grid_double002_37197191"><div align="right" style="background: inherit;">154</div></td>    <td class="datagrid" id="grid_double003_37197191"><div align="right" style="background: inherit;">246</div></td>    <td class="datagrid" id="grid_double004_37197191"><div align="right" style="background: inherit;">277</div></td>    <td class="datagrid" id="grid_varchar001_37197191"></td>    <td class="datagrid" id="grid_varchar000_37197191">Jungfrau Sportpass</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report93882ticket37197195" name="report93882ticket37197195">    <td class="datagrid" id="grid_varchar002_37197195">7</td>    <td class="datagrid" id="grid_double000_37197195"><div align="right" style="background: inherit;">341</div></td>    <td class="datagrid" id="grid_double002_37197195"><div align="right" style="background: inherit;">171</div></td>    <td class="datagrid" id="grid_double003_37197195"><div align="right" style="background: inherit;">273</div></td>    <td class="datagrid" id="grid_double004_37197195"><div align="right" style="background: inherit;">307</div></td>    <td class="datagrid" id="grid_varchar001_37197195"></td>    <td class="datagrid" id="grid_varchar000_37197195">Jungfrau Sportpass</td> </tr> <table> <tr><td colspan="7"><span class="greyital">Showing records 1 - 7 of 7.&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['93882-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('93882');
}

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