/******************************************
* aweinit.js -                            *
*                                         *
* AWE web page initialisation       	  *
* 
* NOTE!!! Duplicates of all these 3 files *
* (aweinit, .css, .css) must exist also in*
* the SSL directory!!
* 										  *
* Last update: July 09 2001
* Duplicated files into SSL directory	  *
* Last update: July 07 2001			      *
******************************************/
/*
 * Identify browser & set stylesheet accordingly.
 * Note: Allow Netscape6 to default to 'other' stylesheet.
 */

var ua=navigator.userAgent.toLowerCase();
var version = parseFloat(navigator.appVersion);

var isOpera  = ua.indexOf('opera')!=-1;
var isIE  = !isOpera && ua.indexOf('msie')!=-1;
var isNS  = !isOpera && !isIE && ua.indexOf('mozilla')!=-1 && ua.indexOf('netscape6')==-1;

/* debug
alert("userAgent ='" + ua + "'" + "\n" +
	"version ='" + version + "'"  + "\n" +
	"isOpera ='" + isOpera + "'" + "\n" + 
	"isIE ='" + isIE + "'" + "\n" + 
	"isNS ='" + isNS + "'" );
 end debug */


if (isIE) {
	document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="awe_ie.css">');
	
} else {
	document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="awe_other.css">');
}

