
function ShowWindow ( site, w, h ) {
	x = screen.availWidth/2-w/2;
	y = screen.availHeight/2-h/2;
	
	window.open( site ,'','width='+w+',height='+h+',left='+x+',top='+y+',screenX='+x+',screenY='+y+', hotkeys=no,location=no,menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no');

}

function SpezUrlCheck(url, confirm_text ) {
		check = confirm( confirm_text );
		if ( check==true) {
			window.location.href=url;
		}
}

function DelUrlCheck(url) {
		check = confirm('Sind Sie sicher, dass Sie diesen Datensatz löschen möchten?');
		if ( check==true) {
			window.location.href=url;
		}
}

function LinkHover (id) {
		document.getElementById(id).style.textDecoration = "underline";
		document.getElementById(id).style.color = "#666666";
}

function LinkOut (id) {
	document.getElementById(id).style.textDecoration = "none";
	document.getElementById(id).style.color = "#666666";
}

function ImgHover (id) {
		document.getElementById(id).style.textDecoration = "none";
	}
	
function ImgOut (id) {
	document.getElementById(id).style.textDecoration = "none";
}

