/*
		Original Script Copyright 1996-2000 Chris Marshall
		
		http://www.cfm24.co.uk | webmaster@cfm24.co.uk
		
		Last update: July 2000

		Permission to use and alter this is hereby
		granted without reservation. However, a
		link to our site would be nice.  Use this:
		
		<A HREF="http://www.cfm24.co.uk/enter.php3">cfm24.co.uk</A>

*/

// set some vars 
	var xx=0 ;						// imgOn()
	var fin=0 ;						// all()

// prinav b
if (document.images) {

p1on = new Image(72,72);
p1on.src = "img/p1_on.gif";

p1off = new Image(72,72);
p1off.src = "img/p1_off.gif";


p2on = new Image(72,72);
p2on.src = "img/p2_on.gif";

p2off = new Image(72,72);
p2off.src = "img/p2_off.gif";


p3on = new Image(72,72);
p3on.src = "img/p3_on.gif";

p3off = new Image(72,72);
p3off.src = "img/p3_off.gif";

}

// on
function imgOn(navID) {

		if ((document.images) && fin==1) {
		
		if (navID=='p1') var sect = "Practice Profile"
		if (navID=='p2') var sect = "Projects"
		if (navID=='p3') var sect = "The Team"
		
	if (xx==1) {clearTimeout(timeoutID) };

	xx=1; window.status = "CMA | " + sect

	timeoutID=setTimeout("xx=0; window.status='';",2500);
	document[navID].src = eval(navID + 'on.src');
	}
}

// off
function imgOff(navID) {

	if (document.images) {
	document[navID].src = eval(navID + 'off.src');
	}
}
// prinav e

// pop up
function popup(theURL,winID,HW) { 	window.open(theURL,winID,HW); }

