function BrowserCheck() {
	var browser = navigator.appName

	if (browser=="Netscape") this.browser = "ns"
	else if (browser=="Microsoft Internet Explorer") this.browser = "ie"
	else this.browser = browser
	if (navigator.appVersion.indexOf("Mac") != -1) this.platform = "mac";  
    else  this.platform = "pc"; 	
	this.mac = (this.platform=="mac")
	this.pc = (this.platform=="pc")
	this.vers = parseInt(navigator.appVersion)
	this.ns = (this.browser=="ns" && this.vers>=4)
	this.ns4 = (this.browser=="ns" && this.vers==4)
	this.ns5 = (this.browser=="ns" && this.vers==5)
	this.ie = (this.browser=="ie" && this.vers>=4)
	this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0)
	this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>0)
	if (this.ie5) this.vers = 5
}
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false


var winW = 0;
var winH = 0;
is = new BrowserCheck()

mousex =0;
mousey = 0;
global_option_check = 0;
global_suboption_check = 0;
lastsubmenu_height =0;

var stylepath = '/decs/styles/';




	if (is.pc){
		if (is.ns && is.vers < 5){
			document.write("<LINK REL=\"STYLESHEET\" TYPE=\"text/css\" 	HREF=\""+stylepath+"deRetail_ns4.css\">")
			}
		else {
		        document.write("<LINK REL=\"STYLESHEET\" TYPE=\"text/css\" 	HREF=\""+stylepath+"deRetail_ie4.css\">")
			}
	}
	
	
	if (is.mac){
		if (is.ns){
			document.write("<LINK REL=\"STYLESHEET\" TYPE=\"text/css\" 	HREF=\""+stylepath+"deRetail_ns4_mac.css\">")
			}
		else {
			document.write("<LINK REL=\"STYLESHEET\" TYPE=\"text/css\" 	HREF=\""+stylepath+"deRetail_ie4_mac.css\">")
			}
	}

