function swap(obj, over)
{
        var src = new String(obj.src);
        obj.src = (over) ?  src.substring(0, src.indexOf('.png')) + '_act.png' : src.substring(0, src.indexOf('_act.png')) +'.png';
}

function lang(my_lang)
{
		var my_url = document.location.href
        var my_string = new String(my_url);
        if(my_lang=="en"){
        	my_string = my_string.replace(/_de.html/, "_en.html");
        } else {
       		my_string = my_string.replace(/_en.html/, "_de.html");
        }
        window.location.href = my_string
}
function murl(t) {
	t = t.replace(/_xyz_/, "@");
	t = t.replace(/_abc_/, ".");
	location.href='mailto:'+t;
}


function pop_img(img_url,img_width,img_height){
	img_width = img_width+18
	img_height = img_height+18
	
	
    //newWin = window.open("../img/galerie/grossbild.html?" + img_url, "fenstername", "scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=0,width=300,height=172");
    newWin = window.open("../img/galerie/grossbild.html?" + img_url, "fenstername", "scrollbars=0,toolbar=0,location=0,directories=0,status=0,resizable=1,width=" + img_width + " ,height=" + img_height + '"');

    yscr=(screen.height - img_height)/2;
	xscr=(screen.width - img_width)/2;
    newWin.moveBy(xscr,yscr);

}