/* 
<!-- Version 0.6 / Stand: 08.08.2001 --> 
*/

// ** Window Resize Bugfix **********************************************
window.onresize = resize;
window.saveInnerWidth  = window.innerWidth; 
window.saveInnerHeight = window.innerHeight;

function resize() {
    if (saveInnerWidth != window.innerWidth || saveInnerHeight != window.innerHeight ) document.location.reload();
}
// ** End of Window Resize Bugfix ***************************************

var warda = false;

function OpenDruck(breite,hoehe,Ziel) {
	options ="width="+breite+",height="+hoehe+",toolbar=no,locationbar=no,directories=no,scrollbars=yes,status=no,menubar=yes,resizable=no";
	newwindow = open(Ziel+'.html','Drucken',options);
}

function OpenPopUp(breite,hoehe,Ziel) {
	if(top.popup) {
		if(top.popup.closed) {
		} else {
			top.popup.close();
		}
	}
	if ((screen.height>=700) && (Ziel == 'pop_T51_frame')) {
		hoehe = eval(hoehe*1 + 13);
	}
	options ="width="+breite+",height="+hoehe+",toolbar=no,locationbar=no,directories=no,scrollbars=no,status=no,menubar=no,resizable=no";
	popup = open(Ziel+'.html','PopUp',options);
}

function online() {
	window.resizeBy(285,0);
	top._pophead.document.location.href = "pop_TU26_top.html";
	top._popfoot.document.location.href = "pop_TU26_foot.html";
	top._popcont.document.location.href = "pop_TU26_cont.html";
}

function DNavi(jump) {
	if(jump != '') {
		document.location.href = "cont_TV35" + jump + ".html";
	}
}

function OpenShop(breite,hoehe,Ziel) {
	options ="width="+breite+",height="+hoehe+",toolbar=no,locationbar=no,directories=no,scrollbars=yes,status=no,menubar=no,resizable=no";
	popup = open(Ziel+'.html','ShopPopUp',options);
}

function popcontact(ziel) {
	if(ziel != '') {
		options ="width=300,height=287,toolbar=no,locationbar=no,directories=no,scrollbars=yes,status=no,menubar=no,resizable=yes";
		AdressPopUp = open('pop_TV35'+ziel+'.html','AdressPopUp',options);
	}
}


