<!--
 j= document.images;
  	   if  (j) {  

 logo_off = new Image(140,20);
 logo_off.src = "../images/logo_off.gif";
 logo_on = new Image(140,20);
 logo_on.src = "../images/logo_on.gif";

 profil_off = new Image(140,20);
 profil_off.src = "../images/profil_en_off.gif";
 profil_on = new Image(140,20);
 profil_on.src = "../images/profil_en_on.gif";


 sluzby_off = new Image(140,20);
 sluzby_off.src = "../images/sluzby_en_off.gif";
 sluzby_on = new Image(140,20);
 sluzby_on.src = "../images/sluzby_en_on.gif";

 kontakty_off = new Image(140,20);
 kontakty_off.src = "../images/kontakty_en_off.gif";
 kontakty_on = new Image(140,20);
 kontakty_on.src = "../images/kontakty_en_on.gif";

 reference_off = new Image(140,20);
 reference_off.src = "../images/reference_en_off.gif";
 reference_on = new Image(140,20);
 reference_on.src = "../images/reference_en_on.gif";

 dotaznik_off = new Image(85,12);
 dotaznik_off.src = "../images/dotaznik_en_off.gif";
 dotaznik_on = new Image(160,20);
 dotaznik_on.src = "../images/dotaznik_en_on.gif";
 
 mereni_off = new Image(85,12);
 mereni_off.src = "../images/mereni_en_off.gif";
 mereni_on = new Image(160,20);
 mereni_on.src = "../images/mereni_en_on.gif";
 
 tisk_off = new Image(140,20);
 tisk_off.src = "../images/tisk_off.gif";
 tisk_on = new Image(140,20);
 tisk_on.src = "../images/tisk_on.gif";


 
}

  	   function img_act(p) {if (j) {on =  eval (p + "_on.src"); document[p].src = on;}}
  	   function img_inact(p) {if (j) {off =  eval (p + "_off.src"); document[p].src = off;}}
 


function OpenJSLWindow(url, jmeno, w, h) 
{
    Fokus = window.open(url, jmeno,'resizable=0,top=20,left=20,menubar=0,width=' + w + ',height=' + h);
    Fokus.focus()
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}


function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",30)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=40
}



function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}


PositionX = 0;
PositionY = 0;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<a href=\"Javascript:window.close()\"><img name="George" src='+imageURL+' alt=\"Close - click here !\" border=0 style="display:block"></a></body></html>');
close();		
}}

// -->
