/******************************************************************************
* dhtmllib.js                                                                 *
*                                                                             *
* Copyright 1999 by Mike Hall.                                                *
* Web address: http://www.brainjar.com                                        *
* Last update: February 26, 2000.                                             *
*                                                                             *
* Provides basic functions for DHTML positioned elements which will work on   *
* both Netscape Communicator and Internet Explorer browsers (version 4.0 and  *
* up).                                                                        *
******************************************************************************/

// Determine browser.

var isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 &&
                parseFloat(navigator.appVersion) >= 4) ? 1 : 0;
var isMinIE4 = (document.all) ? 1 : 0;
var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.") >= 0) ? 1 : 0;
//-----------------------------------------------------------------------------
// Layer visibility.
//-----------------------------------------------------------------------------

// ADDITIONS BY C2 
// 2000-09-18

// ** --------- setCSS ----- 2000-09-18 ----- **
var nsCSSfile;
var ieCSSfile;
var macCSSfile;

function setCSS(ie_file,ns_file,mac_file) {
	nsCSSfile=ns_file;
	ieCSSfile=ie_file;
	macCSSfile=mac_file;
	if (isMinNS4) {
		document.write("<link href='" + nsCSSfile + "' rel='stylesheet' type='text/css'>");
	} else if (isMinIE4) {
		document.write("<link href='" + ieCSSfile + "' rel='stylesheet' type='text/css'>");
	} else {
		document.write("<link href='" + macCSSfile + "' rel='stylesheet' type='text/css'>");
	}


// END ADDITIONS BY C2

}