function dGE(id){return document.getElementById(id)}
function vaihdaKuva(kuvanSrc,id){dGE(id).src=kuvanSrc;return false}

function vaihdaHtml(lahdeId,kohdeId){
	dGE(kohdeId).innerHTML=dGE(lahdeId).innerHTML;
	return false
}

function vaihdaHtmlKaksi(lahde1Id,kohde1Id,lahde2id,kohde2Id){
	dGE(kohde1Id).innerHTML=dGE(lahde1Id).innerHTML;
	dGE(kohde2Id).innerHTML=dGE(lahde2id).innerHTML;
	return false
}


function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}
