
<!--
//Browsercheck
function checkBrowser(){
        this.ver=navigator.appVersion
        this.dom=document.getElementById?1:0
        this.opera=(this.ver.indexOf("Opera")>-1 && this.dom)?1:0;
        this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
        this.ie4=(document.all && !this.dom)?1:0;
        this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
        this.ns4=(document.layers && !this.dom)?1:0;
        this.ie4mac=this.ie4 && navigator.userAgent.indexOf("Mac")>-1
        this.ie5mac=this.ie5 && navigator.userAgent.indexOf("Mac")>-1
        this.ie55=(this.ver.indexOf("MSIE 5.5")>-1 && this.dom)?1:0;
        this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5 || this.ie5mac || this.opera)
        return this
}
bw=new checkBrowser()


//Scroller-Speed (je gr?sser, desto schneller)
var speed = 40
var loop, timer

//Objekt-Konstrukteur
function makeObj(obj,nest){
    nest=(!nest) ? "":'document.'+nest+'.'
        this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
          this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
        this.scrollWidth=bw.ns4?this.css.document.width:this.el.offsetWidth;
        this.clipWidth=bw.ns4?this.css.clip.width:this.el.offsetWidth;
        this.left=goLeft;this.right=goRight;
        this.moveIt=moveIt; this.x=0; this.y=0;
    this.obj = obj + "Object"
    eval(this.obj + "=this")
    return this
}

//Funktion moveIt
var px = bw.ns4||window.opera?"":"px";

function moveIt(x,y){
        this.x = x
        this.y = y
        this.css.left = this.x+px
        this.css.top = this.y+px
}

//Funktion goRight
function goRight(move){
        if (this.x>-this.scrollWidth+oCont.clipWidth){
                this.moveIt(this.x-move,0)
                        if (loop) setTimeout(this.obj+".right("+move+")",speed)
        }
}

//Funktion goLeft
function goLeft(move){
        if (this.x<0){
                this.moveIt(this.x-move,0)
                if (loop) setTimeout(this.obj+".left("+move+")",speed)
        }
}

//Funktion scroll
function scroll(speed){
        if(loaded){
                loop=true;
                if(speed>0) oScroll.right(speed)
                else oScroll.left(speed)
        }
}

//Funktion noScroll (f?r Event-Handler onMouseOut)
function noScroll(){
        loop=false
        if(timer) clearTimeout(timer)
}

//Objekt-Init
var loaded;
function scrollInit(){
loaded=false;
        oCont=new makeObj('contDiv')
        oScroll=new makeObj('textDiv','contDiv')
        oScroll.moveIt(0,0)
        oCont.css.visibility='hidden'
        loaded=true;

}






function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}


function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function GP_AdvOpenWindow(theURL,winName,features,popWidth,popHeight,winAlign,ignorelink,alwaysOnTop,autoCloseTime,borderless) { //v2.0
  var leftPos=0,topPos=0,autoCloseTimeoutHandle, ontopIntervalHandle, w = 480, h = 340;
  if (popWidth > 0) features += (features.length > 0 ? ',' : '') + 'width=' + popWidth;
  if (popHeight > 0) features += (features.length > 0 ? ',' : '') + 'height=' + popHeight;
  if (winAlign && winAlign != "" && popWidth > 0 && popHeight > 0) {
    if (document.all || document.layers || document.getElementById) {w = screen.availWidth; h = screen.availHeight;}
		if (winAlign.indexOf("center") != -1) {topPos = (h-popHeight)/2;leftPos = (w-popWidth)/2;}
		if (winAlign.indexOf("bottom") != -1) topPos = h-popHeight; if (winAlign.indexOf("right") != -1) leftPos = w-popWidth;
		if (winAlign.indexOf("left") != -1) leftPos = 0; if (winAlign.indexOf("top") != -1) topPos = 0;
    features += (features.length > 0 ? ',' : '') + 'top=' + topPos+',left='+leftPos;}
  if (document.all && borderless && borderless != "" && features.indexOf("fullscreen") != -1) features+=",fullscreen=1";
  if (window["popupWindow"] == null) window["popupWindow"] = new Array();
  var wp = popupWindow.length;
  popupWindow[wp] = window.open(theURL,winName,features);
  if (popupWindow[wp].opener == null) popupWindow[wp].opener = self;
  if (document.all || document.layers || document.getElementById) {
    if (borderless && borderless != "") {popupWindow[wp].resizeTo(popWidth,popHeight); popupWindow[wp].moveTo(leftPos, topPos);}
    if (alwaysOnTop && alwaysOnTop != "") {
    	ontopIntervalHandle = popupWindow[wp].setInterval("window.focus();", 50);
    	popupWindow[wp].document.body.onload = function() {window.setInterval("window.focus();", 50);}; }
    if (autoCloseTime && autoCloseTime > 0) {
    	popupWindow[wp].document.body.onbeforeunload = function() {
  			if (autoCloseTimeoutHandle) window.clearInterval(autoCloseTimeoutHandle);
    		window.onbeforeunload = null;	}
   		autoCloseTimeoutHandle = window.setTimeout("popupWindow["+wp+"].close()", autoCloseTime * 1000); }
  	window.onbeforeunload = function() {for (var i=0;i<popupWindow.length;i++) popupWindow[i].close();}; }
  document.MM_returnValue = (ignorelink && ignorelink != "") ? false : true;
}



var ns6 = document.getElementById&&!document.all?1:0;
var ie = document.all?1:0;
var ns4 = document.layers?1:0;
var dom = document.getElementById?1:0;


function slideRight() {

 if(dom) {
 menu = document.getElementById("slidemenu").style;
 leftend = 0;
 rightend = -108;
  if(parseInt(menu.left) < leftend) {
  menu.left = parseInt(menu.left)+4;
  getup();
  }
 }
 else if(ns4) {
 menu = document.layers["slidemenu"];
 leftend = 116;
 rightend = 8;
  if(menu.left < leftend) {
  menu.left+=4;
  getup();
  }
 }
}

function getup() {

if(window.back_timer)
clearTimeout(back_timer);
out_timer = setTimeout("slideRight()",10);
}


function slideLeft() {

 if(dom && (parseInt(menu.left) > rightend)) {
 menu.left = parseInt(menu.left)-4;
 shut();
 }
 else if(ns4 && (menu.left > rightend)) {
 menu.left-=4;
 shut();
 }
}

function shut() {

if(window.out_timer)
clearTimeout(out_timer);
back_timer = setTimeout("slideLeft()",10);
}







        function oMO(el)
        {
         el.style.backgroundColor = '#E8E8E8';
        }
        function oMD(el)
        {
         el.style.backgroundColor = '#f1f1f1';
        }
        function oMOv(el)
        {
         el.style.backgroundColor = '#dddddd';
        }

        function oMOcol(el,col)
        {
         el.style.backgroundColor = col;
        }
        function oMDcol(el,col)
        {
         el.style.backgroundColor = col;
        }
        function oMOvcol(el,col)
        {
         el.style.backgroundColor = col;
        }
        function show_cover(id)
        {
         escape('<img src=\'imgs/basics/cover_mini.jpg\' width=\'40\'>')
        }





var preloadFlag = false;
function preloadImages() {
	if (document.images) {

img1on = new Image();
img1on.src = "imgs/basics/lounge/mb1_bg_over.gif";

img1off = new Image();
img1off.src = "imgs/basics/lounge/mb1_bg.gif";

img2on = new Image();
img2on.src = "imgs/basics/lounge/mb2_bg_over.gif";

img2off = new Image();
img2off.src = "imgs/basics/lounge/mb2_bg.gif";

img3on = new Image();
img3on.src = "imgs/basics/lounge/mb3_bg_over.gif";

img3off = new Image();
img3off.src = "imgs/basics/lounge/mb3_bg.gif";
/*
img4on = new Image();
img4on.src = "imgs/basics/lounge/mb4_bg_over.gif";

img4off = new Image();
img4off.src = "imgs/basics/lounge/mb4_bg.gif";
*/


		preloadFlag = true;
	}
}




function imgOn(imgName) {
        if (document.images) {
        
        img1on = new Image();
        img1on.src = "imgs/basics/lounge/mb1_bg_over.gif";
        img2on = new Image();
        img2on.src = "imgs/basics/lounge/mb2_bg_over.gif";
        img3on = new Image();
        img3on.src = "imgs/basics/lounge/mb3_bg_over.gif";
                img1off = new Image();
        img1off.src = "imgs/basics/lounge/mb1_bg.gif";
        img2off = new Image();
        img2off.src = "imgs/basics/lounge/mb2_bg.gif";
        img3off = new Image();
        img3off.src = "imgs/basics/lounge/mb3_bg.gif";
        
            document[imgName].src = eval(imgName + "on.src");
        }
}

function imgOff(imgName) {
        if (document.images) {
        

        
            document[imgName].src = eval(imgName + "off.src");
        }
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}




function stick_asearch_main(yoff) {

if(ie) {
 element = "asearch_main";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_main')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_main";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_main')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_main(" + yoff + ")",10);
}



function stick_asearch_shadow(yoff) {

if(ie) {
 element = "asearch_shadow";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_shadow')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_shadow";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_shadow')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_shadow(" + yoff + ")",10);
}

function stick_asearch_shadow_big(yoff) {

if(ie) {
 element = "asearch_shadow_big";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_shadow_big')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_shadow_big";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_shadow_big')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_shadow_big(" + yoff + ")",10);
}




function stick_asearch_button(yoff) {

if(ie) {
 element = "asearch_button";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_button')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_button";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_button')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_button(" + yoff + ")",10);
}

function stick_asearch_button_shadow(yoff) {

if(ie) {
 element = "asearch_button_shadow";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_button_shadow')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_button_shadow";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_button_shadow')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_button_shadow(" + yoff + ")",10);
}

function stick_asearch_cart(yoff) {

if(ie) {
 element = "asearch_cart";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_cart')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_cart";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_cart')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_cart(" + yoff + ")",10);
}

function stick_asearch_wishlist(yoff) {

if(ie) {
 element = "asearch_wishlist";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_wishlist')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_wishlist";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_wishlist')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_wishlist(" + yoff + ")",10);


}

function stick_asearch_history(yoff) {

if(ie) {
 element = "asearch_history";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_history')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_history";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_history')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_history(" + yoff + ")",10);


}


function stick_asearch_login(yoff) {

if(ie) {
 element = "asearch_login";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_login')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_login";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_login')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_login(" + yoff + ")",10);


}

function stick_asearch_notice(yoff) {

if(ie) {
 element = "asearch_notice";
 prop = ".style.pixelTop=";
 y_pos = document.body.scrollTop + yoff;
}
else if(ns6) {
 element = "document.getElementById('asearch_notice')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}
else if(ns4) {
 element = "document.asearch_notice";
 prop = ".top=";
 y_pos = window.pageYOffset + yoff;
}
else {

 element = "document.getElementById('asearch_notice')";
 prop = ".style.top=";
 y_pos = window.pageYOffset + yoff;
}

eval(element + prop + y_pos);
setTimeout("stick_asearch_notice(" + yoff + ")",10);


}



var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;



function hide_selects()
{


	var t_o;

		t_o = document.quickbar.listsearcher;
		if (tt_vis && tt_objX+tt_objW > t_o.x && tt_objX < t_o.x+t_o.offsetWidth && tt_objY+tt_objH > t_o.y && tt_objY < t_o.y+t_o.offsetHeight)
		{
		var k = 1;
			t_o.style.visibility = 'hidden';
			}
		else t_o.style.visibility = 'visible';


}

function xsearch()
{
        form = document.getElementsByName("quickbar")[0];
        xsearch = document.getElementById("xsearchtext");
        form.action = "?id=" + document.getElementById("nodeid").value + "&xsearch=" + xsearch.value + "&searchtyp=quicksearch";
        form.submit();
}

function xstylesearch()
{
        form = document.getElementsByName("quickbar")[0];
       /* document.getElementById("xsearchtext").value = '';  */
       if(document.getElementById("xsearchtext").value == 'Schnellsuche')
       {
       	document.getElementById("xsearchtext").value = '';
       }
        xsearch_genre = document.getElementById("Genre");
        xsearch_medium = document.getElementById("medium");
        //form.action = "?id=" + document.getElementById("nodeid").value  + "&xsearch=" + xsearch_genre.value  + "&medium=" + xsearch_medium.value + "&searchtyp=quicksearch";
        form.action = "?id=" + document.getElementById("nodeid").value  + "&xsearch=" + xsearch_genre.value;
        form.submit();
}

function listsearch()
{
        form = document.getElementsByName("quickbar")[0];
        xsearch_genre = document.getElementById("listsearcher");
        form.action = xsearch_genre.options[xsearch_genre.selectedIndex].value;
        form.submit();

}
function decrypt(deinname,deinedomain){

document.write('<a href=\"&#109;&#97;&#105;&#108;&#116;&#111;&#58;' + deinname + '&#64;' + deinedomain + '\">');
document.write(deinname + '&#64;' + deinedomain + '</a>');
}
-->