
function checkLogin(strLogin, strPwd){
	if(strLogin.value == "" || strPwd.value == ""){
		alert("Bitte machen Sie sämtliche Angaben!");
		return false;
	}
	return true;
}

function checkBookingInfo(strName){
	if(strName.value == ""){
		alert("Mindestens Namen angeben!");
		return false;
	}
	return true;
}

function showPic(strFile){
	uebersicht = window.open(strFile,"Fenster1","width=641,height=910,left=0,top=0,resizable=YES");
}
	
function getWinSizeX(){
	var winSizeX;
	if (self.innerHeight){ // all except Explorer
		winSizeX = self.innerWidth;
	}
	else if (document.documentElement && document.documentElement.clientHeight){
		// Explorer 6 Strict Mode
		winSizeX = document.documentElement.clientWidth;
	}
	else if (document.body){ // other Explorers
		winSizeX = document.body.clientWidth;
	}
	return winSizeX;
}

function getWinSizeY(){
	var winSizeY;
	if (self.innerHeight){ // all except Explorer
		winSizeY = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight){
		// Explorer 6 Strict Mode
		winSizeY = document.documentElement.clientHeight;
	}
	else if (document.body){ // other Explorers
		winSizeY = document.body.clientHeight;
	}
	return winSizeY
}
