function zobrazSkryj(idecko){
el=document.getElementById(idecko).style;
el.display=(el.display == 'block')?'none':'block';
}

function displayWindow(theURL,winName,width,height,features) { 
    var window_width = width;
    var window_height = height;
    var newfeatures= features;
    var window_top = (screen.height-window_height)/2;
    var window_left = (screen.width-window_width)/2;
    newWindow=window.open('' + theURL + '','' + winName + '','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ',features=' + newfeatures + '');
    newWindow.focus();}
	
	
function jsRedirect() {
    var path=jQ('#real_domy_select').val();
    if(path !== undefined){
        //window.location.href=path;
        window.open(path,"_blank");
    }
}

function zkontroluj(formular)
{

if (formular.jmeno.value=="")
{
alert("Jméno není vyplněno!");
formular.jmeno.focus();
return false;
}
else if (formular.mail.value=="")
{
alert("Váš e-mail musíte vyplnit!");
formular.mail.focus();
return false;
}
else if (formular.telefon.value=="")
{
alert("Váš telefon musíte vyplnit!");
formular.telefon.focus();
return false;
}
else if (formular.text.value=="")
{
alert("Text musíte vyplnit!");
formular.text.focus();
return false;
}
else
return true;
}



