var browserName=navigator.appName; 
var browserVer=parseInt(navigator.appVersion);
if ((browserName=="Netscape" && browserVer>=5)){
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ff_overall.css" rel="stylesheet" />');
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ff_navigation.css" rel="stylesheet" />');
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ff_content.css" rel="stylesheet" />'); 
} 

if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
if (ieversion>=8){
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ie8_overall.css" rel="stylesheet" />');
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ie8_navigation.css" rel="stylesheet" />');
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ie8_content.css" rel="stylesheet" />');
}
else if (ieversion>=7){
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ie7_overall.css" rel="stylesheet" />');
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ie7_navigation.css" rel="stylesheet" />');
	document.write('<link type="text/css" href="http://www.mnarch.com/css/ie7_content.css" rel="stylesheet" />');
}
else if (ieversion>=6){
	document.write('<META http-equiv="refresh" content="0;URL=http://www.mnarch.com/error.html">');
}
}
