function egyforma3div(idDiv1, idDiv2, idDiv3)
    {
        var maxHeight = 0;
        var div1 = document.getElementById(idDiv1).offsetHeight;
        var div2 = document.getElementById(idDiv2).offsetHeight;
        var div3 = document.getElementById(idDiv3).offsetHeight;
       
        maxHeight = (div1 < div2) ? div2 : div1;
        maxHeight = (maxHeight < div3) ? div3 : maxHeight;
       
        document.getElementById(idDiv1).style.height = maxHeight + "px";
        document.getElementById(idDiv2).style.height = maxHeight + "px";
        document.getElementById(idDiv3).style.height = maxHeight + "px";
    }
function egyforma2div(idDiv1, idDiv2)
    {
        var maxHeight = 0;
        var div1 = document.getElementById(idDiv1).offsetHeight;
        var div2 = document.getElementById(idDiv2).offsetHeight;
       
        maxHeight = (div1 < div2) ? div2 : div1;
       
        document.getElementById(idDiv1).style.height = maxHeight + "px";
        document.getElementById(idDiv2).style.height = maxHeight + "px";
    }

	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'controls-in-heading';
	hs.fadeInOut = true;
// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: false,
		overlayOptions: {
			opacity: 1,
			position: 'top right',
			hideOnMouseOut: false
		}
	});	
function submit_load(){
document.getElementById("preload").style.display  = 'block';
}
function end_load(){
document.getElementById("preload").style.display  = "none";
}

function alphaImages() { var els = document.getElementsByTagName("IMG"); var s, w, h; for (var i=0; i<els.length; i++) { s = els[i].src; if (s.toLowerCase().indexOf(".png") != -1) { els[i].src = "images/spacer.gif"; els[i].style.filter += "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + s + "', sizingMethod=image);"; } } 

} 

if (navigator.userAgent.indexOf("MSIE") != -1 && navigator.userAgent.indexOf("Windows") != -1) window.attachEvent("onload", alphaImages);
