var browser = navigator.appName;
var version = navigator.appVersion.substring(0,1);

function changeBGColor(loc, color)
{
  if (browser == "Microsoft Internet Explorer")
  {
	window[loc].style.backgroundColor=color;
  }
  else if (browser == "Netscape" && version>=5)
  { 
    document.getElementById(loc).style.backgroundColor=color;
  }
}

function kuk(obr, w, h) 
{
  var popWin=window.open('', '','resizable=1,top=10,left=10,menubar=0,scrollbars=1,width='+eval(w+40)+',height='+eval(h+40));
  popWin.document.bgColor = "#000022";
  popWin.document.write('<html>');
  popWin.document.write('<head>');
  popWin.document.write('<title>Detail</title>');
  popWin.document.write('<link rel=stylesheet href="../../trend.css" type="text/css">');
  popWin.document.write('<STYLE type=text/css>A {');
  popWin.document.write('COLOR: gray; TEXT-DECORATION: none');
  popWin.document.write('} A:hover { COLOR: white; TEXT-DECORATION: none}');
  popWin.document.write('</STYLE>');
  popWin.document.write('</head>');
  popWin.document.write('<body bgcolor="#000022">');
  popWin.document.write('<p align="center">');
  popWin.document.write('<a href="javascript:window.close()"><img border="0" src="' + obr + '"');
  popWin.document.write(' width="' + w + '" height="' + h + '" alt="Zavøít">');
  popWin.document.write('<br>zavøít</p>');
  popWin.document.write('</a><p>');
  popWin.document.write('<p>');
}

function bleskoff()
{ 
  if (document.getElementById) { 
    document.getElementById('bleskdiv').style.visibility = 'hidden'; 
  } else { 
  if (document.layers) { // Netscape 4 
    document.bleskdiv.visibility = 'hidden'; 
  } else { // IE 4 
    document.all.bleskdiv.style.visibility = 'hidden'; 
  } 
}
} 

function flasoff()
{ 
  if (document.getElementById) { 
    document.getElementById('flashdiv').style.visibility = 'hidden'; 
  } else { 
  if (document.layers) { // Netscape 4 
    document.flashdiv.visibility = 'hidden'; 
  } else { // IE 4 
    document.all.flashiv.style.visibility = 'hidden'; 
  } 
}
} 

