<!--
function at_show_aux(a,b){for(var c=document.getElementById(a),d=document.getElementById(b),e=d.at_position=="y"?c.offsetHeight+0:0,f=d.at_position=="x"?c.offsetWidth+4:0;c;c=c.offsetSenior){e+=c.offsetTop;f+=c.offsetLeft}d.style.position="absolute";d.style.top=e+"px";d.style.left=f+"px";d.style.visibility="visible"}function at_show(){var a=document.getElementById(this.at_senior),b=document.getElementById(this.at_junior);at_show_aux(a.id,b.id);clearTimeout(b.at_timeout)}
function at_hide(){document.getElementById(this.at_senior);var a=document.getElementById(this.at_junior);a.at_timeout=setTimeout("document.getElementById('"+a.id+"').style.visibility = 'hidden'",333)}function at_click(){var a=document.getElementById(this.at_senior),b=document.getElementById(this.at_junior);if(b.style.visibility!="visible")at_show_aux(a.id,b.id);else b.style.visibility="hidden";return false}
function at_attach(a,b,c,d,e){a=document.getElementById(a);b=document.getElementById(b);a.at_senior=a.id;b.at_senior=a.id;a.at_junior=b.id;b.at_junior=b.id;a.at_position=d;b.at_position=d;b.style.position="absolute";b.style.visibility="hidden";if(e!=undefined)a.style.cursor=e;switch(c){case "click":a.onclick=at_click;a.onmouseout=at_hide;b.onmouseover=at_show;b.onmouseout=at_hide;break;case "hover":a.onmouseover=at_show;a.onmouseout=at_hide;b.onmouseover=at_show;b.onmouseout=at_hide;break}}
var min=11,max=18;function increaseFontSize(){var a=document.getElementsByTagName("p");for(i=0;i<a.length;i++){var b=a[i].style.fontSize?parseInt(a[i].style.fontSize.replace("px","")):13;if(b!=max)b+=1;a[i].style.fontSize=b+"px"}}function decreaseFontSize(){var a=document.getElementsByTagName("p");for(i=0;i<a.length;i++){var b=a[i].style.fontSize?parseInt(a[i].style.fontSize.replace("px","")):13;if(b!=min)b-=1;a[i].style.fontSize=b+"px"}}
var email_s="../assets/f_srs/sr_mail_page",voter_s="../assets/f_srs/vote_article",comme_s="../assets/f_srs/sr_comments",secim_s="../assets/f_srs/sec_img",asset_e=".php";
function checkFormM(){name_y=document.getElementById("name_y").value;email_y=document.getElementById("email_y").value;email_f=document.getElementById("email_f").value;v_code_y=document.getElementById("v_code_y").value;if(name_y==""){hideAllErrorsM();document.getElementById("name_yError").style.display="inline";document.getElementById("name_y").select();document.getElementById("name_y").focus();return false}else if(email_y==""){hideAllErrorsM();document.getElementById("email_yError").style.display=
"inline";document.getElementById("email_y").select();document.getElementById("email_y").focus();return false}else if(email_f==""){hideAllErrorsM();document.getElementById("email_fError").style.display="inline";document.getElementById("email_f").select();document.getElementById("email_f").focus();return false}else if(v_code_y==""){hideAllErrorsM();document.getElementById("v_code_yError").style.display="inline";document.getElementById("v_code_y").select();document.getElementById("v_code_y").focus();
return false}return true}function hideAllErrorsM(){document.getElementById("name_yError").style.display="none";document.getElementById("email_yError").style.display="none";document.getElementById("email_fError").style.display="none";document.getElementById("v_code_yError").style.display="none"}
function checkFormC(){name=document.getElementById("name").value;email=document.getElementById("email").value;comment=document.getElementById("comment").value;v_code=document.getElementById("v_code").value;if(name==""){hideAllErrorsC();document.getElementById("nameError").style.display="inline";document.getElementById("name").select();document.getElementById("name").focus();return false}else if(email==""){hideAllErrorsC();document.getElementById("emailError").style.display="inline";document.getElementById("email").select();
document.getElementById("email").focus();return false}else if(comment==""){hideAllErrorsC();document.getElementById("commentError").style.display="inline";document.getElementById("comment").select();document.getElementById("comment").focus();return false}else if(v_code==""){hideAllErrorsC();document.getElementById("v_codeError").style.display="inline";document.getElementById("v_code").select();document.getElementById("v_code").focus();return false}return true}
function hideAllErrorsC(){document.getElementById("nameError").style.display="none";document.getElementById("emailError").style.display="none";document.getElementById("commentError").style.display="none";document.getElementById("v_codeError").style.display="none"}if(window!=top)top.location.href=location.href;
// -->

