<!--

var oldimg = false;
var pagetitle = null;

function rel() {
	location.reload();
}

function centerwindow(file,winname,fwidth,fheight,scrolling,resizeable){
  var win = null;
  var winl = (screen.width-fwidth)/2;
  var wint = (screen.height-fheight)/2;
  var settings  ='height='+fheight+',';
      settings +='width='+fwidth+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scrolling+',';
      settings +='resizable='+resizeable+'';
  win=window.open(file,winname,settings);
  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}

function showimg(was) {
	if ( oldimg ) document.getElementById(oldimg).style.visibility='hidden';
	if ( was ) document.getElementById(was).style.visibility='visible';
	oldimg = was;
}

function ie_png (what) {
	if (/MSIE [56].*Windows/.test(navigator.userAgent)) {
		// fucked-up browser (Internet Explorer for Windows)
		var blank = new Image;
		blank.src = '../images/blank.gif';
		var img = what;
		var src = img.src;
		if (!/\.png$/.test(src))
			return (false);
		var s = img.runtimeStyle;
		s.width = img.offsetWidth + "px";
		s.height = img.offsetHeight + "px";
		s.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "',sizingMethod='scale')";
		img.src = blank.src;
	}
}

function hidebody () {
	pagetitle = document.title;
	document.title = document.title+' - This site is currently loading... Please wait...';
}

function showbody () {
	document.body.style.visibility='visible';
	document.title = pagetitle;
}

function showlayer(layer) {
	document.getElementById(layer).style.display="block";
}

function hidelayer(layer) {
	document.getElementById(layer).style.display="none";
}


/* Tab-Changer fuer die Tabbed Hover Darstellung bei den Produkten */
var lasttab=3;
function showtab(no) {
	if ( !no ) no = 1;
	var el = false;
	for ( i = 1; i <= lasttab; i++ ) {
		document.getElementById('tab'+i+'_content').style.visibility='hidden';
		el = document.getElementById('tab'+i);
		with ( el.style ) {
			margin = '0';
			paddingTop = '7px';
			color = '#72aa90';
			textDecoration = 'none';
			backgroundColor = '#ebf1ed';
			borderBottom = '1px solid #bdd7cd';
			borderRight = 'none';
		}
	}
	el = document.getElementById('tab'+no);
	with ( el.style ) {
		margin = '-10px 0 0 0';
		paddingTop = '17px';
		color = '#216b5a';
		textDecoration = 'underline';
		backgroundColor = 'white';
		borderBottom = '1px solid white';
	}
	if ( no != lasttab ) el.style.borderRight = '1px solid #b6cec6';
	document.getElementById('tab'+no+'_content').style.visibility='visible';
//	document.getElementById('tab'+no+'_content').style.marginTop='-10px';
}


var bannerintervall=6000;
var totalbanner=2;
var swapbanner=1;

function do_swapbanner() {
	for ( var i=1; i<=totalbanner; i++ ) document.getElementById('swapbanner_'+i).style.display='none';
	document.getElementById('swapbanner_'+swapbanner).style.display='block';
	swapbanner++;
	if ( swapbanner > totalbanner ) swapbanner=1;
	setTimeout("do_swapbanner();",bannerintervall);
}



-->
