if (navigator.appName == "Microsoft Internet Explorer")
{document.write('<LINK rel="stylesheet" href="includes/main_ie.css" type="text/css">')}
else
{document.write('<LINK rel="stylesheet" href="includes/main_ns.css" type="text/css">')};

// color detection may be needed
// if so, create an 8bit style sheet and load it here to redefine the styles from above
// if (!isColor)  {document.write('<LINK rel="stylesheet" href="includes/main_8bit.css" type="text/css">')};


//see http://css.nu/pointers/bugs.html#NN4 the following does its thing only in the buggy NN4 browsers.
if(document.layers){origWidth=innerWidth;origHeight=innerHeight;onresize=function(){if(innerWidth!=origWidth||innerHeight!=origHeight)location.reload()}}