
		var browserName = navigator.appName;
		var browserVer = parseInt(navigator.appVersion);
		var version = "";
		var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
		if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror" || browserName=="Opera") {version = "n3";} else {version = "n2";}
			// Blurring links:
		function blurLink(theObject)	{	//
			if (msie4)	{theObject.blur();}
		}
		
			// decrypt helper function
		function decryptCharcode(n,start,end,offset)	{
			n = n + offset;
			if (offset > 0 && n > end)	{
				n = start + (n - end - 1);
			} else if (offset < 0 && n < start)	{
				n = end - (start - n - 1);
			}
			return String.fromCharCode(n);
		}
			// decrypt string
		function decryptString(enc,offset)	{
			var dec = "";
			var len = enc.length;
			for(var i=0; i < len; i++)	{
				var n = enc.charCodeAt(i);
				if (n >= 0x2B && n <= 0x3A)	{
					dec += decryptCharcode(n,0x2B,0x3A,offset);	// 0-9 . , - + / :
				} else if (n >= 0x40 && n <= 0x5A)	{
					dec += decryptCharcode(n,0x40,0x5A,offset);	// A-Z @
				} else if (n >= 0x61 && n <= 0x7A)	{
					dec += decryptCharcode(n,0x61,0x7A,offset);	// a-z
				} else {
					dec += enc.charAt(i);
				}
			}
			return dec;
		}
			// decrypt spam-protected emails
		function linkTo_UnCryptMailto(s)	{
			location.href = decryptString(s,-1);
		}
		
		// JS function for mouse-over
	function over(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");}
		else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_h.src");}
	}
		// JS function for mouse-out
	function out(name,imgObj)	{	//
		if (version == "n3" && document[name]) {document[name].src = eval(name+"_n.src");}
		else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
		else if (imgObj)	{imgObj.src = eval(name+"_n.src");}
	}
/***************************************************************
*
*  JavaScript DHTML layer menu
*
* $Id: jsfunc.layermenu.js 785 2005-08-22 13:39:47Z masi $
*
*
*
*  Copyright notice
*
*  (c) 1998-2003 Kasper Skårhøj
*  All rights reserved
*
*  This script is part of the TYPO3 tslib/ library provided by
*  Kasper Skårhøj <kasper@typo3.com> together with TYPO3
*
*  Released under GNU/GPL (see license file in tslib/)
*
*  This script is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*  This copyright notice MUST APPEAR in all copies of this script
***************************************************************/

var GLV_x=0;
var GLV_y=0;
var GLV_curLayerWidth = new Array();
var GLV_curLayerHeight = new Array();
var GLV_curLayerX = new Array();
var GLV_curLayerY = new Array();
var GLV_menuOn = new Array();
var GLV_gap = new Array();
var GLV_currentLayer = new Array();
var GLV_currentROitem = new Array();
var GLV_hasBeenOver = new Array();
var GLV_doReset = new Array();
var GLV_lastKey = new Array();
var GLV_menuXY = new Array();
var GLV_date = new Array();
var GLV_timeout = new Array();
var GLV_timeoutRef = new Array();
var GLV_onlyOnLoad = new Array();
var GLV_dontHideOnMouseUp = new Array();
var GLV_date = new Date();
var GLV_restoreMenu = new Array();
var GLV_timeout_count=0;
var GLV_timeout_pointers = new Array();
var GLV_dontFollowMouse = new Array();

	//browsercheck...
function GL_checkBrowser(){
	this.dom= (document.getElementById);

		// detect version (even if Opera disguises as Mozilla or IE)
	if (op = (navigator.userAgent.indexOf("Opera")>-1))	{
		switch (parseInt(navigator.userAgent.substr(navigator.userAgent.indexOf("Opera")+6)))	{
			case 5:
			case 6:
				this.op5= true;
				break;
			case 7:
			case 8:
			case 9:
			case 10:
			case 11:
				this.op7= true;
				break;
			default:
				this.op4= true;
		}
	}
	this.konq=  (navigator.userAgent.indexOf("Konq")>-1);
	this.ie4= (document.all && !this.dom && !op && !this.konq);
	this.ie5= (document.all && this.dom && !op && !this.konq);
	this.ie6= (this.ie5);
	this.ns4= (document.layers && !this.dom && !this.konq);
	this.ns5= (!document.all && this.dom && !op && !this.konq);
	this.ns6= (this.ns5);
	this.bw=  (this.ie4 || this.ie5 || this.ns4 || this.ns6 || this.konq || op);

	return this;
}
bw= new GL_checkBrowser();

	//NS4 resize fix.
if(document.layers){
    scrX= innerWidth; scrY= innerHeight;
    onresize= function()	{if(scrX!= innerWidth || scrY!= innerHeight)	{history.go(0);}};
}
	//Returns css
function GL_getObjCss(obj){
	return bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?document.layers[obj]:0;
};
function GL_isObjCss(obj){
	flag = bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?document.layers[obj]:0;
	if (flag)	return true;
};

function GL_getObj(obj){
	nest="";
	this.el= bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document."+obj):document.getElementById(obj);
	this.css= bw.ns4?this.el:this.el.style;
	this.ref= bw.ns4?this.el.document:document;
	this.x= (bw.ns4||bw.op5)?this.css.left:this.el.offsetLeft;
	this.y= (bw.ns4||bw.op5)?this.css.top:this.el.offsetTop;
	this.height= (bw.ie4||bw.ie5||bw.ns6||bw.op7||bw.konq)?this.el.offsetHeight:bw.ns4?this.ref.height:bw.op4?this.css.pixelHeight:0;
	this.width= (bw.ie4||bw.ie5||bw.ns6||bw.op7||bw.konq)?this.el.offsetWidth:bw.ns4?this.ref.width:bw.op4?this.css.pixelWidth:0;

	return this;
}
function GL_initLayers() {
	if(bw.ns4) document.captureEvents(Event.MOUSEMOVE);
	GL_timeout_func();
}
function GL_updateTime(WMid)	{
	GLV_date = new Date();
	GLV_timeout[WMid] = GLV_date.getTime();
}
function GL_doResetAll(WMid) {
	var resetSubMenus="";
	eval('resetSubMenus = GL'+WMid+'_resetSubMenus();');
	if (GLV_doReset[WMid] && resetSubMenus) {
		GLV_doReset[WMid] = false;
		GL_hideAll(WMid);
		if (GLV_onlyOnLoad[WMid])	GL_restoreMenu(WMid);
	}
}
function GL_timeout_func()	{
	GLV_date = new Date();
	var stuff="";
	for (var a=0;a<GLV_timeout_count;a++)	{
		WMid = GLV_timeout_pointers[a];
		if (GLV_date.getTime()-GLV_timeout[WMid] > GLV_timeoutRef[WMid])	{
			GL_doResetAll(WMid);
		}
	}
//window.status = GLV_date.getTime()-GLV_timeout[WMid]-GLV_timeoutRef[WMid]
	window.setTimeout("GL_timeout_func();",200);
}
function GL_resetAll(WMid) {
	if (!GLV_doReset[WMid]) {
		GL_updateTime(WMid);
		GLV_doReset[WMid] = true;
	}
}
function GL_mouseUp(WMid,e) {
	GLV_doReset[WMid] = false;
	if (!GLV_dontHideOnMouseUp[WMid])	{
		GL_hideAll(WMid);
		if (GLV_onlyOnLoad[WMid])	GL_restoreMenu(WMid);
	}
}
function GL_stopMove(WMid) {
	GLV_menuOn[WMid] = null;
}
function GL_restoreMenu(WMid)	{
	eval('GL'+WMid+'_restoreMenu()');
}


/* Ralf Hettinger: find y position */
function findAbsPosY(obj) {
	var curtop = 0;
	if(obj.offsetParent) {
		while(1) {
			curtop += obj.offsetTop;
			if(!obj.offsetParent) {
				break;
			}
			obj = obj.offsetParent;
		}
	} else {
		if(obj.y) {
			curtop += obj.y;
			return curtop;
		}
	}
}

function GL_doTop(WMid,id) {
	GL_hideAll(WMid);
	if (GL_isObjCss(id))	{
		GLV_menuOn[WMid] = GL_getObjCss(id);
		GLV_menuOn[WMid].visibility = "visible";

		eval('GL'+WMid+'_doTop(WMid,id)');

		var layerObj = GL_getObj(id);
		GLV_curLayerHeight[WMid] = layerObj.height;
		GLV_curLayerWidth[WMid] = layerObj.width;
		GLV_curLayerX[WMid] = layerObj.x;
		GLV_curLayerY[WMid]  = layerObj.y;
		GLV_currentLayer[WMid] = id;
		GLV_hasBeenOver[WMid]=0;
	}
}
	//Capturing mousemove
function GL_getMouse(e) {
	GLV_x= (bw.ns4||bw.ns5)?e.pageX:(bw.ie4||bw.op4)?event.x:(event.x-2)+document.body.scrollLeft;
	GLV_y= (bw.ns4||bw.ns5)?e.pageY:(bw.ie4||bw.op4)?event.y:(event.y-2)+document.body.scrollTop;

/* Ralf Hettinger: this layout is y position fixed. so treat mouse as if page wouldn't have scrolled */
	var scrollPosY = 0;
	if (typeof window.pageYOffset != 'undefined') {
		scrollPosY = window.pageYOffset;
	} else if (typeof document.compatMode != 'undefined' && document.compatMode != 'BackCompat') {
		scrollPosY = 0 // document.documentElement.scrollTop;
	} else if (typeof document.body != 'undefined') {
		scrollPosY = 0 // document.body.scrollTop;
	}
	GLV_y = GLV_y - scrollPosY;
}
function GL_mouseMoveEvaluate(WMid)	{
	if (GLV_gap[WMid] && GLV_currentLayer[WMid]!=null)	{

/* Ralf Hettinger: special for Addictz */
		if (window.innerHeight - 46 > 0) {
			old_GLV_curLayerY = GLV_curLayerY[WMid];
			GLV_curLayerY[WMid] += window.innerHeight - 46;
		}
/***/

		if (	GLV_x+GLV_gap[WMid]-GLV_curLayerX[WMid] <0 ||
			GLV_y+GLV_gap[WMid]-GLV_curLayerY[WMid] <0 ||
			GLV_curLayerX[WMid]+GLV_curLayerWidth[WMid]+GLV_gap[WMid]-GLV_x <0 ||
			GLV_curLayerY[WMid]+GLV_curLayerHeight[WMid]+GLV_gap[WMid]-GLV_y <0)	{
			if (GLV_hasBeenOver[WMid])	{
				GLV_doReset[WMid]=true;
			}
//			alert ('resettrigger: mousepos(GLV_y)='+GLV_y+' GAP='+GLV_gap[WMid]+' Layerpos='+GLV_curLayerY[WMid]+' Layerheight='+GLV_curLayerHeight[WMid]);
		} else {
			GL_updateTime(WMid);
			GLV_hasBeenOver[WMid]=1;
			GLV_doReset[WMid]=false;	// Added 120902: When on the layer we do not want the layer to be reset...
//			alert ('no reset triggeres: mousepos(GLV_y)='+GLV_y+' curLayoerpos='+GLV_curLayerY[WMid]);
		}

/* Ralf Hettinger: special for Addictz */
		GLV_curLayerY[WMid] = old_GLV_curLayerY;
/***/

	}
}
function GL_hideAll(WMid)	{
	GLV_doReset[WMid] = false;
	GLV_currentLayer[WMid] = null;
	if (GL_isObjCss(GLV_lastKey[WMid]) && GL_getObjCss(GLV_lastKey[WMid]))	{	eval('GL'+WMid+'_hideCode()');	}
	GLV_hasBeenOver[WMid]=0;
}

function GL_iframer(WMid,id,state)	{
	if (bw.ie4||bw.ie5) {
		ifrmObj = bw.ie4?document.all["Iframe"+WMid]:document.getElementById("Iframe"+WMid);
		if (state) {
			parentObj = bw.ie4?document.all[id]:document.getElementById(id);
			ifrmObj.style.filter='Alpha(opacity=0)';
			ifrmObj.style.width = parentObj.offsetWidth + "px";
			ifrmObj.style.height = parentObj.offsetHeight + "px";
			ifrmObj.style.left = parentObj.offsetLeft + "px";
			ifrmObj.style.top = parentObj.offsetTop + "px";
			ifrmObj.style.zIndex = parentObj.style.zIndex-1;
			ifrmObj.style.display = "";
		}
		else ifrmObj.style.display = "none";
	}
}



GLV_curLayerWidth["menu_bottom_x"]=0;
GLV_curLayerHeight["menu_bottom_x"]=0;
GLV_curLayerX["menu_bottom_x"]=0;
GLV_curLayerY["menu_bottom_x"]=0;
GLV_menuOn["menu_bottom_x"] = null;
GLV_gap["menu_bottom_x"]=50;
GLV_currentLayer["menu_bottom_x"] = null;
GLV_currentROitem["menu_bottom_x"] = null;
GLV_hasBeenOver["menu_bottom_x"]=0;
GLV_doReset["menu_bottom_x"]=false;
GLV_lastKey["menu_bottom_x"] = "Menumenu_bottom_x0";
GLV_onlyOnLoad["menu_bottom_x"] = 0;
GLV_dontHideOnMouseUp["menu_bottom_x"] = 0;
GLV_dontFollowMouse["menu_bottom_x"] = 1;
GLV_date = new Date();
GLV_timeout["menu_bottom_x"] = GLV_date.getTime();
GLV_timeoutRef["menu_bottom_x"] = 100;
GLV_menuXY["menu_bottom_x"] = new Array();
GLV_menuXY["menu_bottom_x"]["Menumenu_bottom_x0"] = new Array(0,0,"itemIDb37a431f78","anchorIDb37a431f78");

// Alternative rollover/out functions for use with GMENU_LAYER
function GLmenu_bottom_x_over(mitm_id)	{
	GLmenu_bottom_x_out("");	// removes any old roll over state of an item. Needed for alwaysKeep and Opera browsers.
	switch(mitm_id)	{
case "Menumenu_bottom_x0":over('menu_bottom_dropup_13_0');; break;
	}
	GLV_currentROitem["menu_bottom_x"]=mitm_id;
}
function GLmenu_bottom_x_out(mitm_id)	{
	if (!mitm_id)	mitm_id=GLV_currentROitem["menu_bottom_x"];
	switch(mitm_id)	{
case "Menumenu_bottom_x0":out('menu_bottom_dropup_13_0');; break;
	}
}

function GLmenu_bottom_x_getMouse(e) {
	if (GLV_menuOn["menu_bottom_x"]!=null && !GLV_dontFollowMouse["menu_bottom_x"]){

	}
	GL_mouseMoveEvaluate("menu_bottom_x");
}
function GLmenu_bottom_x_hideCode() {

	GL_getObjCss("Menumenu_bottom_x0").visibility = "hidden";
GLmenu_bottom_x_out("");
}
function GLmenu_bottom_x_doTop(WMid,id) {
var parentObject = GL_getObj(GLV_menuXY[WMid][id][2]);
		var TI_width = parentObject.width;
		var TI_height = parentObject.height;
		var anchorObj = GL_getObj(GLV_menuXY[WMid][id][3]);
		var TI_x = anchorObj.x;
		var TI_y = anchorObj.y;
		
			
GLV_menuOn["menu_bottom_x"].left = (TI_x+0)+"px";
GLV_menuOn["menu_bottom_x"].top =  (TI_y+0-GL_getObj(id).height)+"px";
}
function GLmenu_bottom_x_restoreMenu() {

}
function GLmenu_bottom_x_resetSubMenus() {
	var resetSubMenu=1;

	return resetSubMenu;
}

GLV_timeout_pointers[GLV_timeout_count] = "menu_bottom_x";
GLV_timeout_count++;

	function T3_onmousemoveWrapper(e)	{	GL_getMouse(e);   GLmenu_bottom_x_getMouse(e);	}
	function T3_onmouseupWrapper(e)	{	GL_mouseUp('menu_bottom_x',e);	}
	function T3_onloadWrapper(e)	{	GL_initLayers();   GL_restoreMenu("menu_bottom_x");	}

menul1_top_home_13_0_n=new Image(); menul1_top_home_13_0_n.src = "typo3temp/menu/809245a11d.gif"; 
menul1_top_home_13_0_h=new Image(); menul1_top_home_13_0_h.src = "typo3temp/menu/20d3a0ffaa.gif"; 
menul1_top_19_0_n=new Image(); menul1_top_19_0_n.src = "typo3temp/menu/d4e4e249ab.gif"; 
menul1_top_19_0_h=new Image(); menul1_top_19_0_h.src = "typo3temp/menu/d7c4d39774.gif"; 
menul1_top_30_1_n=new Image(); menul1_top_30_1_n.src = "typo3temp/menu/3dff7d6ac4.gif"; 
menul1_top_30_1_h=new Image(); menul1_top_30_1_h.src = "typo3temp/menu/353dfe89a3.gif"; 
menul1_top_28_2_n=new Image(); menul1_top_28_2_n.src = "typo3temp/menu/5e61edfb93.gif"; 
menul1_top_28_2_h=new Image(); menul1_top_28_2_h.src = "typo3temp/menu/441a32b100.gif"; 
menul1_top_14_3_n=new Image(); menul1_top_14_3_n.src = "typo3temp/menu/1a97769d47.gif"; 
menul1_top_14_3_h=new Image(); menul1_top_14_3_h.src = "typo3temp/menu/bd11e7fe3b.gif"; 
menul1_top_18_4_n=new Image(); menul1_top_18_4_n.src = "typo3temp/menu/4ffe51fe3d.gif"; 
menul1_top_18_4_h=new Image(); menul1_top_18_4_h.src = "typo3temp/menu/ffbf2bd449.gif"; 
menu_bottom_dropup_13_0_n=new Image(); menu_bottom_dropup_13_0_n.src = "typo3temp/menu/7f907fb4ff.gif"; 
menu_bottom_dropup_13_0_h=new Image(); menu_bottom_dropup_13_0_h.src = "typo3temp/menu/7f907fb4ff.gif"; 
menul2_bottom_18_0_n=new Image(); menul2_bottom_18_0_n.src = "typo3temp/menu/e8f1c1721b.gif"; 
menul2_bottom_18_0_h=new Image(); menul2_bottom_18_0_h.src = "typo3temp/menu/252022fa23.gif"; 
menul2_bottom_14_1_n=new Image(); menul2_bottom_14_1_n.src = "typo3temp/menu/ef88f2e90e.gif"; 
menul2_bottom_14_1_h=new Image(); menul2_bottom_14_1_h.src = "typo3temp/menu/e34ece8c93.gif"; 
menul2_bottom_28_2_n=new Image(); menul2_bottom_28_2_n.src = "typo3temp/menu/a579b72c4f.gif"; 
menul2_bottom_28_2_h=new Image(); menul2_bottom_28_2_h.src = "typo3temp/menu/0c0feefccb.gif"; 
menul2_bottom_30_3_n=new Image(); menul2_bottom_30_3_n.src = "typo3temp/menu/ac956c4070.gif"; 
menul2_bottom_30_3_h=new Image(); menul2_bottom_30_3_h.src = "typo3temp/menu/6f3408e8b3.gif"; 
menul2_bottom_19_4_n=new Image(); menul2_bottom_19_4_n.src = "typo3temp/menu/2cd48f6efb.gif"; 
menul2_bottom_19_4_h=new Image(); menul2_bottom_19_4_h.src = "typo3temp/menu/77454f0efe.gif"; 