function bild550x600(theURL)
{
	var breite = 550;
	var hoehe = 600;
	var posX=(screen.availWidth-breite)/2;
	var posY=(screen.availHeight-hoehe)/2;

    	window.open(theURL,"wdv","width=550,height=600,menubar=no,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY);
}

//Wenn mit Scrollbar dann ->>  ",scrollbars"

function bild550x450(theURL)
{
	var breite = 550;
	var hoehe = 450;
	var posX=(screen.availWidth-breite)/2;
	var posY=(screen.availHeight-hoehe)/2;

    	window.open(theURL,"wdv","width=550,height=450,menubar=no,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY);
}


function bild550x700(theURL)
{
	var breite = 550;
	var hoehe = 700;
	var posX=(screen.availWidth-breite)/2;
	var posY=(screen.availHeight-hoehe)/2;

    	window.open(theURL,"wdv","width=550,height=700,menubar=no,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY);
}


function getURLParam(strParamName){
var strReturn = "";
var strHref = window.location.href;
if ( strHref.indexOf("&") > -1 ){
var strQueryString = strHref.substr(strHref.indexOf("&"));
var aQueryString = strQueryString.split("&");
for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){
if (
aQueryString[iParam].indexOf(strParamName + "=") > -1 ){
var aParam = aQueryString[iParam].split("=");
strReturn = aParam[1];
break;
}
}
}
return strReturn;
}


