<!--
/*
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if( document.documentElement &&
  ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
 
window.onresize = reload;

function reload() {
	location = location;
}
if (myWidth>1000) {  
	document.write ("<link href=\"/elementi/"+siteAlias+"/res1024.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\" />");
}
*/

function otvoriProzor(mypage,myname,fotoW,fotoH,wint,winl,ostalo) {
  var w = fotoW;
  var h = fotoH;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += ostalo;
//  settings += 'scrollbars=yes,resizable=yes';
//	  settings += 'scrollbars=no,resizable=no';
  var win = window.open(mypage,myname,settings);
  win.window.focus();
}


//-->
