/* Copyright Digital:Idiom c 1999 - 2008 - Contact thewebteam @ digitalidiom.co.uk */
/* www.digitalidiom.co.uk for professional web design to W3C standards */
/* NO copy or use of original material by Digital:Idiom without permission */


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


/* BROWSER CHECKS */
var ie4 = (document.all && !document.getElementById);
var ie5 = (document.all && document.getElementById);
var ie6 = (document.all && document.getElementById && navigator.userAgent.indexOf("6") > 0);
var ns6 = (!document.all && document.getElementById);


/* ====================================================== */
/* MENU HIGHLIGHTER Changes appearance of selected menu   */
/* item to indicate which page is being viewed */

function chgNavBar(id){

	// Explorer 4
	if(ie4){
		document.all[id].style.background ="transparent url('images/bg-menu.gif') 0px 3px no-repeat";
	}
	// W3C - Explorer 5+ and Netscape 6+
	else if(ie5 || ie6 || ns6){
		document.getElementById(id).style.background ="transparent url('images/bg-menu.gif') 0px 3px no-repeat";
		document.getElementById(id).firstChild.style.color ="#036";
	}
}
