	function laagzichtbaar(strLayer, strImage) {
		var varLayer = getLayer(strLayer);
		if (varLayer) {
			varLayer.visibility = 'visible';
		}
	}

	function laagnietzichtbaar(strLayer, strImage) {
		var varLayer = getLayer(strLayer);
		varLayer.visibility = 'hidden';
	}

	function getLayer(name) {
		if (document.getElementById) {
			if (document.getElementById(name)) {
				return document.getElementById(name).style;
			} else {
				return false;
			}
		} else if (document.all) {
			return document.all[name].style;
		} else if (document.layers) {
			return document.layers[name];
		}
	}
	
function shiftOpacity(id, millisec) { 
    //if an element is invisible, make it visible, else make it ivisible 
    if(document.getElementById(id).style.opacity == 0) { 
        opacity(id, 0, 100, millisec); 
    } else { 
        opacity(id, 100, 0, millisec); 
    } 
} 

function opacity(id, opacStart, opacEnd, millisec) { 
    //speed for each frame 
    var speed = Math.round(millisec / 100); 
    var timer = 0; 

    //determine the direction for the blending, if start and end are the same nothing happens 
    if(opacStart > opacEnd) { 
        for(i = opacStart; i >= opacEnd; i--) { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
						i--;
        } 
    } else if(opacStart < opacEnd) { 
        for(i = opacStart; i <= opacEnd; i++) { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++;
						i++;
        } 
    }
		
} 

//change the opacity for different browsers 
function changeOpac(opacity, id) {
	if (opacity != 100) {
		var object = document.getElementById(id).style;
    object.opacity = (opacity / 100);
    object.MozOpacity = (opacity / 100);
    object.KhtmlOpacity = (opacity / 100);
    object.filter = "alpha(opacity=" + opacity + ")";
	}
/*		
		if (id == "homepage_rechts_tekst_default") {
			document.getElementById("fade0").innerHTML = document.getElementById("fade0").innerHTML + " " + document.getElementById("homepage_rechts_tekst_default").style.opacity;
		} else if (id == "homepage_rechts_tekst_industrial") {
			document.getElementById("fade1").innerHTML = document.getElementById("fade1").innerHTML + " " + document.getElementById("homepage_rechts_tekst_industrial").style.opacity;
		} else if (id == "homepage_rechts_tekst_promotional") {
			document.getElementById("fade2").innerHTML = document.getElementById("fade2").innerHTML + " " + document.getElementById("homepage_rechts_tekst_promotional").style.opacity;
		} else if (id == "homepage_rechts_tekst_medical") {
			document.getElementById("fade3").innerHTML = document.getElementById("fade3").innerHTML + " " + document.getElementById("homepage_rechts_tekst_medical").style.opacity;
		}
		*/
} 


var count;
function countdown(){
count = count + 1;
if (count<121){
	document.getElementById('CatalogusReminder').style.left='-'+count+'px';
	document.getElementById('CatalogusReminder').style.width='0'+count+'px';
	//alert(''+count+'px');
	Id = window.setTimeout("countdown();",1);
	}
}


	function clickreminder_onmouseover ()
	{
//	count = 21;
//	countdown();
	
	document.getElementById('CatalogusReminder').style.left='-93px';
	document.getElementById('CatalogusReminder').style.width='141px';
	document.getElementById('CatalogusReminder').onmouseover='';
	}

	function clickreminder_onmouseout ()
	{
//	count = 21;
//	countdown();
	
//	document.getElementById('CatalogusReminder').style.left='-21px';
//	document.getElementById('CatalogusReminder').style.width='21px';
//	document.getElementById('CatalogusReminder').onmouseover='clickreminder_onmouseover();';
	
//	document.getElementById('CatalogusReminderKop').style.background='url(/img/catalogusreminder/ReminderKop-OV.gif)'
	}
	
	function clickreminder_close ()
	{
//	count = 21;
//	countdown();
	
	document.getElementById('CatalogusReminder').style.left='-7px';
	document.getElementById('CatalogusReminder').style.width='7px';
	document.getElementById('CatalogusReminder').onmouseover='clickreminder_onmouseover();';
	
//	document.getElementById('CatalogusReminderKop').style.background='url(/img/catalogusreminder/ReminderKop-OV.gif)'
	}

	<!--
	function popup(mylink, windowname)
	{
	if (! window.focus)return true;
	var href;
	if (typeof(mylink) == 'string') {
	   href=mylink;
	} else {
	   href=mylink.href;
	}
	
	var oNewWindow;
	oNewWindow = window.open(href, windowname, 'location=yes, toolbar=no, fullscreen, scrollbars=yes');
	//oNewWindow.focus();
	//alert(oNewWindow.name);
	return false;
	}
	//-->
	
		
	
	
	<!--
	function ShowTailormadePopup(){
	document.getElementById('TailorMadePopup').style.display='block';
	document.getElementById('ContentTable').style.display='none';
	return false
	}
	function HideTailormadePopup(){
	document.getElementById('TailorMadePopup').style.display='none';
	document.getElementById('ContentTable').style.display='block';
	return false
	}	
	//-->

