//*****************
// Script needs the variable "strApplicationFilePath" to be assigned the correct
// path to the application directory before this script is run
//*****************
// Defining variables
var cssFile = "null";

//Object with browser information.
function browserCheck()
{
	this.ver=navigator.appVersion;
	this.verNumber=parseInt(navigator.appVersion);
	this.name=navigator.appName;
	this.osString=navigator.userAgent; 
	return this
}
browser=new browserCheck()
/*****************/

/*
// Check client browser and set variables.
if (browser.name == "Microsoft Internet Explorer" && browser.verNumber >= 4) { 
   cssFile = "default.css";
}
if (browser.name == "Netscape" && browser.verNumber >= 4) { 
   cssFile = "default_ns.css";
}
*/
cssFile = "default.css";
// Write correct CSS-File to the clients browser
if (cssFile != "null") {
   eval(document.write("<link rel='stylesheet' href='"+strApplicationFilePath+"/pub/css/"+cssFile+"' type='text/css'>"));	
}
