<!--

function MM_goToURL(okno,url) { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
   eval(okno+".location='"+url+"'");
}
//
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//

function s_menu(obj,obj_img) {

if (document.getElementById(obj).style.display=='none')  {

document.getElementById(obj).style.display='block';
document.getElementById(obj_img).innerText="text";
document.getElementById(obj_img).innerHTML="<font class=\"text2\"><IMG SRC=\"img/MINUS_BOX.gif\" border=\"0\" width=\"9\" height=\"9\"></font>";

//document.all[obj].style.display='block';
//document.all[obj_img].innerText="text";
//document.all[obj_img].innerHTML="<font class=\"text2\"><IMG SRC=\"img/MINUS_BOX.gif\" border=\"0\" width=\"9\" height=\"9\"></font>";

} else {


document.getElementById(obj).style.display='none';
document.getElementById(obj_img).innerText="text";
document.getElementById(obj_img).innerHTML="<font class=\"text2\"><IMG SRC=\"img/PLUS_BOX.gif\" border=\"0\" width=\"9\" height=\"9\"></font>";

//document.all[obj].style.display='none';
//document.all[obj_img].innerText="text";
//document.all[obj_img].innerHTML="<font class=\"text2\"><IMG SRC=\"img/PLUS_BOX.gif\" border=\"0\" width=\"9\" height=\"9\"></font>";
}
}
//
function validate1(f)
{
 if (f.q.value=="") {	
       (f.q.focus());		
        return false;    
  }
}
//
function validate2(f)
{
var pole=new Array('login','heslo');
	for (i=0;i<pole.length;i++){
      if (f[pole[i]].value=="") {		
       f[pole[i]].focus();
		i=pole.length;
        return false;
     } 
  }
}
///
function validate3(f)
{
var pole=new Array('login','email','telefon');
	for (i=0;i<pole.length;i++){
      if (f[pole[i]].value=="") {		
       f[pole[i]].focus();
		i=pole.length;
        return false;
     } 
  }
}
///
function validate4(f)
{
var pole=new Array('email','mes','from');
	for (i=0;i<pole.length;i++){
      if (f[pole[i]].value=="") {		
       f[pole[i]].focus();
		i=pole.length;
        return false;
     } 
  }
}
// -->
