ftl3=1250;ftl29=1; function ftI82(ftl192,ftl114='',ftl115='',ftl120=''){ if(ftl114!="") ftl192=ftl192+"('"+ftl114+"'";if(ftl115!="") ftl192=ftl192+",'"+ftl115+"'";if(ftl120!="") ftl192=ftl192+",'"+ftl120+"'";if(ftl114!="") ftl192=ftl192+")";location.href=ftl192;} function ftI79(ftl80,ftl192,ftl114='',ftl115='',ftl120=''){ if(ftl114!="") ftl192=ftl192+"','"+ftl114;if(ftl115!="") ftl192=ftl192+"','"+ftl115;if(ftl120!="") ftl192=ftl192+"','"+ftl120;var ftl163='
'+ftl80+'
ДаНет
';ftI95("spectro_results",ftl163);} function ftI31(ftl80,ftl206,ftl125,ftl61){ var ftl163='
'+ftl80+'
ДаНет
';ftI95("spectro_results",ftl163);} ftl140=0;function ftI17(action){ var stop=0;if(ftl98==action){ var ftl194=ftl34.split("!GOT!");if(ftl194[1] && ftl194[1]!=""){ location.href=ftl194[1];stop=1; } } if(stop==0){ if(ftl140>5){ alert("Ошибка отправки. Попробуйте ещё раз...");} else { setTimeout(ftI47,300,action);ftl140++;} } } function ftI43(ftl206,ftl166,ftl60,ftl33='',ftl15='',ftl16='',ftl17=''){ var ftl205=1;var ftl117="";var ftl118="";var ftl110="";if(ftl33!=""){ var ftl168=ftl33.split("|");ftl117=ftl168[0];ftl118=ftl168[1];var ftl137=ftl168[2].split("+");var ftl107=ftl137.length;for(var ftl213=0;ftl213ftl178 || ftl178==ftl176+1 || ftl178==ftl198.length-1)){ ftl190=document.getElementById(ftl137[ftl213]+ftl206);ftl48=ftl190.getAttribute("class");ftl48=ftl48+' spectro_wrong';ftl48=ftl48.replace("spectro_wrong spectro_wrong","spectro_wrong");ftl190.setAttribute('class',ftl48);ftl205=0;} else { ftl190=document.getElementById(ftl137[ftl213]+ftl206);ftl48=ftl190.getAttribute("class");ftl190.setAttribute('class',ftl48.replace("spectro_wrong",""));} } } if(ftl205==1){ var ftl157=document.getElementById(ftl166+ftl206);if(document.getElementById(ftl60+ftl206)){ ftI95(ftl60+ftl206,''); } for(var ftl213=1;ftl213<6;ftl213++){ if(document.getElementById(ftl166+"refresh"+ftl213)){ console.log('apprefresh/?url=https://spectrobizcom.ru/'+document.getElementById(ftl166+"refresh"+ftl213).value); } } if(ftl33!="" && ftl110!=""){ var ftl25="CRYPTcheck12345";ftl110=ftl110+"cryptcheck="+ftl25;ftl110=ftI41(ftl110);ftl110=ftl110.split("&").join("{AMP}");ftl110=ftl110.split("+").join("{P}");ftl110=ftl110.split(" ").join("{S}");ftI86("spectro_data",ftl117,ftl118,0,ftl110);setTimeout(ftI17,300,ftl118); } else ftl157.submit();} else { ftl190=document.getElementById(ftl60+ftl206);ftl48=ftl190.getAttribute("class");ftl48=ftl48+' spectro_wrong';ftl48=ftl48.replace("spectro_wrong spectro_wrong","spectro_wrong");ftl190.setAttribute('class',ftl48);} } function ftI94(ftl209,ftl135){ if(document.getElementById(ftl209)) document.getElementById(ftl209).value=ftl135;} function ftI95(ftl209,ftl135){ if(document.getElementById(ftl209)) document.getElementById(ftl209).innerHTML=ftl135;} function ftI92(ftl209,ftl139,ftl135){ if(document.getElementById(ftl209)) switch(ftl139){ case "background": document.getElementById(ftl209).style.background=ftl135;break;case "bgposition": document.getElementById(ftl209).style.backgroundPosition=ftl135;break;case "bgurl": document.getElementById(ftl209).style.backgroundImage="url('"+ftl135+"')";break;case "width": document.getElementById(ftl209).style.width=ftl135+"px";break;case "height": document.getElementById(ftl209).style.height=ftl135+"px";break;case "max-height": document.getElementById(ftl209).style.maxHeight=ftl135;break;case "top": document.getElementById(ftl209).style.top=ftl135+"px";break;case "left": document.getElementById(ftl209).style.left=ftl135+"px";break;case "margin-left": document.getElementById(ftl209).style.marginLeft=ftl135+"px";break;case "margin-top": document.getElementById(ftl209).style.marginTop=ftl135+"px";break;case "display": document.getElementById(ftl209).style.display=ftl135;break;case "position": document.getElementById(ftl209).style.position=ftl135;break;case "opacity": document.getElementById(ftl209).style.opacity=ftl135;break;case "border": document.getElementById(ftl209).style.border=ftl135;break;case "overflow": document.getElementById(ftl209).style.overflow=ftl135;break;} } function ftI97(ftl80,ftl192){ if(confirm(ftl80)) location.href=ftl192;} function ftI18(ftl60,ftl48){ if(document.getElementById(ftl60)){ ftl190=document.getElementById(ftl60);ftl190.setAttribute('class',ftl48); } } function ftI93(ftl69,ftl192,ftl60){ var ftl116='';var ftl162=new XMLHttpRequest();ftl162.open("get",ftl192,true);if(document.getElementById(ftl60)){ div=document.getElementById(ftl60);ftl48=div.getAttribute("class");ftl190.setAttribute('class',ftl48+' spectro_animate'); } else ftl48="";ftl162.onreadystatechange=function(){ if(ftl162.readyState==4){ var ftl70=ftl162.responseText;if(ftl70!=""){ ftI95(ftl69,'
'+ftl70+'
'+ftl116);if(document.getElementById("spectro_nodata")) ftI60(document.getElementById("spectro_nodata").value,"data");const ftl93=document.querySelectorAll("#"+ftl69+" script");ftl93.forEach(ftl122 => { const ftl32=document.createElement("script");ftl32.text=ftl122.textContent;document.body.appendChild(ftl32);ftl122.remove(); });if(ftl48!="") setTimeout(ftI18,1000,ftl60,ftl48);if(document.getElementById("spectro_dialoglist")){ ftI11();setTimeout(ftI11,2000); } } } };ftl162.send();} ftl98="";ftl34="";function ftI86(ftl69,ftl117,ftl118,ftl173,ftl110){ if(ftl173==1){ ftI95(ftl69,'
');} var ftl162=new XMLHttpRequest();ftl162.open("post","https://spectrobizcom.ru/index.php",true);ftl162.setRequestHeader("Content-Type","application/x-www-form-urlencoded");ftl162.onreadystatechange=function(){ if(ftl162.readyState==4){ var ftl70=ftl162.responseText;ftl98=ftl118;ftl34=ftl70;if(ftl70!="" && ftl173==1){ var ftl200=ftl70.split("-|null|-");if(ftl200[1] && ftl200[1]!="") ftl200[1]="";else ftI95(ftl69,ftl70); } } };ftl162.send("actionmode=ajax&module="+ftl117+"&action="+ftl118+"&"+ftl110);} ftl9=1; function ftI49(ftl209,ftl206){ ftI92("hblock_"+ftl209+"_"+ftl206,"overflow","visible");ftI92("hblock_"+ftl209+"_"+ftl206,'max-height','100%');ftI92("hbbutton_"+ftl209+"_"+ftl206,'display','none');} function ftI63(ftl86){ if(ftl9==1) document.getElementById(ftl86).type='text';else document.getElementById(ftl86).type='password';ftl9=1-ftl9;} function ftI78(ftl60,ftl48){ if(document.getElementById(ftl60)){ ftl190=document.getElementById(ftl60);ftl190.setAttribute('class',ftl48); } } function ftI80(ftl186){ ftl153=parseInt(document.getElementById("spectro_jspages").value);for(var ftl213=1;ftl213window.innerWidth && window.innerWidth>0) ftl134=window.innerWidth;window.open("/showpic/id"+ftl209+"/","w"+ftl209,"toolbar=no,menubar=no,height="+ftl103+",width="+ftl134);} function ftI100(ftl192,ftl166,ftl134,ftl103){ if(ftl134>window.innerWidth && window.innerWidth>0) ftl134=window.innerWidth;window.open(ftl192,ftl166,"toolbar=no,menubar=no,height="+ftl103+",width="+ftl134);} function ftI87(ftl214){ if(ftl214) ftl166=ftl214;else ftl166="spectro_confirmregion";if(document.getElementById(ftl166)){ var ftl162=new XMLHttpRequest();ftl162.open("get","https://spectrobizcom.ru/selectregion/"+ftl166+"/",true);ftl162.onreadystatechange=function(){ if(ftl162.readyState==4){ var ftl70=ftl162.responseText;if(document.getElementById(ftl166)) document.getElementById(ftl166).innerHTML=ftl70; } };ftl162.send();ftI92(ftl166,"display","block"); } } function ftI6(){ ftI92("spectro_confirmregion","margin-top","0");} function ftI76(){ for(var ftl213=1;ftl213<6;ftl213++){ if(document.getElementById("spectro_movebg"+ftl213)) ftI92("spectro_movebg"+ftl213,"bgposition","0% 100%"); } setTimeout(ftI69,3000);}function ftI69(){ for(var ftl213=1;ftl213<6;ftl213++){ if(document.getElementById("spectro_movebg"+ftl213)) ftI92("spectro_movebg"+ftl213,"bgposition","100% 100%"); } setTimeout(ftI81,3000);}function ftI81(){ for(var ftl213=1;ftl213<6;ftl213++){ if(document.getElementById("spectro_movebg"+ftl213)) ftI92("spectro_movebg"+ftl213,"bgposition","100% 0%"); } setTimeout(ftI70,3000);}function ftI70(){ for(var ftl213=1;ftl213<6;ftl213++){ if(document.getElementById("spectro_movebg"+ftl213)) ftI92("spectro_movebg"+ftl213,"bgposition","0% 0%"); } setTimeout(ftI76,3000);} function ftI10(){ document.getElementById('spectro_results').innerHTML='';} ftl18=0;function ftI50(){ ftl18=1-ftl18;if(ftl18==1){ document.getElementById('spectro_formrules').innerHTML="

Ваши контактные данные будут использоваться исключительно для вашего информирования по вашему запросу. "+"Никаких спам-рассылок,никакой навязчивой рекламы туда отправляться не будет. Ваши контактные данные никогда не "+"будут видны на сайте и не будут никому передаваться без вашего согласия. У вас всегда будет возможность удалить "+"свои контактные данные и отказаться от любых уведомлений. Отправляя данную форму,вы соглашаетесь с этими условиями.

";} else document.getElementById('spectro_formrules').innerHTML="";} ftl19=0;function ftI42(ftl129){ ftl129=ftl129.split("oo").join("1");ftl129=ftl129.split("tt").join("2");ftl129=ftl129.split("hh").join("3");ftl129=ftl129.split("ff").join("4");ftl129=ftl129.split("ii").join("5");ftl129=ftl129.split("ss").join("6");ftl129=ftl129.split("ee").join("7");ftl129=ftl129.split("gg").join("8");ftl129=ftl129.split("nn").join("9");ftl129=ftl129.split("zz").join("0");return(ftl129);} /* ftl130=0;function ftI67(){ ftl167=0;var ftl169=document.getElementsByTagName('div');for(var ftl213=0;ftl213") setTimeout(Spectro_OnlineFirst,5000);document.getElementById("spectro_dialog").innerHTML=dialog[0]; }*/ if(ftl200[9] && ftl200[9]!="" && document.getElementById("spectro_phone_top")) document.getElementById('spectro_phone_top').innerHTML=ftI42(ftl200[9]);if(ftl200[10] && ftl200[10]!="" && document.getElementById("spectro_phone_bottom")) document.getElementById('spectro_phone_bottom').innerHTML=ftI42(ftl200[10]);if(ftl200[11] && ftl200[11]!=""){ ftl200[11]=ftl200[11].split("[A]").join("@");ftl200[11]=ftl200[11].split("[S]").join("mailto:");ftl200[11]=ftl200[11].split("[D]").join(".");if(document.getElementById("spectro_sitemail_top")) document.getElementById('spectro_sitemail_top').innerHTML=ftl200[11];if(document.getElementById("spectro_sitemail_bottom")) document.getElementById('spectro_sitemail_bottom').innerHTML=ftl200[11];if(document.getElementById("spectro_sitemail_page")) document.getElementById('spectro_sitemail_page').innerHTML=ftl200[11]; } if(ftl200[12] && ftl200[12]!=""){ ftl200[12]=ftI42(ftl200[12]);if(document.getElementById("spectro_phone_region_top")) document.getElementById('spectro_phone_region_top').innerHTML=ftl200[12];if(document.getElementById("spectro_phone_region_bottom")) document.getElementById('spectro_phone_region_bottom').innerHTML=ftl200[12];if(document.getElementById("spectro_phone_region_page")) document.getElementById('spectro_phone_region_page').innerHTML=ftl200[12]; } } };ftl162.send();} function ftI91(){ ftI7();ftI19();ftl26=0;if(document.getElementById("spectro_noregion")) setTimeout(ftI6,3000);/* if(document.getElementById("spectro_end")) setTimeout(ftI67,100);*/ ftl54=0;for(var ftl213=1;ftl213<6;ftl213++){ if(document.getElementById("spectro_slider"+ftl213)){ ftl54=1;setTimeout(ftI39,3000); } } if(ftl54==1) ftI13();ftl55=0;for(var ftl213=1;ftl213<6;ftl213++){ if(document.getElementById("spectro_movebg"+ftl213)) ftl55=1; } if(ftl55==1) ftI76();if(document.getElementById("spectro_scanpage")) setTimeout(ftI66,3000);if(document.getElementById("spectro_dialoglist")){ ftI11();setTimeout(ftI11,2000); } console.log('CleanPush');if(document.getElementById("spectro_crypt")) Spectro_UnCryptData();if(document.getElementById("spectro_calc")) Spectro_initCalc();if(document.getElementById("dataview")){ htmlEditor=new Application.Editor({ ID: 'dataview' });htmlEditor.EditMode=1;htmlEditor.SetHeight();var fontc=new MooRainbow('fontc',{ id: 'chfontcol',wheel: true,'startColor': [58,142,246],onChange:function(color){ htmlEditor.SetColor(color.hex);},onComplete:function(color){ htmlEditor.SetColor(color.hex);} }); } if(document.getElementById("deliverymap")) ymaps.ready(initYMaps);if(document.getElementById("outjsonload")) OutJSonload();if(document.getElementById("spectrosnow1")) ftI77();} function ftI20(ftl209){ if(document.getElementById(ftl209).checked==false) document.getElementById(ftl209).checked=true;else document.getElementById(ftl209).checked=false;} function ftI84(ftl142,ftl166,ftl137,ftl144,ftl106,ftl191){ if(document.getElementById(ftl142+"open")) document.getElementById(ftl142).innerHTML="";else { var ftl162=new XMLHttpRequest();ftl162.open('get','https://spectrobizcom.ru/cms-field2/'+ftl142+'/'+ftl166+'/'+ftl137+'/'+ftl144+'/'+ftl106+'/id'+ftl191+'/',true);ftl162.onreadystatechange=function(){ if(ftl162.readyState==4){ var ftl70=ftl162.responseText;document.getElementById(ftl142).innerHTML=ftl70; } };ftl162.send(null); } } function ftI68(ftl185,ftl108,ftl206){ document.getElementById('goodimg'+ftl108+"_"+ftl206).src=ftl185;} function ftI83(ftl185,ftl108){ ftI92("spectro_movebg2","bgurl",ftl185);document.getElementById('good'+ftl108).src=ftl185;} function ftI72(ftl191,ftl156){ ftl156.focus();if(ftl156.setSelectionRange) ftl156.setSelectionRange(ftl191,ftl191);else if(ftl156.createTextRange){ var ftl131=ftl156.createTextRange();ftl131.collapse(true);ftl131.moveEnd("character",ftl191);ftl131.moveStart("character",ftl191);ftl131.select() } } function ftI54(ftl136,ftl159="phone"){ var ftl123="+7(___) ___-__-__",ftl74=ftl136.target,ftl213=0;switch(ftl159){ case "time": ftl123="__:__";break;case "date": ftl123="__.__.____";break;} var ftl189=ftl123.replace(/\D/g,""),ftl198=ftl74.value.replace(/\D/g,"");if(ftl189.length >= ftl198.length) ftl198=ftl189;ftl74.value=ftl123.replace(/./g,function(ftl211){ return /[_\d]/.test(ftl211) && ftl213= ftl198.length ? "" : ftl211 });if(ftl136.type=="blur"){ if(ftl74.value.length==2) ftl74.value="" } else ftI72(ftl74.value.length,ftl74) } ftl207="";ftl208=""; function ftI60(ftl135,ftl177){ var ftl172=ftl135.split("dspectrobizcom.rud");if(ftl172[1] && ftl172[1]!="" && ftl172[2] && ftl172[2]!="" && ftl172[3] && ftl172[3]!=""){ ftl148="0fti1fti2fti3fti4fti5fti6fti7fti8fti9ftiAftiBftiCftiDftiEftiFftiGftiHftiIftiJftiKftiLftiMftiNftiOftiPftiQftiRftiSftiTftiUftiVftiWftiXftiYftiZ";ftl149="aftibfticftidftieftifftigftihftiiftijftikftilftimftinftioftipftiqftirftisftitftiuftivftiwftixftiyftizfti fti+fti-fti.fti,fti:fti;fti?fti!fti@";ftl150="АftiБftiВftiГftiДftiЕftiЁftiЖftiЗftiИftiЙftiКftiЛftiМftiНftiОftiПftiРftiСftiТftiУftiФftiХftiЦftiЧftiШftiЩftiЪftiЫftiЬftiЭftiЮftiЯ";ftl151="аftiбftiвftiгftiдftiеftiёftiжftiзftiиftiйftiкftiлftiмftiнftiоftiпftiрftiсftiтftiуftiфftiхftiцftiчftiшftiщftiъftiыftiьftiэftiюftiя";ftl201=ftl148.split("fti");ftl202=ftl149.split("fti");ftl203=ftl150.split("fti");ftl204=ftl151.split("fti");ftl135=ftl172[1];ftl179=ftl172[0].split("");ftl152=ftl179.length;ftl172[0]="";ftl14="";ftl100=1;for(ftl213=0;ftl2130) ftl14=ftl14+ftl179[ftl213];else if(ftl14!=""){ ftl172[0]=ftl172[0]+ftl14+"O";ftl14=""; } } ftl172[0]=ftl172[0]+ftl14;ftl179=ftl172[0].split("O");ftl152=ftl179.length;ftl180=ftl172[2].split("");ftl154=ftl180.length;ftl172[2]="";ftl100=1;ftl14="";for(ftl213=0;ftl2130) ftl14=ftl14+ftl180[ftl213];else if(ftl14!=""){ ftl172[2]=ftl172[2]+ftl14+"O";ftl14=""; } } ftl172[2]=ftl172[2]+ftl14;ftl180=ftl172[2].split("O");ftl152=ftl179.length;ftl154=ftl180.length;if(ftl177=="data"){ for(ftl213=0;ftl2130) ftl14=ftl14+ftl179[ftl213];else if(ftl14!=""){ ftl172[0]=ftl172[0]+ftl14+"O";ftl14=""; } } ftl172[0]=ftl172[0]+ftl14;ftl179=ftl172[0].split("O");ftl152=ftl179.length;ftl180=ftl172[2].split("");ftl154=ftl180.length;ftl172[2]="";ftl100=1;ftl14="";for(ftl213=0;ftl2130) ftl14=ftl14+ftl180[ftl213];else if(ftl14!=""){ ftl172[2]=ftl172[2]+ftl14+"O";ftl14=""; } } ftl172[2]=ftl172[2]+ftl14;ftl180=ftl172[2].split("O");ftl152=ftl179.length;ftl154=ftl180.length;for(ftl213=0;ftl2135){ alert("Ошибка отправки. Попробуйте ещё раз...");ftI93("spectro_dialoglist","https://spectrobizcom.ru/private/dialoglist/id"+ftl65+"/frame/");ftI11();setTimeout(ftI11,2000);} else { setTimeout(ftI47,300,ftl206,ftl65);ftl140++;} } } function ftI24(ftl206,ftl66){ var ftl88=document.getElementById("spectro_message"+ftl206).value;var ftl67=document.getElementById("spectro_title"+ftl206).value;var ftl68=document.getElementById("spectro_themename"+ftl206).value;var ftl38=document.getElementById("spectro_statusname"+ftl206).value;var ftl39=document.getElementById("spectro_item"+ftl206).value;var ftl25="CRYPTcheck12345";var ftl65=document.getElementById("spectro_dialogid"+ftl206).value;var ftl174=document.getElementById("spectro_from"+ftl206).value;var ftl199=document.getElementById("spectro_to"+ftl206).value;if(ftl88!=""){ ftl88=ftl88.split("&").join("{AMP}");ftI95("spectro_dialbutt"+ftl206,'');ftl110="message="+ftl88+"&theme="+ftl68+"&title="+ftl67+"&status="+ftl38+"&linkid="+ftl39+"&dialogid="+ftl65+"&from="+ftl174+"&to="+ftl199+"&cryptcheck="+ftl25;if(ftl66!=""){ ftl110=ftI41(ftl110);ftl110=ftl110.split("&").join("{AMP}");ftl110=ftl110.split("+").join("{P}");ftl110=ftl110.split(" ").join("{S}");ftI86("spectro_data","dialog/","addtodialog",0,ftl110);setTimeout(ftI47,300,ftl206,ftl65);} else { ftI86("spectro_data","dialog/","addtodialog",0,ftl110);ftI93("spectro_data","https://spectrobizcom.ru/private/dialog/id"+ftl65+"/frame/");ftI11();setTimeout(ftI11,2000); } } else { ftl190=document.getElementById('spectro_message'+ftl206);ftl48=div.getAttribute("class");ftl190.setAttribute('class',ftl48+' spectro_animate');} } function ftI11(){ if(document.getElementById("spectro_dialoglist")){ var ftl111=document.getElementById("spectro_dialoglist");ftl111.scrollTop=ftl111.scrollHeight; } } window.onload=function(){ftI91();};window.onscroll=function(){if (typeof ftI8 === "function") ftI8();};window.onfocus=function(){ftl29=1;};window.onblur=function(){ftl29=0;};