<!--
 var timerID = null;
var timerOn = false;
var timecount = 500;

var type = "IE";	//Variable used to hold the browser name

BrowserSniffer();

//detects the capabilities of the browser
function BrowserSniffer() {
	if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) type="OP";		//Opera
	else if (document.all) type="IE";														//Internet Explorer e.g. IE4 upwards
	else if (document.layers) type="NN";													//Netscape Communicator 4
	else if (!document.all && document.getElementById) type="MO";							//Mozila e.g. Netscape 6 upwards
	else type = "IE";		//I assume it will not get here
}


//Show and hide a layer
//id is the name of the layer
//action is either hidden or visible
//Seems to work with all versions NN4 plus other browsers
function ShowLayer(id, action){
	if (type=="IE") eval("document.all." + id + ".style.visibility='" + action + "'");
	if (type=="NN") eval("document." + id + ".visibility='" + action + "'");
	if (type=="MO" || type=="OP") eval("document.getElementById('" + id + "').style.visibility='" + action + "'");
}
function showNewYorkJobs(){
	document.getElementById('ny_jobs').style.display='block';	
}
function hideNewYorkJobs(){
	document.getElementById('ny_jobs').style.display='none';
}
function showZurichJobs(){
	document.getElementById('zurich_jobs').style.display='block';
}
function hideZurichJobs(){
	document.getElementById('zurich_jobs').style.display='none';
}

function hideAll(){
	hideNewYorkJobs()
	hideZurichJobs()
} 

function startTime() {

    if (timerOn == false) {
    timerID=setTimeout( "hideAll()" , timecount);
    timerOn = true;
    }
    } 

function stopTime() {

    if (timerOn) {
    clearTimeout(timerID);
    timerID = null;
    timerOn = false;
    }
    } 

//-->