function sortit(a,b){
	return(a-b)
}

function porihtaj() {
	visina=parseInt(document.getElementById('centersh').offsetHeight);
	document.getElementById('leftsh').style.height=visina+ 'px';
	document.getElementById('rightsh').style.height=visina+ 'px';
	/*
	if(navigator.userAgent.indexOf("Firefox")!=-1){
		vr=parseInt(document.getElementById('naviarrow').offsetTop)+5;
		document.getElementById('naviarrow').style.top=vr+'px';
		visina2=visina+4;
		document.getElementById('leftsh').style.height=visina2+ 'px';
		document.getElementById('rightsh').style.height=visina2+ 'px';
	}
	*/
	if(tmp=document.getElementById('s299')){
		document.getElementById('d1').style.height=parseInt(tmp.offsetHeight)+"px";
	}
	if(tmp=document.getElementById('infoservis')){
		visina2=visina+14;
		document.getElementById('leftsh').style.height=visina2+ 'px';
		document.getElementById('rightsh').style.height=visina2+ 'px';
		if(document.getElementById('predstavljamo').offsetHeight>tmp.offsetHeight) {
			tmp.style.height=parseInt(document.getElementById('predstavljamo').offsetHeight)+"px";
		}
		else {
			document.getElementById('predstavljamo').style.height=parseInt(tmp.offsetHeight)+"px";
		}
	}
}

window.onload = function() { 
	porihtaj();
}

