// JavaScript Document
// This script is designed to detect the user's internet browser and assign a friendly stylesheet for that browser.
// For the most part CHROME and IE act the same way. Therefore, I would use the same style sheet for both.
// Likewise, Firefox and Safari act like each other. So use the same stylesheet for both of them as well.
// A link to this script must be placed between <HEAD> </HEAD> tags of every single page in your website.
// All you have to do is replace the existing line:
// <LINK REL="STYLESHEET" HREF="http://www.FoundLocally.com/Includes/Styles6.css">
// with the following line:
// <SCRIPT LANGUAGE="javascript" SRC="http://www.FoundLocally.com/Includes/stylesheetExpert.js"></SCRIPT>
// And create a StylesheetIE.css and a StylesheetFF.css
// Enjoy!
// From Muad  : )

var nAgt = navigator.userAgent;

//load CHROME friendly stylesheet
if ((verOffset=nAgt.indexOf("Chrome"))!=-1) 
{ 
   document.write('<link href="http://www.MovinginCanada.com/includes/Styles-IE.css" rel="stylesheet" type="text/css" />'); 
}

//load FIREFOX & SAFARI friendly stylesheet
else if ((verOffset=nAgt.indexOf("Safari"))!=-1 || (verOffset=nAgt.indexOf("Firefox"))!=-1) 
{ 
   document.write('<link href="http://www.MovinginCanada.com/includes/Styles-FF.css" rel="stylesheet" type="text/css" />'); 
}

//load IE friendly stylesheet
else
{ 
document.write('<link href="http://www.MovinginCanada.com/includes/Styles-IE.css" rel="stylesheet" type="text/css" />'); 
}
