////////////////////////////////////////////////
// Description: XHTML standard way of rendering links for external targets.  Use 
//	syntax - <a href="" rel="external">Link</a> and call on the onload statement
///////////////////////////////////////////////
function externalLinks() { 
 if (!document.getElementsByTagName) return; 
 var anchors = document.getElementsByTagName("a"); 
 for (var i=0; i<anchors.length; i++) { 
   var anchor = anchors[i]; 
   if (anchor.getAttribute("href") && 
       anchor.getAttribute("rel") == "external") 
     anchor.target = "_blank"; 
 } 
} 

////////////////////////////////////////////////
// Description: Overwrite our css for netscape
///////////////////////////////////////////////
function css() {

	// BROWSER CHECK
	browser = navigator.appName;
	appVer = parseInt(navigator.appVersion);
	ie = "Microsoft Internet Explorer";
	ns = "Netscape";
	if (navigator.appVersion.indexOf("Macintosh") != -1) {
		isMac = true;
	} else {
		isMac = false;
	}


	if (!isMac && browser == ns && appVer < 5)  {
		//document.styleSheets[0].disabled = true
		document.writeln('<link rel="stylesheet" type="text/css" media="screen" href="http://216.146.236.146/bluemist/css/basic_NN4.css">')	
	}

}
////////////////////////////////////////////////
// Description: Opens a window with the specified url, width and height
///////////////////////////////////////////////
function WinOpeninternet(url, width, height) {
	window.open(url,"","toolbar=no,directories=no,menubar=no,scrollbars=yes,resizable=no,status=no,width=" + width + ",height=" + height);
}
window.onload = externalLinks

