<!--


function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() //Making browsercheck object

                                    function lib_doc_size(){ 
                                            this.x=0;this.x2=bw.ie && document.body.offsetWidth-20||innerWidth||0;
                                            this.y=0;this.y2=bw.ie && document.body.offsetHeight-5||innerHeight||0;
                                            if(!this.x2||!this.y2) return message('Document has no width or height') 
                                            this.x50=this.x2/2;this.y50=this.y2/2;
                                            this.x10=this.x2*10/100
                                            this.x15=this.x2*15/100
                                            this.y10=this.y2*10/100
                                            this.y15=this.y2*15/100
                                            return this;
                                    }       



function applyFilter (obj, filterName) {
	obj.style.filter = filterName;
}

function isNetscape() 
{
   // get browser info. 
   appName= navigator.appName;
   appLongVer = navigator.appVersion;
   appVer = appLongVer.substring(0, 1); 
   // check for Navigator ver 4+. 
   if ((appName == "Netscape") && (appVer >= 4)) return true;
   return false;
}

function isIE() 
{
   // get browser info. 
   appName= navigator.appName;
   appLongVer = navigator.appVersion;
   appVer = appLongVer.substring(0, 1); 

   // check for IE ver 4+. 
   if ((appName == "Microsoft Internet Explorer") && (appVer >= 4)) return true;
   return false;
}

function showPopup3(menu,img,x) {
// get the target object.
if (isNetscape()) targetObj = document.menu;
if (bw.ie) targetObj = menu.style;

// move the menu at the mouse coordinate. 
targetObj.left = x;
targetObj.top = 94;
targetObj.visibility = "visible";
}

function hidePopup3(target) {
// get the target object. 
if (isNetscape()) targetObj = document.target;
if (bw.ie) targetObj = target.style;

// hide the menu. 
targetObj.visibility = "hidden";
}
// -->

