var op=window.navigator.appName=="Opera";
var ie=window.navigator.appName=="Microsoft Internet Explorer";
var mo=((window.navigator.appName=="Netscape")&& (window.navigator.appVersion.indexOf("5.")!=-1));

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function GetHeight()
{
  if (self.document.documentElement &&  self.document.documentElement.clientHeight)
     var h1 = self.document.documentElement.clientHeight;
     else
     var h1 = self.innerHeight || self.document.body.clientHeight;
  return h1;
}

function GetWidth()
{
  if (self.document.documentElement &&  self.document.documentElement.clientHeight)
     var v1 = self.document.documentElement.clientWidth;
     else
     var v1 = self.innerWidth || self.document.body.clientWidth;
  return v1;
}

function ZmenPozadi(Kde, Jak)
{ if (MM_findObj(Kde)) MM_findObj(Kde).style.top=Jak+'px';
}
