function onoff (id) {
    if(document.getElementById(id).style.visibility=="visible"){
    	document.getElementById(id).style.visibility = "hidden";
    }else{
    	document.getElementById(id).style.visibility = "visible";
    }
}

function SetIframe(id, url){
	document.getElementById(id).src=url;
}

function scrolling(wert,DivID)
{
	document.getElementById(DivID).scrollTop=parseInt(document.getElementById(DivID).scrollTop)+wert
}

function setfocus(id){
	if(document.getElementById(id)){
		document.getElementById(id).focus();
	}
}

function ScrollDown(DivID) {
    document.getElementById(DivID).scrollTop = document.getElementById(DivID).scrollHeight;
}

