var browser = navigator.userAgent;
var browserVer = "";
var transitions = false;
var transitionsmozilla = false;
var pos = browser.indexOf("MSIE");
if (pos > -1) {
	browserVer = browser.substring(pos + 5);
	pos = browserVer.indexOf('.');
	browserVer = browserVer.substring(0,pos);
	if (browserVer >= 6) {
		transitions = true;
	}
}
var pos = browser.indexOf("Firefox");
if (pos > -1) {
	browserVer = browser.substring(pos + 8);
	pos = browserVer.indexOf('.');
	browserVer = browserVer.substring(0,pos);
	if (browserVer >= 1) {
		transitionsmozilla = true;
	}
}
var pos = browser.indexOf("Safari");
if (pos > -1) {
	browserVer = browser.substring(pos + 7);
	pos = browserVer.indexOf('.');
	browserVer = browserVer.substring(0,pos);
}

//set up the browsers
/*
var dom = (document.getElementById) ? true : false;
var mac = (navigator.userAgent.indexOf("Mac")>-1) ? true : false;
var ns5up = ((navigator.userAgent.indexOf("Gecko")>-1) && dom && (navigator.userAgent.indexOf("Netscape")>-1)) ? true: false;
var ff5up = ((navigator.userAgent.indexOf("Gecko")>-1) && dom && ((navigator.userAgent.indexOf("Firebird")>-1)||(navigator.userAgent.indexOf("Firefox")>-1))) ? true: false;
var ie = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ie50 = ((navigator.userAgent.indexOf("MSIE 5.0")>-1) && dom) ? true : false;
var ie55 = ((navigator.userAgent.indexOf("MSIE 5.5")>-1) && dom) ? true : false;
var ie6 = (navigator.userAgent.indexOf("MSIE 6")!=-1) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var transitions = (!ns5up && !ns4 && !ff5up && !ie4 && !ie50 && !ie55 && ie6) ? true : false; //just to show what works with it or not
var transitionsmozilla = (ns5up || ff5up && !ns4 && !ie4 && !ie50 && !ie55 && !ie6) ? true : false; //just to show what works with it or not
if (ns4 || ie4 || (ie && mac)) {
	location.href="index.cfm?fuseaction=pagecontent.browser&this_layout=noFrame";
}
*/
