<!--
var window1;
function p(myurl){
	if (window.frames[0]){window.frames[0].focus()}
	SetCookie('help',myurl);
	myurl='pomoc.asp';
	var w=500;
	var h=450;
	var locate=1;
	if (locate==1){
		if (navigator.appName == "Netscape"){
		if ((navigator.appVersion.substring(0, 2) == "3.")|| (navigator.appVersion.substring(0, 2) == "4.")) {
				w=550;
				window1 = window.open(myurl, 'Pomoc',"width="+w+",height="+h+",resizable=0,status=1,menubar=0,scrollbars=1");
			}
			else {  // Netscape ??
				window1 = window.open(myurl, 'Pomoc',"width="+w+",height="+h+",resizable=0,status=1,menubar=0,scrollbars=0");
			}
			if (window1.move){window1.move(GetCookie('help'))};
		}else { // MSIE (?)
			window1 = window.open(myurl, 'Pomoc',"width="+w+",height="+h+",resizable=0,status=1,menubar=0,scrollbars=0");
		}

	}
}
function o(myurl){
	var w=500;
	var h=450;
	window1 = window.open(myurl, "NovoOkno","width="+w+",height="+h+",resizable=1,status=1,menubar=0,scrollbars=1");
	window1.focus();
}

function wap(myurl){

           if (window.frames[0]){window.frames[0].focus()}
           var w='http://www.gelon.net/cgi-bin/wapalize.cgi?url='
           var w='http://www.gelon.net/cgi-bin/wapalizenokia6210.cgi?url='
           myurl = w+myurl
           var w=200;
           var h=360;
           if (navigator.appName == "Netscape"){
                  if ((navigator.appVersion.substring(0, 3) == "3.0")|| (navigator.appVersion.substring(0, 3) == "4.0")) {
                        window1 = window.open(myurl, 'WAP',"width="+w+",height="+h+",resizable=0,status=0,menubar=0,scrollbars=1");
                        window1.focus();
                  }
                  else {  // Netscape 2
                        window.open(myurl, 'WAP', "width="+w+",height="+h+",resizable=0,status=0,menubar=0,scrollbars=1");
                  }
           }else { // MSIE (?)
                        window1 = window.open(myurl, 'WAP',"width="+w+",height="+h+",resizable=0,status=0,menubar=0,scrollbars=0");
                        window1.focus();
           }
}

function barvajTabele(){
	var b0='result_HeadColor';
	var b1='result_Color1';
	var b2='result_Color2';
	var b=0;
	var o;
	var t=document.all.tags("TABLE")
	for (var i=0;i < t.length; i++){
		if (t(i).className=='result') {
			o=t(i).all.tags("TR");
		}
	}
	if (o){
		for (var i=0;i < o.length; i++){
			if(b<2){
				if(b==1){o(i).className=b2}
				if(b==0){o(i).className=b0}				
				b=2;
			}else{
				o(i).className=b1;
				b=1;
			}
		}
	}
}

function GetCookie(name) { //pobere cookie
      var doc
      doc=document.cookie
      var start = doc.indexOf(name+"=");
      var len = start+name.length+1;
      if ((!start) && (name != doc.substring(0,name.length))) return null;
      if (start == -1) return null;
      var end = doc.indexOf(";",len);
      if (end == -1) end = doc.length;
      return unescape(doc.substring(len,end));
  }//end function

  
function SetCookie(name,value) { //nastavi cookie
     document.cookie=escape(name)+'='+value
}//end function
function blink(elementId,color1,color2,time){
	add=document.getElementById(elementId);
	if(add){
		if( add.style.color==color1){add.style.color=color2}else{add.style.color=color1}
		gTid = window.setTimeout('blink("'+elementId+'","'+color1+'","'+color2+'",'+time+')', time);
	}
}

function largerfont(){
alert(document.style)
/*	if(document.all){
		var o=document.all;
		alert(o.length);
		for (var i=0;i < o.length; i++){
			if (o(i).style.fontSize ) {alert(o(i).style.fontSize );o(i).style.fontSize +1}
		}
	}
*/
}
//lang vars
var __time='Server time';
var __cancel='Cancel';
var __ok='OK';
var __colors="Colors";
var __stxt='Input search string.\nFor next press \'N\' or \'Enter\'. For new search press \'I\'.';
var __nohit1='The search item';
var __nohit2='was not found';
-->