/*****************************************************************
GENERIC SITE FUNCTIONS
*****************************************************************/
<!--
//	DOM
var IE=false;
var MOZ5=false;
var NS=false;

//	Detect browser
detectBrowser();

/*
if (!IE) document.captureEvents(Event.MOUSEMOVE)

// Set-up to use getMouseXY function onMouseMove
document.onmousemove = getMouseXY;

// Temporary variables to hold mouse x-y pos.s
var tempX = 0
var tempY = 0
*/

//	Determine the current browser
function detectBrowser() 
{
	if (document.all) {
	  IE = true;
	}
	else if (document.layers) {
	  NS = true;
	}
	else if (document.getElementById) {
	  MOZ5 = true;
	}
	else {
	  NS = true;
	  // No known browser support for layers
	}
}

function over(img,ext)
{
	if (ext == null)
		img.src=site_root + 'images/' + img.id + '_f2.jpg';
		
	else
		img.src=site_root + 'images/' + img.id + '_f2.' + ext;
}

function out(img,ext)
{
	if (ext == null)
		img.src=site_root + 'images/' + img.id + '.jpg';
		
	else
		img.src=site_root + 'images/' + img.id + '.' + ext;
}



function viewImage(img)
{	
	window.open(img,'img','width=620, height=440');
}

function viewImage2(img)
{	
	window.open(img,'img','width=440, height=620');
}


//-->
