
/*
 * ShowHide DIV Sektion
 */


function showhide(divid) {
    if (document.getElementById(divid).style.display == 'none') {
	   	show(divid);
	} else {
	   	hide(divid);
	}
}

function show(divid) {
	document.getElementById(divid).style.display = 'block';
}

function hide(divid) {
	document.getElementById(divid).style.display = 'none';
}



function get_innerHeight() { 
	
	var y;
	if (self.innerHeight) // all except Explorer
	{
		y = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		y = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		y = document.body.clientHeight;
	}
	
	return y;
	
	
}



function get_innerWidth() {

	var x;
	if (self.innerHeight) // all except Explorer
	{
		x = self.innerWidth;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		x = document.documentElement.clientWidth;
	}
	else if (document.body) // other Explorers
	{
		x = document.body.clientWidth;
	}
	
	return x;
}

