var bhidequicklink = null;
var bhideOurservices = null;
var bhideWhatsnew = null;

function hlOn(sImg, sPath) {
	document[sImg].src = sPath
}

function hideQuicklink() {
	hlOn('quicklink','images/but_quicklink1.gif')
	document.getElementById('quicklinknav').style.visibility='hidden'
}

function showQuicklink() {
	clearTimeout(bhidequicklink);
	hlOn('quicklink','images/but_quicklink2.gif');
	document.getElementById('quicklinknav').style.visibility='visible';
}

function offQuicklink() {
	bhidequicklink = setTimeout('hideQuicklink()',500)
}

function hideOurservices() {
	hlOn('ourservices','images/nav_ourservices1.gif')
	document.getElementById('ourservicesnav').style.visibility='hidden'
}

function showOurservices() {
	clearTimeout(bhideOurservices);
	hlOn('ourservices','images/nav_ourservices2.gif');
	document.getElementById('ourservicesnav').style.visibility='visible';
}

function offOurservices() {
	bhideOurservices = setTimeout('hideOurservices()',100)
}

function hideWhatsnew() {
	hlOn('whatsnew','images/nav_whatsnew1.gif')
	document.getElementById('whatsnewsnav').style.visibility='hidden'
}

function showWhatsnew() {
	clearTimeout(bhideWhatsnew);
	hlOn('whatsnew','images/nav_whatsnew2.gif');
	document.getElementById('whatsnewsnav').style.visibility='visible';
}

function offWhatsnew() {
	bhideWhatsnew = setTimeout('hideWhatsnew()',100)
}
