<!--

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;
}
   
//  alert ("irina je " + myWidth + "px!");
 
window.onresize = reload;

function reload() {
	location = location;
}
if (myWidth>890) {  
	document.write ("<link href=\"/elementi/dizz1.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\" />");
}
if (myWidth>1100) {  
	document.write ("<link href=\"/elementi/dizz2.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\" />");
}



// Centered Pop-Up Window (v1.0)
// (C) 2002-2003 www.smileycat.com
// Free for all users, but leave in this header

function otvoriProzorBig(mypage,myname,fotoW,fotoH) {
  var w = fotoW;
  var h = fotoH;
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
//  settings += 'scrollbars=yes,resizable=yes';
  settings += 'scrollbars=no,resizable=no';
  var win = window.open(mypage,myname,settings);
  win.window.focus();
}

//-->
