var active = 0;

function go_home(){
	window.location.href = "index.php";
}

function over(e){
	e.style.color = "red";
}

function out(e,id){
	if(id != active){
		e.style.color = "#efefef";
	}
}

function out2(e,id){
	if(id != active){
		e.style.color = "#aaaaaa";
	}
}

function PopUp(link) {
	window.scrollTo(0,0);
	document.getElementById("pic_container").style.display = "block";
	document.getElementById("pic_container2").style.display = "block";
	document.getElementById("pic").src = link;

/*
    var src = link; //link.href
    var title = link.title;
    var img = new Image();
    img.src = src;
    var size = "width='" + (img.width) + ",height=" + (img.height) + "'";
    var popup = window.open(src, title, size);   
    img.onload = function() {
    	popup.innerWidth = img.width + 0;
    	popup.innerHeight = img.height + 0;
	}      
    return false;
*/
}

function close_pic(){
	document.getElementById("pic_container").style.display = "none";
	document.getElementById("pic_container2").style.display = "none";
	document.getElementById("pic").src = "grafiken/blind.gif";
}

