function sendMail(who) { //ёё√ыър эр e-mail (ёъЁшяЄ яЁюЄшт ёярь-ЁюсюЄр) m = "mailto:" + who + "@zmszt.ru"; location=m; } function sendIMail(who) { //ёё√ыър эр e-mail (ёъЁшяЄ яЁюЄшт ёярь-ЁюсюЄр) m = "mailto:" + who; location=m; } su_err_msg=""; function submit_msg() { if(su_err_msg.length>0) { alert(su_err_msg); document.forms[0].submit(); } } function func_test() { document.forms[0].act.value=1; document.forms[0].submit(); } //function showimage (w, h, path, title) {alert('123');} function switcher(childid) { var obj = document.getElementById(childid); obj.style.display = obj.style.display == 'none' ? '' : 'none'; } function showDiv(){ if(getCookieVal('show')!='') { document.getElementById(getCookieVal('show')).style.display=''; } } function setCookie (value) { // document.cookie = 'show=' + escape(value) ; n=5; var date = new Date(); date.setTime(date.getTime()+(n*1000)); var expires = date.toGMTString(); setCookieFull ('show',value,expires); } function setCookieFull (name, value, expires, path, domain, secure) { document.cookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function killCookie (cookieName) { document.cookie = cookieName +'=; expires=-1;' + 'path=/; domain=.' + window.location.hostname; } function getCookieVal(name) { var cookie = " " + document.cookie; var search = " " + name + "="; var setStr = null; var offset = 0; var end = 0; if (cookie.length > 0) { offset = cookie.indexOf(search); if (offset != -1) { offset += search.length; end = cookie.indexOf(";", offset) if (end == -1) { end = cookie.length; } setStr = unescape(cookie.substring(offset, end)); } } killCookie('show'); return(setStr); } var win function showimage (w, h, path, title) { if (win) { win.close()//закрываем предыдущее окно, если такое открыто( посылаем в функцию закрытия окна-строка27) } win=window.open('','','toolbar=no,scrollbars=no, width='+w+',height='+h+', top=100, left=100'); win.document.open(); win.document.write('\n'+title+'\n\n'+title+'\n\n'); win.document.close(); } function file_change() { alert('ok!'); var my_obj_id = document.getElementById('option'+id).checked; //alert (my_obj_id); //document.zakaz.fl.value=document.zakaz.file_opros.value; //alert (document.zakaz.fl.value); }