Detect = function(){	var agent = navigator.userAgent.toLowerCase(); 	this._mac = agent.indexOf('mac') != -1;	this._win = !this._mac;	this._w3c = document.getElementById;	this._iex = document.all;	this._ns4 = document.layers;}/*! @function getObj @param name*/function getObj(name){	if(this._w3c){		return document.getElementById(name);	}else if(this._iex){		return document.all[name];	}else if(this._ns4){		return this.getObjNS4(document,name);	}}Detect.prototype.getObj = getObj;/*! @function getObjNS4 @param obj @param name*/function getObjNS4(obj, name){	var d = obj.layers;	var result,temp;	for(var i=0; i<d.length; i++){		if(d[i].id == name){		 	result = d[i];		}else if(d[i].layers.length){			var temp = this.getObjNS4(d[i],name);		}		if(temp){			result = temp;		}	}	return result;}Detect.prototype.getObjNS4 = getObjNS4;/*! @function getStyle @param obj*/function getStyle(obj){	return (this._ns4) ? obj : obj.style;}Detect.prototype.getStyle = getStyle;/*! @function getWindowWidth width of the window*/function getWindowWidth(){	return this._iex ? document.body.clientWidth : window.innerWidth;}Detect.prototype.getWindowWidth = getWindowWidth;/*! @function getWindowHeight height of the window*/function getWindowHeight(){	return this._iex ? document.body.clientHeight : window.innerHeight;}Detect.prototype.getWindowHeight = getWindowHeight;/*! @function getScrollTop top scroll position of the window*/function getScrollTop(){	return this._iex ? document.body.scrollTop : window.pageYOffset;}Detect.prototype.getScrollTop = getScrollTop;/*! @function getScrollLeft left scroll position of the window*/function getScrollLeft(){	return this._iex ? document.body.scrollLeft : window.pageXOffset;}Detect.prototype.getScrollLeft = getScrollLeft;/*! @function setScrollTop set the vertical scroll position of the window @param n*/function setScrollTop(n){	window.scrollTo(58,n);}Detect.prototype.setScrollTop = setScrollTop;/*! @function setScrollLeft set the horizontal scroll position of the window @param n*/function setScrollLeft(){	window.scrollTo(58,this.getScrollTop());}Detect.prototype.setScrollLeft = setScrollLeft;/*! @function setScroll set the x,y scroll position of the window @param x @param y*/function setScroll(x,y){	window.scrollTo(x,y);}Detect.prototype.setScroll = setScroll;// :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::/*! @functiongroup HTMLobj *//*! @function HTMLobj HTMLobj Constructor - Extends Detect*/function HTMLobj(name){	if(name){		this._inherit = Detect; this._inherit(name);		this._id  = name;		this._el  = this.getObj(this._id);		this._css = this.getStyle(this._el);		this._obj = name+'Object'; eval(this._obj+'=this');			this._timer = null;		this._glideRunning = false;		this._tweenRunning = false;		this._fadeRunning = false;	// Added by SU, Couloir		this._randNum = null;		// Added by SU, Couloir		this._startFade = false;	// Added by SU, Couloir		return this;	}}HTMLobj.prototype = new Detect();/*! @function getLeft left position of the element*/function getLeft(){	return parseInt(this._css.left || 0);}HTMLobj.prototype.getLeft = getLeft;/*! @function getTop top position of the element*/function getTop(){ 	return parseInt(this._css.top || 0);}HTMLobj.prototype.getTop = getTop;/*! @function getWidth width of the element*/		function getWidth(){ 	if(this._ns4){		 return this._el.document.width;	}else{		return this._el.offsetWidth;	}}HTMLobj.prototype.getWidth = getWidth;/*! @function getHeight height of the element*/function getHeight(){ 	if(this._ns4){		 return this._el.document.height;	}else{		return this._el.offsetHeight;	}}HTMLobj.prototype.getHeight = getHeight;/*! @function getClipWidth clip width of the element*/function getClipWidth(){ 	if(this._ns4){		 return this._el.clip.width;	}else{		return this._el.offsetWidth;	}}HTMLobj.prototype.getClipWidth = getClipWidth;/*! @function getClipHeight clip height of the element*/function getClipHeight(){ 	if(this._ns4){		 return this._el.clip.height;	}else{		return this._el.offsetHeight;	}}HTMLobj.prototype.getClipHeight = getClipHeight;/*! @function setStyle change the value of any css property @param prop @param val*/function setStyle(prop, val){ 	if(!this._ns4){		this._el.style[prop] = val;		if(this._iex && this._mac){			this._el.innerHTML = this._el.innerHTML;		}	}}HTMLobj.prototype.setStyle = setStyle/*! @function show show the visibility of the element*/function show(){ 	this._css.visibility = 'visible';}HTMLobj.prototype.show = show;/*! @function hide hide the visibility of the element*/function hide(){ 	this._css.visibility = 'hidden';}HTMLobj.prototype.hide = hide;/*! @function showhide toggle the visibility of the element*/function showhide(){	if(this._css.visibility == 'hidden' || this._css.visibility == 'hide'){		this._css.visibility = 'visible';	}else{		this._css.visibility = 'hidden';	}}HTMLobj.prototype.showhide = showhide;/*! @function setInner change the contents of the element @param html*/function setInner(html){ 	if(this._ns4){		this._el.document.open();		this._el.document.write(html);		this._el.document.close();	}else{		this._el.innerHTML = html;	}}HTMLobj.prototype.setInner = setInner;/*! @function sizeTo set the size of the element @param w @param h*/function sizeTo(w,h){ 	if(!this._ns4){		this._css.width = w+'px';		this._css.height = h+'px';	}}HTMLobj.prototype.sizeTo = sizeTo;/*! @function sizeBy set the size of the element relative to it's current size @param w the width @param h the height*/function sizeBy(w,h){ 	if(!this._ns4){		this._css.width = this.getWidth()+w+'px';		this._css.height = this.getHeight()+h+'px';	}}HTMLobj.prototype.sizeBy = sizeBy;/*! @function getRandom generate new random number Added by SU, Uptonic.com December 2004*/function getRandom(start,end){     this._randNum= Math.round(start + ((end-start) * Math.random()));    return this._randNum;}HTMLobj.prototype.getRandom = getRandom;/*! @function displayShow display the element as 'block'*/function displayShow(){ 	this._css.display = 'block';}HTMLobj.prototype.displayShow = displayShow;/*! @function displayHide do not display the element*/function displayHide(){ 	this._css.display = 'none';}HTMLobj.prototype.displayHide = displayHide;/*! @function setSrc set the element's source to target @param target*/function setSrc(target){ 	this._el.src = target;}HTMLobj.prototype.setSrc = setSrc;/*! @function setHref set the element's link to target @param target*/function setHref(target){	this._el.href = target;}HTMLobj.prototype.setHref = setHref;/*! @function setInnerHtml set the element's inner HTML to content @param content*/function setInnerHtml(content){ 	this._el.innerHTML = content;}HTMLobj.prototype.setInnerHtml = setInnerHtml;/*! @function sniff @param name*/var high = screen.height;var high2 = getWindowHeight();function sniff(){setScrollLeft();if (high <= 650) {	setScrollTop(48);}if (high2 <= 650) {	setScrollTop(48);}}