
  function fncX()
  {
		alert();
  }

  function fncPicKlik(strSmer)
    {
      var S,S2;
      var i;
      var elmCurr;
      S = strSmer;
      elmCurr = window.open("","p",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width=540,height=410,resizable=1,top=0,left=0');

      var script = 'function fncX(w, h) '
      + '{'
      + 'window.resizeTo(w+40, h+120);'
      + 'window.focus();'
      + '}';

      var S2=  
      '<BODY bgcolor="#ffffff">'+'<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" valign="middle"><IMG SRC="'+S+'" onload="fncX(this.width, this.height);"></td></tr></table>'+'</BODY>';

      elmCurr.document.open();
      elmCurr.document.write('<HTML><HEAD><TITLE>fgFORTE - fotogalerie</TITLE>');

	  elmCurr.document.write("<scr"+"ipt language='JavaScript' type='text/javascript'>");
	  elmCurr.document.write(script);
	  elmCurr.document.write("<\/scr"+"ipt>");

      elmCurr.document.write('</HEAD>');
      elmCurr.document.write(S2);
      elmCurr.document.write('</HTML>');
      elmCurr.document.close();
      elmCurr.focus();
    }


function changeDiv()
{
    actSmer = Math.ceil(Math.random()*3)
    
    document.getElementById('uvodDiv1').style.display = 'none';
    document.getElementById('uvodDiv2').style.display = 'none';
    document.getElementById('uvodDiv3').style.display = 'none';
    
    strSmer = 'uvodDiv' + actSmer;
    
    document.getElementById(strSmer).style.display = 'block';
}

function initTimerUvod()
{
    changeDiv();

    setTimeout("initTimerUvod()", 10 * 500);
}
