/*
	Website: Weingut Reverchon 
	BOB Design http://www.bob-design.de/ 
	Imagion AG http://www.imagion.de/
	Javascript Datei
	07.03.2008 Daan Meskers
	$last_change: 07.03.2008 Daan Meskers
*/


var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));

// ============ onload ============ 
window.onload = init
window.onresize = setup

function init() {
	try {
		var pageTracker = _gat._getTracker("UA-8076834-1");
		pageTracker._trackPageview();
	} catch(err) {}
	setup()
	if ( document.all ) {
		text = document.getElementById('Text')
		if ( text ) text.style.height = "350px"
		document.getElementById('Content').style.overflowY='auto'
	} else 
		document.getElementById( 'Content' ).style.overflow = "auto"
}
function setup() {
	var winH = parseInt( getHeight(), 10 )
	winH = winH - 345 - 25
	document.getElementById( 'Content' ).style.height = winH +"px"
}


// ================ LIB ================
function getHeight() {
	if ( window.innerHeight )
		return window.innerHeight // window.innerHeight scrollHeight
	if ( document.documentElement && document.documentElement.clientHeight )
		return document.documentElement.clientHeight
	if ( document.body ) 
		return document.body.clientHeight
	else 
		return 600;
}