<!--
var productClicked=false;
var shopClicked=false;
var runClicked=false;
var clinicClicked=false;

var newWindow = null;
var activeTab = '';

function closeWin(){
	if (newWindow != null){
		if(!newWindow.closed)
		newWindow.close();
	}
}

function popUpWin(url, type, strWidth, strHeight){

	closeWin();

	if (type == "fullScreen"){
		strWidth = screen.availWidth - 10;
		strHeight = screen.availHeight - 160;
	}

	var tools="";

	var LeftPosition=(screen.width) ? (screen.width-strWidth)/2 : 0;
	var TopPosition=(screen.height) ? (screen.height-strHeight)/2 : 0;

	if (type == "standard" || type == "fullScreen") tools = "resizable,toolbar=yes,location=yes,scrollbars=yes,menubar=yes,width="+strWidth+",height="+strHeight+",top="+TopPosition+",left="+LeftPosition;
	if (type == "console") tools = "resizable,toolbar=no,location=no,scrollbars=no,width="+strWidth+",height="+strHeight+",top="+TopPosition+",left="+LeftPosition;
	newWindow = window.open(url, 'newWin', tools);
	newWindow.focus();
}

function toggleTab(elmName)
{
    hideTab = activeTab;
    if (activeTab != '')
    {
        document.getElementById(activeTab+"Layer").style.display="none";
        toggleTabState(activeTab, false, true);
        activeTab = '';
    }
    
    if (hideTab!=elmName)
    {
        document.getElementById(elmName+"Layer").style.display="block";
        toggleTabState(elmName, true);
        activeTab = elmName;
    }
}

function toggleTabState(elmName, state, force)
{
    if (activeTab==elmName && !state && !force)
    {
        // Ignore tab off
        return false;
    }
    elm = document.getElementById("head_"+elmName);
    cls = state ? 'over' : '';

    elm.style.backgroundImage="url(/_img/loberen/menu_item_bg"+cls+".gif)";
    elm.style.color="#000";
    iconElm = document.getElementById("head_icon_"+elmName);
    iconElm.src="_img/loberen/topMenuIkon"+cls+".gif";
}

function show_hideProduct(elm) {
    myElement=document.getElementById("productLayer");
    myElement.style.display=(myElement.style.display)=="block"?"none":"block";
    if(myElement.style.display=="block") {
        productClicked=true;
    } else {
        productClicked=false;
        topMenuMan(document.getElementById('headMenu1'),'')
    }
}

function topMenuMan(elm, state) {
    if (productClicked==false) {
		elm.style.backgroundImage="url(/_img/loberen/menu_item_bg"+state+".gif)";
		elm.style.color="#000";
		iconSrcId=elm.id+"Icon";
		iconElm = document.getElementById(iconSrcId);
		iconElm.src="_img/loberen/topMenuIkon"+state+".gif";
	}
}

function footerMenuMan(elm,state) {
	elm.style.backgroundImage="url(/_img/loberen/footer_menu_item_bg"+state+".gif)";
	iconSrcId=elm.id+"Icon";
	iconElm = document.getElementById(iconSrcId);
	iconElm.src="_img/loberen/arrow"+state+".gif";
}

function toggleLayer( whichLayer )
{
  var elem, vis;
  if( document.getElementById ) // this is the way the standards work
    elem = document.getElementById( whichLayer );
  else if( document.all ) // this is the way old msie versions work
      elem = document.all[whichLayer];
  else if( document.layers ) // this is the way nn4 works
    elem = document.layers[whichLayer];
  vis = elem.style;
  // if the style.display value is blank we try to figure it out here
  if(vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
    vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
}
-->