//small page

function TopSection(i)

{	

	document.getElementById("od1").className='cerna_normalm';

  document.getElementById("od2").className='cerna_normalm';

	document.getElementById("od3").className='cerna_normalm';

  document.getElementById("od4").className='cerna_normalm';

  document.getElementById("od12").className='cerna_normalm';

	document.getElementById("od"+i).className='topmenuaktiv';

	

  document.getElementById("odd1").style.display='none';

  document.getElementById("odd2").style.display='none';

	document.getElementById("odd3").style.display='none';

  document.getElementById("odd4").style.display='none';

  document.getElementById("odd12").style.display='none';  

  document.getElementById("odd"+i).style.display='';

  

  document.getElementById("table1v").className='';

  document.getElementById("table2v").className='';

	document.getElementById("table3v").className='';

  document.getElementById("table4v").className='';

	document.getElementById("table12v").className='';

  document.getElementById("table"+i+"v").className='';

  

  document.getElementById("table1").className='table_menun';

  document.getElementById("table2").className='table_menun';

	document.getElementById("table3").className='table_menun';

  document.getElementById("table4").className='table_menun';

	document.getElementById("table12").className='table_menun';



  document.getElementById("table"+i).className='table_menu';



}



function TopSectionUser(i)

{	

	document.getElementById("od10").className='seda_tucny_menu';

  document.getElementById("od11").className='seda_tucny_menu';

	document.getElementById("od12").className='seda_tucny_menu';

  document.getElementById("od13").className='seda_tucny_menu';

	document.getElementById("od"+i).className='seda_tucny_menu2';

	

  document.getElementById("odd10").style.display='none';

  document.getElementById("odd11").style.display='none';

	document.getElementById("odd12").style.display='none';

  document.getElementById("odd13").style.display='none';

  document.getElementById("odd"+i).style.display='';

}



function CompanySection(i)

{	

	document.getElementById("od20").className='cerna_normal';

  document.getElementById("od21").className='cerna_normal';

	document.getElementById("od22").className='cerna_normal';

	document.getElementById("od"+i).className='topmenuaktiv';

	

  document.getElementById("odd20").style.display='none';

  document.getElementById("odd21").style.display='none';

	document.getElementById("odd22").style.display='none';

  document.getElementById("odd"+i).style.display='';

  

  document.getElementById("table20").className='';

  document.getElementById("table21").className='';

	document.getElementById("table22").className='';

  document.getElementById("table"+i).className='table_menu';

 

  

}





function BazarSection(i)

{	

	document.getElementById("od30").className='cerna_normal';

  document.getElementById("od31").className='cerna_normal';

	document.getElementById("od"+i).className='topmenuaktiv';

	

  document.getElementById("odd30").style.display='none';

  document.getElementById("odd31").style.display='none';

  document.getElementById("odd"+i).style.display='';

  

  document.getElementById("table30").className='';

  document.getElementById("table31").className='';

  document.getElementById("table"+i).className='table_menu';



}







function UkazDown(i,name)

{	



var infoText = document.getElementById(name + i);

		

	

	if ( infoText != null )	

		infoText.style.display = ( infoText.style.display == 'block' ) ? "none" : "block";

  

}



function OdDetail(i)

{

	var x="";

	document.getElementById("det"+i).innerHTML = x;

}



function Detail(download1,popis1,download2,popis2,download3,popis3,download4,popis4,download5,popis5,i,seo,jazyk,quick)

{

  var pomlcka = " - ";

  if(popis1=="")  { pomlcka = "";   }



  if(download1!="0") { download1 = "<a href=\""+download1+"\"  class=\"popmenu\" target=\"_blank\"><b>DOWNLOAD</b></a> "+pomlcka+" <a href=\""+download1+"\"  class=\"bila_normal_mala\" target=\"_blank\">"+popis1+"</a><br>"; } else { download1 = ""; }

  if(download2!="0") { download2 = "<a href=\""+download2+"\"  class=\"popmenu\" target=\"_blank\"><b>DOWNLOAD</b></a> - <a href=\""+download2+"\"  class=\"bila_normal_mala\" target=\"_blank\">"+popis2+"</a><br>"; } else { download2 = ""; }

  if(download3!="0") { download3 = "<a href=\""+download3+"\"  class=\"popmenu\" target=\"_blank\"><b>DOWNLOAD</b></a> - <a href=\""+download3+"\"  class=\"bila_normal_mala\" target=\"_blank\">"+popis3+"</a><br>"; } else { download3 = ""; }

  if(download4!="0") { download4 = "<a href=\""+download4+"\"  class=\"popmenu\" target=\"_blank\"><b>DOWNLOAD</b></a> - <a href=\""+download4+"\"  class=\"bila_normal_mala\" target=\"_blank\">"+popis4+"</a><br>"; } else { download4 = ""; }

  if(download5!="0") { download5 = "<a href=\""+download5+"\"  class=\"popmenu\" target=\"_blank\"><b>DOWNLOAD</b></a> - <a href=\""+download5+"\"  class=\"bila_normal_mala\" target=\"_blank\">"+popis5+"</a><br>"; } else { download5 = ""; }



  var mirr = seo.replace("-", " ");
   mirr = mirr.replace("-", " ");




  var sled = "";

  var primi = "";

  var poslate = "";

  if(jazyk=="cz") { 

  var sled = "Sledování novinky";

  var primi = "Přímý odkaz";

  var poslate = "Poslat emailem";

  var poslatqq = "Štítek"; } else { 

  var sled = "Alert news";

  var primi = "News link";

  var poslate = "Send with email";

  var poslatqq = "Ticket"; }

  

	var x="";

	x+="<div class=\"bila_normal_mala\"  style=\"background-color:#1A1D22;width:400px;border:#464D55 1px solid;padding-left:5px;padding-top:5px;padding-bottom:5px;\">"+download1+""+download2+""+download3+""+download4+""+download5+"<a href=\"http://www.google.com/search?q="+mirr+"+download\"  class=\"popmenu\" target=\"_blank\">Mirrors</a><br></div>";

	document.getElementById("det"+i).innerHTML = x;

	                           

}

function high(which2){

theobject=which2

highlighting=setInterval("highlightit(theobject)",50)

}

function low(which2){

clearInterval(highlighting)

if (which2.style.MozOpacity)

which2.style.MozOpacity=0.3

if (which2.style.opacity)

which2.style.opacity=0.30

else if (which2.filters)

which2.filters.alpha.opacity=70

}

function highlightit(cur2){

if (cur2.style.MozOpacity<1)

cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1

else if (cur2.style.opacity<1)

cur2.style.opacity=parseFloat(cur2.style.opacity)+0.1

else if (cur2.filters&&cur2.filters.alpha.opacity<100)

cur2.filters.alpha.opacity+=10

else if (window.highlighting)

clearInterval(highlighting)

}



function addSearchEngine(url,obrazek,text1,text2) {

  if ((typeof window.sidebar == "object") &&

      (typeof window.sidebar.addSearchEngine == "function")) {



    window.sidebar.addSearchEngine(

      url,

      obrazek,

      text1,

      text2);



  } else

    alert("Váš prohlížeč nepodporuje tuto funkci. Zkuste Mozillu.");



}



 function addPanel(nazev,url) { 

      if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) 

      { 

         window.sidebar.addPanel (nazev, 

         url,""); 

      } 

      else 

      { 

         var rv = window.confirm ("Tato funkce potřebuje Mozillu 1.x nebo Netscape 6.x.  " 

            + "Chcete stáhnout prohlížeč Mozilla?"); 

         if (rv) 

            document.location.href = "http://www.pegasoft.cz/"; 

      } 

   } 

function ZobrazVice(id) {



	var infoText = document.getElementById('more' + id);

	var iinfoText = document.getElementById('mmore' + id);	

	

	if ( infoText != null )	

		infoText.style.display = ( infoText.style.display == 'block' ) ? "none" : "block";

		iinfoText.style.display = ( iinfoText.style.display == 'block' ) ? "none" : "block";

}



function ZobrazVice2(id) {



	var infoText = document.getElementById('morerr' + id);

	var iinfoText = document.getElementById('mmorerr' + id);	

	

	if ( infoText != null )	

		infoText.style.display = ( infoText.style.display == 'block' ) ? "none" : "block";

		iinfoText.style.display = ( iinfoText.style.display == 'block' ) ? "none" : "block";

}



function ZobrazVice3(id) {



	var infoText = document.getElementById('mmaa' + id);

	var iinfoText = document.getElementById('mmaar' + id);	

	

	if ( infoText != null )	

		infoText.style.display = ( infoText.style.display == 'block' ) ? "none" : "block";

		iinfoText.style.display = ( iinfoText.style.display == 'block' ) ? "none" : "block";

}

