// PUT ALL GLOBAL FUNCTIONS HERE!





// Pop ups
function newsPop(whatNews) {
	return window.open(whatNews,'News','width=500,height=600,status=no,scrollbars=yes,toolbar=no,location=no,menubar=no,resizable=no');
}

function screenPop() {
	return window.open('../images/screen.gif','Screen','width=820,height=600,status=no,scrollbars=no,toolbar=no,location=no,menubar=no,resizable=no');
}

function pbPop() {
	return window.open('../products/images/Clients.gif','client','width=1000,height=650,status=no,scrollbars=no,toolbar=no,location=no,menubar=no,resizable=no');
}

function myWorkPop() {
	return window.open('../products/images/MyWork.gif','client','width=1054,height=650,status=no,scrollbars=no,toolbar=no,location=no,menubar=no,resizable=no');
}



// this can be used for simple name based browser detection.
var browObj;

if (navigator.appName == "Microsoft Internet Explorer")
	browObj = "ie";
if (navigator.appName == "Netscape")
	browObj = "ns";
	
	


/********************************************************
*
*******************FLASH DETECTER************************
*
* Name: 	isFlash()
* Purpose: 	Establishes whether the browser is capable of
*			viewing flash movies, and returns a value for 
*			the page to use
* Inputs: 	Takes no arguments
* Outputs: 	variable "flash" as either true or false
********************************************************/

bName = navigator.appName;
bVersion = navigator.appVersion;
var flash = "false"; // set the initial state of the flash variable to blank

function isFlash() {
	// check if its Macintosh + IE4, or Win 3.1
	if (bVersion.indexOf("Macintosh") != -1 || 
		bVersion.indexOf("3.") != -1) {

			flash = false;

	} else if (navigator.mimeTypes && 
			navigator.mimeTypes["application/x-shockwave-flash"] && 
			navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin || 
			navigator.plugins || 
			navigator.plugins["Shockwave Flash"] || 
			navigator.appName == "Microsoft Internet Explorer") { 

				flash = true;
	}else {
		flash = false;
	}// end if
return flash;
} // end isFlash