// JavaScript Document

	//only needed if NN4 is supported
	var d = document;
	var agt = navigator.userAgent.toLowerCase();
	
	function reloadPage(init) {  //Reloads the window if  NN4 resized
	  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
	  	d.pgW=innerWidth; d.pgH=innerHeight; onresize=reloadPage; }}
	  else if (innerWidth!=d.pgW || innerHeight!=d.pgH) location.reload();
	}
	reloadPage(true);
	///--><!]]>

function ResizeMainFrame0(size){
			document.getElementById('popartBox').style.height = size+'px';

		}
function ResizeMainFrame1(size){
			document.getElementById('novosti').style.height = size+'px';

		}

function Popup(url){
	window.open(
		url,
		'window',
		'width=600, height=400, resizable=no, scrollbars=no, location=no,  toolbar=no, menubar=no, status=no'
	);
}
function Popup2(url){
	window.open(
		url,
		'window',
		'width=450, height=300, resizable=no, scrollbars=yes, location=no,  toolbar=no, menubar=no, status=no'
	);
}
  

  


//-->
