//Browser detection required to serve CSS to IE6 and below
//Page layout goes south on Mac with IE6 compatible CSS and vice versa
//Only gallery pages require the alternate CSS and browser detect

browser_version = parseInt(navigator.appVersion);
browser_type = navigator.appName;

if (browser_type == "Microsoft Internet Explorer" && (browser_version <= 6)) {
document.write("<link rel='stylesheet' href='watercolor-ie6.css' type='text/css' /><link rel='stylesheet' type='text/css' href='watercolorprint.css' media='print' />");
}

else {
document.write("<link rel='stylesheet' href='watercolor.css' type='text/css' /><link rel='stylesheet' type='text/css' href='watercolorprint.css' media='print' />");
}
