// JavaScript Document
function opensite(theUrl) {
	NewWindow=window.open(theUrl, 'Info', 'scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,resizable=yes,width=745,height=820');
	NewWindow.focus();
}

function opensite2(theUrl) {
	NewWindow=window.open(theUrl, 'Info', 'scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,resizable=yes,width=785,height=820');
	NewWindow.focus();
}

function opensite3(theUrl) {
	NewWindow=window.open(theUrl, 'Info', 'scrollbars=yes,toolbar=no,location=no,status=no,menubar=no,resizable=yes,width=980,height=820');
	NewWindow.focus();
}

function popUp3(popUpURL, popUpName, popUpWidth, popUpHeight) {
	var popUpParamString = "";	
	if(popUpName == "fix"){//feste gr?sse, keine scrollbars
		if(popUpHeight == ""){
			popUpHeight = 180;
		}		
		if(popUpWidth == ""){
			popUpWidth = 200;
		}
		popUpParamString = "menubar=0,location=0,toolbar=0,status=0,resizable=0,scrollbars=yes,dependent=1,height=" + popUpHeight +",width=" + popUpWidth;
	}	
	else if(popUpName == "flex"){//keine feste gr?sse, mit scrollbars
		if(popUpHeight == ""){
			popUpHeight = 600;
		}		
		if(popUpWidth == ""){
			popUpWidth = 400;
		}
		popUpParamString = "menubar=1,location=0,toolbar=0,status=1,resizable=1,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}	
		
	else if(popUpName == "flux"){//feste gr?sse, mit scrollbars
		
		if(popUpHeight == ""){
			popUpHeight = 600;
		}
		
		if(popUpWidth == ""){
			popUpWidth = 400;
		}
		popUpParamString = "menubar=0,location=0,toolbar=0,status=0,resizable=0,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}	
	
	else if(popUpName == "media"){//keine feste gr?sse, mit scrollbars
		if(popUpHeight == ""){
			popUpHeight = 600;
		}		
		if(popUpWidth == ""){
			popUpWidth = 400;
		}
		popUpParamString = "menubar=1,location=0,toolbar=1,status=1,resizable=1,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}
	else if(popUpName == "agb"){//keine feste gr?sse, mit scrollbars
		if(popUpHeight == ""){
			popUpHeight = 600;
		}		
		if(popUpWidth == ""){
			popUpWidth = 700;
		}
		popUpParamString = "menubar=0,location=0,toolbar=1,status=0,resizable=1,dependent=1,scrollbars=yes,height=" + popUpHeight +",width=" + popUpWidth;
	}	
	window.open(popUpURL,popUpName,popUpParamString);
}
