
function cdp_holehoehe (myValue)
	{
	var myWidth = 0, myHeight = 0;
	myValue = myValue || 213;
	var debugadd = 0;
	if( typeof(window.innerWidth) == 'number' ) 
		{
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
		} 
	  else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) 
		{
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
		} 
	  else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) 
		{
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
		}


	if (myHeight>0)
		{
		$sizer=myHeight-myValue+debugadd;
		document.getElementById("hoehenspacer").style.height = $sizer+"px";
		}
	}
	
function writemaillink (mailIndex)
{
	mails = new Array("info|carlos-de-pilar#xxcom#de");
	mailIndex = mailIndex | 0;
	document.write("<a href=\"javascript:void(0);\" onclick=\"makemail('" + mails[mailIndex] + "'); return false;\"><script type=\"text/javascript\">document.write(maildecode('" + mails[mailIndex] + "'));</script></a>");
}

function maildecode (input)
{
	var output = input;
	output = output.replace(/\|/, '@');
	output = output.replace("#xxcom#", ".");
	return (output);
}

function makemail($link)
{
	$link = maildecode($link);
	this.location.href = "mailto:" + $link;
}