//Coloured mouseovers on left navs
function colorOn(id,nobg) {
	if(nobg != 1) {
		id.className='navtopdark';
	}
	id.style.cursor='hand';
	id.children.tags("A")[0].style.color='#000000'; 
        var html = id.innerHTML;
        if(html.match(/href="([^"]+)"/)) {
                var url = RegExp.$1;
                window.status = url;
        }		
}

//Coloured mouseovers on left navs
function colorOff(id,nobg){
	if(nobg != 1) {
		id.className='navtendark';
		id.children.tags("A")[0].className='leftlink';
	}
	id.children.tags("A")[0].style.color='';
	window.status = '';
}


//Coloured mouseovers on top navs
function colorOnTop(id,nobg) {
	if(nobg != 1) {
		id.className='navtoplight';
	}
	id.style.cursor='hand';
	id.children.tags("A")[0].style.color='#ffffff'; 
        var html = id.innerHTML;
        if(html.match(/href="([^"]+)"/)) {
                var url = RegExp.$1;
                window.status = url;
        }		
}

//Coloured mouseovers on top navs
function colorOffTop(id,nobg){
	if(nobg != 1) {
		id.className='navtopdark';
		id.children.tags("A")[0].className='leftlink';
	}
	id.children.tags("A")[0].style.color='#000000';
	window.status = '';
}


//Coloured mouseovers on Right top navs
function colorRightOnTop(id,nobg) {
	if(nobg != 1) {
		id.className='navRighttoplight';
	}
	id.style.cursor='hand';
	id.children.tags("A")[0].style.color='#ffffff'; 
        var html = id.innerHTML;
        if(html.match(/href="([^"]+)"/)) {
                var url = RegExp.$1;
                window.status = url;
        }		
}

//Coloured mouseovers on Righttop navs
function colorRightOffTop(id,nobg){
	if(nobg != 1) {
		id.className='navRighttopdark';
		id.children.tags("A")[0].className='leftlink';
	}
	id.children.tags("A")[0].style.color='';
	window.status = '';
}


//Coloured mouseovers on navs
function jump(id) {
	var html = id.innerHTML;
	if(html.match(/href="([^"]+)"/)) {
		var url = RegExp.$1;
		url = url.replace("amp;","");
		var win = window.open(url,"_top");
	}
}


