
// 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['189536'] = '<h1 class="reptitle">All Candidates with some German ability - click web link to see details</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'varchar031\',\'A\');" class="datagrid" title="sort ascending">Small Photo</th>    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'text128\',\'A\');" class="datagrid" title="sort ascending">Link to Candidate&rsquo;s Web Page</th>    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'varchar001\',\'A\');" class="datagrid" title="sort ascending">First Name</th>    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'double000\',\'A\');" class="datagrid" title="sort ascending">Age</th>    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'text001\',\'A\');" class="datagrid" title="sort ascending">Nationality</th>    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'text035\',\'A\');" class="datagrid" title="sort ascending">Languages</th>    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'text038\',\'A\');" class="datagrid" title="sort ascending">How Often Do You Drive?</th>    <th onclick="loadPage(189536,\'BYwDRrtySk\',1,\'text021\',\'A\');" class="datagrid" title="sort ascending">How Would You Rate Your English Skills</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report189536ticket74966585" name="report189536ticket74966585">    <td class="datagrid" id="grid_varchar031_74966585"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=74966585&col=031&vcode=BYwDRrtySk&reportid=189536&datasetid=24624&accountid=26284"><img border="0"  title="Daniel_T_-_Thumb.JPG" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=74966585&col=031&vcode=BYwDRrtySk&reportid=189536&datasetid=24624&accountid=26284&imgsize=thumb"></a> </td>    <td class="datagrid" id="grid_text128_74966585"><a href="http://www.1stchoiceaupairs.co.uk/DanielT.shtml" target="_blank">www.1stchoiceaupairs.co.uk</a></td>    <td class="datagrid" id="grid_varchar001_74966585">Tabacu</td>    <td class="datagrid" id="grid_double000_74966585"><div align="right" style="background: inherit;"></div></td>    <td class="datagrid" id="grid_text001_74966585">Romania</td>    <td class="datagrid" id="grid_text035_74966585">Romanian, French, German, Spanish</td>    <td class="datagrid" id="grid_text038_74966585">1-2 times a month</td>    <td class="datagrid" id="grid_text021_74966585">Good</td> </tr> <tr class="shaded_row"  valign="baseline" id="report189536ticket76349975" name="report189536ticket76349975">    <td class="datagrid" id="grid_varchar031_76349975"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=76349975&col=031&vcode=BYwDRrtySk&reportid=189536&datasetid=24624&accountid=26284"><img border="0"  title="Julia_S_-_thumb.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=76349975&col=031&vcode=BYwDRrtySk&reportid=189536&datasetid=24624&accountid=26284&imgsize=thumb"></a> </td>    <td class="datagrid" id="grid_text128_76349975"><a href="http://www.1stchoiceaupairs.co.uk/JuliaS.shtml" target="_blank">www.1stchoiceaupairs.co.uk</a></td>    <td class="datagrid" id="grid_varchar001_76349975">Julia</td>    <td class="datagrid" id="grid_double000_76349975"><div align="right" style="background: inherit;"></div></td>    <td class="datagrid" id="grid_text001_76349975">Romania</td>    <td class="datagrid" id="grid_text035_76349975">Romanian, Hungarian, German</td>    <td class="datagrid" id="grid_text038_76349975">1-2 times a month</td>    <td class="datagrid" id="grid_text021_76349975">Good</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report189536ticket66596984" name="report189536ticket66596984">    <td class="datagrid" id="grid_varchar031_66596984"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=66596984&col=031&vcode=BYwDRrtySk&reportid=189536&datasetid=24624&accountid=26284"><img border="0"  title="Alina_A_-_Thumb.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=66596984&col=031&vcode=BYwDRrtySk&reportid=189536&datasetid=24624&accountid=26284&imgsize=thumb"></a> </td>    <td class="datagrid" id="grid_text128_66596984"><a href="http://www.1stchoiceaupairs.co.uk/AlinaA" target="_blank">www.1stchoiceaupairs.co.uk</a></td>    <td class="datagrid" id="grid_varchar001_66596984">Alina</td>    <td class="datagrid" id="grid_double000_66596984"><div align="right" style="background: inherit;">23</div></td>    <td class="datagrid" id="grid_text001_66596984">Romania</td>    <td class="datagrid" id="grid_text035_66596984">German</td>    <td class="datagrid" id="grid_text038_66596984">Few times a year</td>    <td class="datagrid" id="grid_text021_66596984">Good</td> </tr> <table> <tr><td colspan="8"><span class="greyital">Showing candidates 1 - 3 of 3.</span></td></tr> </table></p> ';
window.trackvia_content['189536-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('189536');
}

function loadPage(reportid,testcode,num,sort1,dir1) {
    var res = '/app/pubrep?v='+testcode+'&a=update&r='+reportid+'&startnum='+num+'&postsort1='+sort1+'&dir1='+dir1+'&accountid=26284';
	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=26284';
	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()
