      // Check Rckflug
function checkFlyBack () {
	var checkFlyType = document.getElementById("checkhinflug");
	var boxFlyBack = document.getElementById("flyBackSrd");
	if (checkFlyType.checked) {
		boxFlyBack.style.display = "none";
	}
	else {boxFlyBack.style.display = "block";}
}
// Check Weiterflug
function checkFlyFor () {
	var i;
	var checkFlyType1 = document.getElementById("ankunft");
	var checkFlyType2 = document.getElementById("abflug");
	var boxFlyFor = document.getElementById("flyForSrd");
	var checkTxt = ["Berlin","berlin","(BER) Berlin","(SXF) Flughafen Berlin-Schnefeld","(THF) Flughafen Berlin-Tempelhof","(TXL) Flughafen Berlin-Tegel","TXL","txl","SXF","sxf","BER","ber","THF","thf"];
	for (i=0;i<=checkTxt.length-1;i++) {
		if (checkFlyType1.value == checkTxt[i] || checkFlyType2.value == checkTxt[i]) {
			boxFlyFor.style.display = "none";
			return false;
		}
		else {boxFlyFor.style.display = "block";}
	}
}
// Field Focus
function fieldblur (fieldID,valueTxt) {
	var getAtrr = document.getElementById(fieldID).getAttribute("value");
	var setAtrr = document.getElementById(fieldID).setAttribute("value", valueTxt);
	if (getAtrr == '') {setAtrr;}
}
function fieldfocus (fieldID,valueTxt) {
	var getAtrr = document.getElementById(fieldID).getAttribute("value");
	var setAtrr = document.getElementById(fieldID).setAttribute("value", "");
	if (getAtrr == valueTxt) {setAtrr;}
}
// Add all Functions here!
function doFSFunctions() {
	if(!supportsDOM) {return false;}
	if (document.getElementById("checkhinflug")){
		document.getElementById("checkhinflug").onclick = checkFlyBack;
	}
	if (document.getElementById("abflug")){
		document.getElementById("abflug").onblur = checkFlyFor;
	}
	if (document.getElementById("ankunft")){
		document.getElementById("ankunft").onblur = checkFlyFor;
	}
}
