<!--
var minPlayer = 6;
var strURL = "/noflash/";
function Is()
{   
    var agt=navigator.userAgent.toLowerCase();
    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appVersion);
    this.nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    this.nav2 = (this.nav && (this.major == 2));
    this.nav3 = (this.nav && (this.major == 3));
    this.nav4 = (this.nav && (this.major == 4));
    this.nav4up = (this.nav && (this.major >= 4));
    this.navonly   = (this.nav && ((agt.indexOf(";nav") != -1) ||(agt.indexOf("; nav") != -1)) );
    this.nav6 = (this.nav && (this.major == 5));
    this.nav6up = (this.nav && (this.major >= 5));
    this.gecko = (agt.indexOf('gecko') != -1);
    this.ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    this.ie3    = (this.ie && (this.major < 4));
    this.ie4    = (this.ie && (this.major == 4) && (agt.indexOf("msie 4")!=-1) );
    this.ie4up  = (this.ie  && (this.major >= 4));
    this.ie5    = (this.ie && (this.major == 4) && (agt.indexOf("msie 5.0")!=-1) );
    this.ie5_5  = (this.ie && (this.major == 4) && (agt.indexOf("msie 5.5") !=-1));
    this.ie5up  = (this.ie  && !this.ie3 && !this.ie4);
    this.ie5_5up =(this.ie && !this.ie3 && !this.ie4 && !this.ie5);
    this.ie6    = (this.ie && (this.major == 4) && (agt.indexOf("msie 6.")!=-1) );
    this.ie6up  = (this.ie  && !this.ie3 && !this.ie4 && !this.ie5 && !this.ie5_5);
    this.aol   = (agt.indexOf("aol") != -1);
    this.aol3  = (this.aol && this.ie3);
    this.aol4  = (this.aol && this.ie4);
    this.aol5  = (agt.indexOf("aol 5") != -1);
    this.aol6  = (agt.indexOf("aol 6") != -1);
    this.opera = (agt.indexOf("opera") != -1);
    this.opera2 = (agt.indexOf("opera 2") != -1 || agt.indexOf("opera/2") != -1);
    this.opera3 = (agt.indexOf("opera 3") != -1 || agt.indexOf("opera/3") != -1);
    this.opera4 = (agt.indexOf("opera 4") != -1 || agt.indexOf("opera/4") != -1);
    this.opera5 = (agt.indexOf("opera 5") != -1 || agt.indexOf("opera/5") != -1);
    this.opera5up = (this.opera && !this.opera2 && !this.opera3 && !this.opera4);
    this.webtv = (agt.indexOf("webtv") != -1); 
    this.TVNavigator = ((agt.indexOf("navio") != -1) || (agt.indexOf("navio_aoltv") != -1)); 
    this.AOLTV = this.TVNavigator;
    this.hotjava = (agt.indexOf("hotjava") != -1);
    this.hotjava3 = (this.hotjava && (this.major == 3));
    this.hotjava3up = (this.hotjava && (this.major >= 3));   
}

var is;
var isIE3Mac = false;
	if ((navigator.appVersion.indexOf("Mac")!=-1) && (navigator.userAgent.indexOf("MSIE")!=-1) && (parseInt(navigator.appVersion)==3))
		   isIE3Mac = true;
	else   is = new Is(); 

if(is.ie4 || is.ie4up || is.ie5 || is.ie5_5 || is.ie5up || is.ie5_5up || is.ie6 || is.ie6up)
    {
		document.write(
			'<scr' + 'ipt language=VBScript>' + '\n' +
			'Function Flash_checkForActiveX()' + '\n' +
				'Dim hasPlayer, playerversion' + '\n' +
				'hasPlayer = false' + '\n' +
				'playerversion = 10' + '\n' +
				'Do While playerversion >= minPlayer' + '\n' +
					'On Error Resume Next' + '\n' +
					'hasPlayer = (IsObject(CreateObject(\"ShockwaveFlash.ShockwaveFlash.\" & playerversion & \"\")))' + '\n' +
					'If hasPlayer = true Then Exit Do' + '\n' +
					'playerversion = playerversion - 1' + '\n' +
				'Loop' + '\n' +
				'Flash_checkForActiveX = hasPlayer' + '\n' +
			'End Function' + '\n' +
			'<\/scr' + 'ipt>'
		);
	}

function __tc() {
  var str = "height=" + 495 + ",innerHeight=" + 495;
  str += ",width=" + 550 + ",innerWidth=" + 550 ;
  str += ",location=no,menubar=no,toolbar=no,status=no,directories=no,copyHistory=no,resizable=no,scrollbars=yes";
  if (window.screen) {
    var ah = screen.availHeight - 30;
    var aw = screen.availWidth - 10;
    var xc = (aw - 550) / 2;
    var yc = (ah - 495) / 2;
    str += ",left=" + xc + ",screenX=" + xc;
    str += ",top=" + yc + ",screenY=" + yc;
  }
  window.open('/uvjeti/','Uvjeti', str);
}

function __map() {
  var str = "height=" + 440 + ",innerHeight=" + 440;
  str += ",width=" + 510 + ",innerWidth=" + 510 ;
  str += ",location=no,menubar=no,toolbar=no,status=no,directories=no,copyHistory=no,resizable=no,scrollbars=no";
  if (window.screen) {
    var ah = screen.availHeight - 30;
    var aw = screen.availWidth - 10;
    var xc = (aw - 510) / 2;
    var yc = (ah - 440) / 2;
    str += ",left=" + xc + ",screenX=" + xc;
    str += ",top=" + yc + ",screenY=" + yc;
  }
  window.open('/map/','Map', str);
}

function Flash_checkForPlugIn(){
    var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
    if (plugin) {
       var pluginversion = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) 
       if(pluginversion >= minPlayer) {return true;}
    }
    return false;
}


function __renderflash() {
 var strEMB;
   strEMB = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"916\" height=\"185\">";
   strEMB += "<param name=\"movie\" value=\"/_imgs/_swf/HeaderFla.swf\">";
   strEMB += "<param name=\"quality\" value=\"high\">";
   strEMB += "<param name=\"menu\" value=\"false\">";
   strEMB += "<embed src=\"/_imgs/_swf/HeaderFla.swf\" quality=\"high\" menu=\"false\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"916\" height=\"185\"></embed>";
   strEMB += "</object>"; 
 document.write(strEMB); 
}

function RenderResponse() {
	if(is.nav6up || is.nav6 || is.gecko || is.nav4 || is.nav4up){
         	if(!Flash_checkForPlugIn()){document.location.replace(strURL);
			} 	else {
		    	__renderflash(); }
	}
	else if(is.opera || is.opera2 || is.opera3 || is.opera4 || is.opera5 || is.opera5up){
		if(!Flash_checkForPlugIn()) {document.location.replace(strURL);
		} 	else {
		    __renderflash();}
	}
	else
	if(is.ie4 || is.ie4up || is.ie5 || is.ie5_5 || is.ie5up || is.ie5_5up || is.ie6 || is.ie6up){
		if(!Flash_checkForActiveX()){document.location.replace(strURL);
		} 	else {
		     __renderflash();}
	}
	else {
     		__renderflash();
	}
} 
//-->