// JavaScript Document

// to allow browser branching
isNav = (document.layers)? true:false
isIE = (document.all)? true:false
isDom3 = (document.getElementById)? true:false

function isWindows() {
return (navigator.appVersion.indexOf("Win") != -1)
}

function isMac() {
return (navigator.appVersion.indexOf("Mac") != -1)
}

function isMacPPC() {
return (isMac() && (navigator.appVersion.indexOf("PPC") != -1
|| navigator.appVersion.indexOf("PowerPC") != -1))
}
// end browser sniffer



function runTour(thePath)	{
	if (window.DemoWindow && !window.DemoWindow.closed)	{
		window.DemoWindow.location.href = thePath;
		window.DemoWindow.focus;
		window.DemoWindow.opener = self;
	} else  {
		window.DemoWindow= window.open(thePath, 'demoWin', 'width=1024,height=768,scrollbars,resizable');
		window.DemoWindow.focus;
		window.DemoWindow.opener = self;
	}
}

//turns links white when mouse rolls over (IE)
function msOver(){
	if (isIE || isDom3)	{
		event.srcElement.style.color="#FFFFFF";
  		event.srcElement.style.cursor = "hand";
	}
}


//turns links white when mouse rolls out (IE)
function msOut(){
	if (isIE || isDom3)	{
  		event.srcElement.style.color="#EFEFEF";
  		event.srcElement.style.cursor = "auto";
	}
}



