ftl3=1250;ftl24=1;
function ftI81(ftl170,ftl101='',ftl102='',ftl111=''){ if(ftl101!="") ftl170=ftl170+"('"+ftl101+"'";if(ftl102!="") ftl170=ftl170+",'"+ftl102+"'";if(ftl111!="") ftl170=ftl170+",'"+ftl111+"'";if(ftl101!="") ftl170=ftl170+")";location.href=ftl170;}
function ftI78(ftl71,ftl170,ftl101='',ftl102='',ftl111=''){ if(ftl101!="") ftl170=ftl170+"','"+ftl101;if(ftl102!="") ftl170=ftl170+"','"+ftl102;if(ftl111!="") ftl170=ftl170+"','"+ftl111;ftl148='
';ftI96("spectro_results",ftl148);}
function ftI32(ftl71,ftl105,ftl47){ ftl148='';ftI96("spectro_results",ftl148);}
function ftI43(ftl140,ftl63,ftl23='',ftl14='',ftl15=''){ var ftl190=1;if(ftl23!=""){ ftl123=ftl23.split("+");ftl94=ftl123.length;for(var ftl194=0;ftl194ftl144 || ftl144==ftl141+1 || ftl144==ftl166.length-1)){ ftl176=document.getElementById(ftl123[ftl194]);ftl42=ftl176.getAttribute("class");ftl42=ftl42+' spectro_wrong';ftl42=ftl42.replace("spectro_wrong spectro_wrong","spectro_wrong");ftl176.setAttribute('class',ftl42);ftl190=0;} else { ftl176=document.getElementById(ftl123[ftl194]);ftl42=ftl176.getAttribute("class");ftl176.setAttribute('class',ftl42.replace("spectro_wrong",""));} } } if(ftl190==1){ var ftl155=document.getElementById(ftl140);if(document.getElementById(ftl63)) ftI96(ftl63,' ');for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById(ftl140+"refresh"+ftl194)){ console.log('apprefresh/?url=https://siteconst.ru/'+document.getElementById(ftl140+"refresh"+ftl194).value); } } ftl155.submit();} else { ftl176=document.getElementById(ftl63);ftl42=ftl176.getAttribute("class");ftl42=ftl42+' spectro_wrong';ftl42=ftl42.replace("spectro_wrong spectro_wrong","spectro_wrong");ftl176.setAttribute('class',ftl42);} }
function ftI17(ftl127,ftl140){ ftI48(ftl127);var ftl155=document.getElementById(ftl140);ftl155.submit();}
function ftI95(ftl182,ftl130){ if(document.getElementById(ftl182)) document.getElementById(ftl182).value=ftl130;}
function ftI96(ftl182,ftl130){ if(document.getElementById(ftl182)) document.getElementById(ftl182).innerHTML=ftl130;}
function ftI93(ftl182,ftl132,ftl130){ if(document.getElementById(ftl182)) switch(ftl132){ case "background": document.getElementById(ftl182).style.background=ftl130;break;case "bgposition": document.getElementById(ftl182).style.backgroundPosition=ftl130;break;case "bgurl": document.getElementById(ftl182).style.backgroundImage="url('"+ftl130+"')";break;case "width": document.getElementById(ftl182).style.width=ftl130+"px";break;case "height": document.getElementById(ftl182).style.height=ftl130+"px";break;case "top": document.getElementById(ftl182).style.top=ftl130+"px";break;case "left": document.getElementById(ftl182).style.left=ftl130+"px";break;case "margin-left": document.getElementById(ftl182).style.marginLeft=ftl130+"px";break;case "margin-top": document.getElementById(ftl182).style.marginTop=ftl130+"px";break;case "display": document.getElementById(ftl182).style.display=ftl130;break;case "position": document.getElementById(ftl182).style.position=ftl130;break;case "opacity": document.getElementById(ftl182).style.opacity=ftl130;break;case "border": document.getElementById(ftl182).style.border=ftl130;break;} }
function ftI98(ftl71,ftl170){ if(confirm(ftl71)) location.href=ftl170;}
function ftI19(ftl63,ftl42){ if(document.getElementById(ftl63)){ ftl176=document.getElementById(ftl63);ftl176.setAttribute('class',ftl42); } }
function ftI94(ftl65,ftl170,ftl63){ var ftl113=' ';ftl153.open("get",ftl170,false);if(document.getElementById(ftl63)){ div=document.getElementById(ftl63);ftl42=div.getAttribute("class");ftl176.setAttribute('class',ftl42+' spectro_animate'); } else ftl42="";ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;if(ftl48!=""){ ftI96(ftl65,''+ftl48+'
'+ftl113);if(document.getElementById("spectro_nodata")) ftI61(document.getElementById("spectro_nodata").value,"data");const ftl70=document.querySelectorAll("#"+ftl65+" script");ftl70.forEach(ftl108 => { const ftl30=document.createElement("script");ftl30.text=ftl108.textContent;document.body.appendChild(ftl30);ftl108.remove(); });if(ftl42!="") setTimeout(ftI19,1000,ftl63,ftl42);} } };ftl153.send();}
function ftI49(ftl170,ftl73,ftl31,ftl54,ftl83,ftl32){ ftl176=document.getElementById(ftl73);ftl176.setAttribute('class',ftl83);ftl176=document.getElementById(ftl31);ftl176.setAttribute('class',ftl32);ftI94(ftl54,ftl170,"");const ftl70=document.querySelectorAll("#"+ftl54+" script");ftl70.forEach(ftl108 => { const ftl30=document.createElement("script");ftl30.text=ftl108.textContent;document.body.appendChild(ftl30);ftl108.remove(); });ftI22();}
function ftI40(ftl73,ftl31,ftl54,ftl83,ftl32){ ftl176=document.getElementById(ftl73);ftl176.setAttribute('class',ftl83);ftl176=document.getElementById(ftl31);ftl176.setAttribute('class',ftl32);ftI96(ftl54,"");ftI22();}
function ftI85(ftl65,ftl112,ftl114,ftl159,ftl95){ if(ftl159==1){ ftI96(ftl65,' ');} ftl153.open("post","https://siteconst.ru/index.php",false);ftl153.setRequestHeader("Content-Type","application/x-www-form-urlencoded");ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;if(ftl48!="" && ftl159==1){ var ftl181=ftl48.split("-|null|-");if(ftl181[1] && ftl181[1]!="") ftl181[1]="";else ftI96(ftl65,ftl48); } } };ftl153.send("actionmode=ajax&module="+ftl112+"&action="+ftl114+"&"+ftl95);} ftl9=1;
function ftI66(ftl72){ if(ftl9==1) document.getElementById(ftl72).type='text';else document.getElementById(ftl72).type='password';ftl9=1-ftl9;}
function ftI79(ftl63,ftl42){ if(document.getElementById(ftl63)){ ftl176=document.getElementById(ftl63);ftl176.setAttribute('class',ftl42); } }
function ftI80(ftl173){ ftl124=parseInt(document.getElementById("spectro_jspages").value);for(ftl194=1;ftl194window.innerWidth && window.innerWidth>0) ftl119=window.innerWidth;window.open("/showpic/id"+ftl182+"/","w"+ftl182,"toolbar=no,menubar=no,height="+ftl103+",width="+ftl119);}
function ftI102(ftl170,ftl140,ftl119,ftl103){ if(ftl119>window.innerWidth && window.innerWidth>0) ftl119=window.innerWidth;window.open(ftl170,ftl140,"toolbar=no,menubar=no,height="+ftl103+",width="+ftl119);}
function ftI87(ftl193){ if(ftl193) ftl140=ftl193;else ftl140="spectro_confirmregion";if(document.getElementById(ftl140)){ ftl153.open("get","https://siteconst.ru/selectregion/"+ftl140+"/",true);ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;if(document.getElementById(ftl140)) document.getElementById(ftl140).innerHTML=ftl48; } };ftl153.send();ftI93(ftl140,"display","block"); } }
function ftI6(){ ftI93("spectro_confirmregion","margin-top","0");}
function ftI71(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","0% 100%"); } setTimeout(ftI77,3000);}function ftI77(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","100% 100%"); } setTimeout(ftI68,3000);}function ftI68(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","100% 0%"); } setTimeout(ftI70,3000);}function ftI70(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","0% 0%"); } setTimeout(ftI71,3000);}
ftl125=0;ftl1=0;ftl2=0;ftl110=1;ftl33=new Array(1000);for(ftl194=1;ftl194<1000;ftl194++) ftl33[ftl194]=0;ftl89=new Array(1000);for(ftl194=1;ftl194<1000;ftl194++) ftl89[ftl194]=0;ftl116=new Array(1000);for(ftl194=1;ftl194<1000;ftl194++) ftl116[ftl194]=0;
function ftI18(){ ftl131=0;ftl25=150;if(document.getElementById('spectro_anim'+ftl110)){ var ftl176=document.getElementById('spectro_anim'+ftl110);ftl42=ftl176.getAttribute("class");if(ftl33[ftl110]==0){ if(window.pageYOffset>ftl176.offsetTop+ftl176.offsetHeight) ftl25=0;else if(window.pageYOffset+window.innerHeight0){ ftl176.setAttribute('class',ftl42+' spectro_animate');ftl33[Draw_i]=1;} ftl131=1; }/*else{ var foundElemLength=0;foundElemLength=document.getElementById('spectro_postimg'+Draw_i);if(!foundElemLength){ foundElemLength=document.getElementById('spectro_postbg'+Draw_i);} if(foundElemLength) found=1;*/ } if(ftl131==1){ setTimeout(ftI18,ftl25);ftl110++;} else ftl110=1;}
ftl34=1;function ftI42(ftl69){ ftl179=ftl69.split("|");for(var ftl194=0;ftl194=winTop && divTop<=winBott) ||(divBott>=winTop && divBott<=winBott) ||(divTop<=winTop && divBott>=winBott) ){ doit=1;} if(doit==1){ draws++;div.src="/"+document.getElementById('spectro_postimg'+DrawImg_i).value;} found=1;} if(document.getElementById('spectro_postbg'+DrawImg_i)){ div=document.getElementById('spectro_prebg'+DrawImg_i);doit=0;var winTop=window.pageYOffset;var winBott=window.pageYOffset+window.innerHeight;var divRect=div.getBoundingClientRect();var divTop=divRect.top+window.pageYOffset;var divBott=divTop+div.offsetHeight;if((divTop>=winTop && divTop<=winBott) ||(divBott>=winTop && divBott<=winBott) ||(divTop<=winTop && divBott>=winBott) ){ doit=1;} if(doit==1){ draws++;div.style.backgroundImage="url('/"+document.getElementById('spectro_postbg'+DrawImg_i).value+"')";} found=1;} if(found==1){ DrawImg_i++;ftI42();} else { DrawImg_i=1;} */ }
ftl4=0;ftl5=1;function ftI7(){ const ftl35=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,document.documentElement.offsetHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.body.clientHeight);const ftl11=window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;const ftl36=(window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0);const ftl16=ftl35-ftl11;if(ftl16 === 0) ftl17=0;else ftl17=Math.floor(ftl36 / ftl16 * 100);if(ftl5==1) ftl104=50;else ftl104=80;if(ftl17>ftl104){ ftl5=ftl5+1;ftl193="-";if(document.getElementById('spectro_scrolldata'+ftl5)){ ftl193="";ftl127="data"; } for(ftl194=1;ftl194<20;ftl194++){ if(document.getElementById('spectro_scrollblock'+ftl194+"_"+ftl5)){ ftl193=ftl194;ftl127="block"+ftl194+"_"; } } if(ftl193!="-"){ ftI94('spectro_scroll'+ftl127+ftl5,window.location.href+ftl5+"/frame"+ftl193+"/","");ftl49="";ftl37="";if(document.getElementById('spectro_goods'+ftl5)){ ftl49=document.getElementById('spectro_goods'+ftl5).value; } if(document.getElementById('spectro_images'+ftl5)){ ftl37=document.getElementById('spectro_images'+ftl5).value; } ftl7=document.getElementById('spectro_goods').value;ftl6=document.getElementById('spectro_images').value;ftI95('spectro_goods',ftl7+"-"+ftl49);ftI95('spectro_images',ftl6+"|"+ftl37);ftI22();} } /* var scrolltop=window.pageYOffset || document.documentElement.scrollTop;var pageheight=window.innerHeight;if(scrolltop>Spectro_JsPage*pageheight-100){ Spectro_JsPage=Spectro_JsPage+1;if(document.getElementById('spectro_dymanicloadpage'+Spectro_JsPage)){ alert(Spectro_JsPage);ftI94('spectro_dymanicloadpage'+Spectro_JsPage,"https://siteconst.ru/menyu/"+Spectro_JsPage+"/frame/","");ftI22(); } } /* scrolled=(Spectro_Scroll-scrollsize);scrolled=Math.abs(scrolled);if(scrolled>50 && Draw_i==1){ Spectro_Scroll=scrollsize;ftI42();ftI18(); }*/ }
function ftI10(){ document.getElementById('spectro_results').innerHTML='';}
ftl38="";ftl50=0;function ftI20(ftl183,ftl51){ if(ftl51!=""){ var ftl39=document.getElementById("spectro_"+ftl51+"_temp1").value;ftI48(ftl51);var ftl74=document.getElementById("spectro_"+ftl51+"_field1").value;var ftl26=document.getElementById("spectro_"+ftl51+"_check").value;} else { var ftl74=document.getElementById("spectro_message"+ftl183).value;var ftl52=document.getElementById("spectro_title"+ftl183).value;var ftl53=document.getElementById("spectro_themename"+ftl183).value;var ftl40=document.getElementById("spectro_statusname"+ftl183).value;var ftl41=document.getElementById("spectro_item"+ftl183).value;var ftl26="CRYPTcheck12345"; } var ftl55=document.getElementById("spectro_dialogid"+ftl183).value;var ftl161=document.getElementById("spectro_from"+ftl183).value;var ftl189=document.getElementById("spectro_to"+ftl183).value;if(ftl74!=""){ ftl74=ftl74.replace("&","{AMP}");ftI96("spectro_dialbutt"+ftl183,' ');ftl95="message="+ftl74+"&theme="+ftl53+"&title="+ftl52+"&status="+ftl40+"&linkid="+ftl41+"&dialogid="+ftl55+"&from="+ftl161+"&to="+ftl189+"&type=ajax&cryptcheck="+ftl26;ftI85("spectro_data","dialog/","addtodialog",0,ftl95);ftI94("spectro_data","https://siteconst.ru/private/dialog/id"+ftl55+"/frame/");ftI11();setTimeout(ftI11,1000);setTimeout(ftI11,2000);setTimeout(ftI11,3000);if(ftl51!=""){ ftI95("spectro_"+ftl51+"_temp1","");/*setTimeout(ftI91,300);*/ } else ftI95("spectro_message"+ftl183,"");} else { ftl176=document.getElementById('spectro_message'+ftl183);ftl42=div.getAttribute("class");ftl176.setAttribute('class',ftl42+' spectro_animate');} }
function ftI11(){ if(document.getElementById("spectro_dialoglist")){ var ftl93=document.getElementById("spectro_dialoglist");ftl93.scrollTop=ftl93.scrollHeight; } }
function ftI21(){ ftl147=document.getElementById("spectro_crypt").value;ftl147=Spectro_UnCrypt(ftl147);document.getElementById("spectro_crypt0").innerHTML=ftl147+' ';}
function ftI48(ftl155){ ftl94=parseInt(document.getElementById('spectro_'+ftl155+'_fields').value)+1;for(ftl188=1;ftl188Отправится как: '+document.getElementById('spectro_'+ftl155+'_field'+ftl188).value+' '; } ftl130=Spectro_Crypt(document.getElementById('spectro_'+ftl155+'_mark').value);ftI95('spectro_'+ftl155+'_check',ftl130);if(document.getElementById('spectro_'+ftl155+'_form0')){ ftI93('spectro_'+ftl155+'_form0','display','none'); } if(document.getElementById('spectro_'+ftl155+'_form')){ ftI93('spectro_'+ftl155+'_form','display','block'); } }
function ftI89(ftl155){ ftI93('spectro_'+ftl155+'_form0','display','block');ftI93('spectro_'+ftl155+'_form','display','none');}
ftl18=0;function ftI50(ftl155){ ftl18=1-ftl18;ftl94=parseInt(document.getElementById('spectro_'+ftl155+'_fields').value);for(ftl188=1;ftl188Отправится как: '+document.getElementById('spectro_'+ftl155+'_field'+ftl188).value+' '; } } if(ftl18==0) document.getElementById('spectro_'+ftl155+'_crypt0').innerHTML="";else document.getElementById('spectro_'+ftl155+'_crypt0').innerHTML="Перед отправкой,данные шифруются"+",не зависимо от того,видите вы зашифрованные значения или нет
";}
ftl19=0;function ftI51(){ ftl19=1-ftl19;if(ftl19==1){ document.getElementById('spectro_formrules').innerHTML="Ваши контактные данные будут использоваться исключительно для вашего информирования по вашему запросу. "+"Никаких спам-рассылок,никакой навязчивой рекламы туда отправляться не будет. Ваши контактные данные никогда не "+"будут видны на сайте и не будут никому передаваться без вашего согласия. У вас всегда будет возможность удалить "+"свои контактные данные и отказаться от любых уведомлений. Отправляя данную форму,вы соглашаетесь с этими условиями.
";} else document.getElementById('spectro_formrules').innerHTML="";}
ftl18=0;function ftI33(ftl128){ ftl128=ftl128.split("oo").join("1");ftl128=ftl128.split("tt").join("2");ftl128=ftl128.split("hh").join("3");ftl128=ftl128.split("ff").join("4");ftl128=ftl128.split("ii").join("5");ftl128=ftl128.split("ss").join("6");ftl128=ftl128.split("ee").join("7");ftl128=ftl128.split("gg").join("8");ftl128=ftl128.split("nn").join("9");ftl128=ftl128.split("zz").join("0");return(ftl128);}
ftl129=0;function ftI60(){ ftl150=0;var ftl152=document.getElementsByTagName('div');for(var ftl194=0;ftl194") setTimeout(Spectro_OnlineFirst,5000);document.getElementById("spectro_dialog").innerHTML=dialog[0]; }*/ if(ftl181[9] && ftl181[9]!="" && document.getElementById("spectro_phone_top")) document.getElementById('spectro_phone_top').innerHTML=ftI33(ftl181[9]);if(ftl181[10] && ftl181[10]!="" && document.getElementById("spectro_phone_bottom")) document.getElementById('spectro_phone_bottom').innerHTML=ftI33(ftl181[10]);if(ftl181[11] && ftl181[11]!=""){ ftl181[11]=ftl181[11].split("[A]").join("@");ftl181[11]=ftl181[11].split("[S]").join("mailto:");ftl181[11]=ftl181[11].split("[D]").join(".");if(document.getElementById("spectro_sitemail_top")) document.getElementById('spectro_sitemail_top').innerHTML=ftl181[11];if(document.getElementById("spectro_sitemail_bottom")) document.getElementById('spectro_sitemail_bottom').innerHTML=ftl181[11];if(document.getElementById("spectro_sitemail_page")) document.getElementById('spectro_sitemail_page').innerHTML=ftl181[11]; } if(ftl181[12] && ftl181[12]!=""){ ftl181[12]=ftI33(ftl181[12]);if(document.getElementById("spectro_phone_region_top")) document.getElementById('spectro_phone_region_top').innerHTML=ftl181[12];if(document.getElementById("spectro_phone_region_bottom")) document.getElementById('spectro_phone_region_bottom').innerHTML=ftl181[12];if(document.getElementById("spectro_phone_region_page")) document.getElementById('spectro_phone_region_page').innerHTML=ftl181[12]; } } };ftl153.send();}
function ftI91(){ ftI8();ftI22();ftl27=0;if(document.getElementById("spectro_noregion")) setTimeout(ftI6,3000);if(document.getElementById("spectro_end")) setTimeout(ftI60,100);ftl57=0;for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_slider"+ftl194)){ ftl57=1;setTimeout(ftI39,3000); } } if(ftl57==1) ftI13();ftl58=0;for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftl58=1; } if(ftl58==1) ftI71();if(document.getElementById("spectro_scanpage")) setTimeout(ftI59,3000);if(document.getElementById("spectro_dialoglist")){ ftI11();setTimeout(ftI11,1000);setTimeout(ftI11,2000);setTimeout(ftI11,3000); } console.log('CleanPush');if(document.getElementById("spectro_crypt")) ftI21();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")) ftI69();}
function ftI23(ftl182){ if(document.getElementById(ftl182).checked==false) document.getElementById(ftl182).checked=true;else document.getElementById(ftl182).checked=false;}
function ftI88(ftl127,ftl140,ftl123,ftl118,ftl99,ftl178){ if(document.getElementById(ftl127+"open")) document.getElementById(ftl127).innerHTML="";else { ftl153.open('get','https://siteconst.ru/cms-field2/'+ftl127+'/'+ftl140+'/'+ftl123+'/'+ftl118+'/'+ftl99+'/id'+ftl178+'/',true);ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;document.getElementById(ftl127).innerHTML=ftl48; } };ftl153.send(null); } }
function ftI82(ftl179,ftl100,ftl183){ document.getElementById('goodimg'+ftl100+"_"+ftl183).src=ftl179;}
function ftI84(ftl179,ftl100){ ftI93("spectro_movebg2","bgurl",ftl179);document.getElementById('good'+ftl100).src=ftl179;}
ftl75=0;function ftI69(){ if(ftl75==0){ ftI97();ftl75=1;} }
var ftl76=[0,222,13,30,28,344,170,299,124,150];var ftl59=[0,100,300,700,900,400,560,800,200,555];function ftI97(){ if(window.innerWidth) ftl3=window.innerWidth;else if(document.documentElement && document.documentElement.clientWidth) ftl3=document.documentElement.clientWidth;else if(document.body && document.body.clientWidth) ftl3=document.body.clientWidth;if(ftl3>1000){ for(ftl194=1;ftl194<11;ftl194++){ ftl172='spectrosnow'+ftl194;ftI93(ftl172,'top',ftl76[ftl194]);ftl76[ftl194]=ftl76[ftl194]+Math.floor(Math.random()*(4-1)+1);ftI93(ftl172,'margin-left',ftl59[ftl194]);ftl59[ftl194]=ftl59[ftl194]+Math.floor(Math.random()*2);if(ftl76[ftl194]>600){ ftl76[ftl194]=Math.floor(Math.random()*(190-1)+1);ftl59[ftl194]=Math.floor(Math.random()*(990-1)+1);} if(ftl59[ftl194]>1000) ftl59[ftl194]=Math.floor(Math.random()*(990-1)+1);} setTimeout(ftI97,50);} else { for(ftl194=1;ftl194<11;ftl194++){ ftl172='spectrosnow'+ftl194;ftI93(ftl172,'display','none'); } } }
function ftI72(ftl178,ftl149){ ftl149.focus();if(elem.setSelectionRange) ftl149.setSelectionRange(ftl178,ftl178);else if(ftl149.createTextRange){ var ftl120=ftl149.createTextRange();ftl120.collapse(true);ftl120.moveEnd("character",ftl178);ftl120.moveStart("character",ftl178);ftl120.select() } }
function ftI44(ftl121,ftl156="phone"){ var ftl106="+7(___) ___-__-__",ftl77=ftl121.target,ftl194=0;switch(ftl156){ case "time": ftl106="__:__";break;case "date": ftl106="__.__.____";break;} var ftl175=ftl106.replace(/\D/g,""),ftl166=ftl77.value.replace(/\D/g,"");if(ftl175.length >= ftl166.length) ftl166=ftl175;ftl77.value=ftl106.replace(/./g,function(ftl191){ return /[_\d]/.test(ftl191) && ftl194= ftl166.length ? "" : ftl191 });if(ftl121.type=="blur"){ if(ftl77.value.length==2) ftl77.value="" } else ftI72(ftl77.value.length,ftl77) }
window.onload=function(){ftl153=new XMLHttpRequest();ftI91();};window.onscroll=function(){ftI7();};window.onfocus=function(){ftl24=1;};window.onblur=function(){ftl24=0;}; ftl3=1250;ftl24=1;
function ftI81(ftl170,ftl101='',ftl102='',ftl111=''){ if(ftl101!="") ftl170=ftl170+"('"+ftl101+"'";if(ftl102!="") ftl170=ftl170+",'"+ftl102+"'";if(ftl111!="") ftl170=ftl170+",'"+ftl111+"'";if(ftl101!="") ftl170=ftl170+")";location.href=ftl170;}
function ftI78(ftl71,ftl170,ftl101='',ftl102='',ftl111=''){ if(ftl101!="") ftl170=ftl170+"','"+ftl101;if(ftl102!="") ftl170=ftl170+"','"+ftl102;if(ftl111!="") ftl170=ftl170+"','"+ftl111;ftl148='';ftI96("spectro_results",ftl148);}
function ftI32(ftl71,ftl105,ftl47){ ftl148='';ftI96("spectro_results",ftl148);}
function ftI43(ftl140,ftl63,ftl23='',ftl14='',ftl15=''){ var ftl190=1;if(ftl23!=""){ ftl123=ftl23.split("+");ftl94=ftl123.length;for(var ftl194=0;ftl194ftl144 || ftl144==ftl141+1 || ftl144==ftl166.length-1)){ ftl176=document.getElementById(ftl123[ftl194]);ftl42=ftl176.getAttribute("class");ftl42=ftl42+' spectro_wrong';ftl42=ftl42.replace("spectro_wrong spectro_wrong","spectro_wrong");ftl176.setAttribute('class',ftl42);ftl190=0;} else { ftl176=document.getElementById(ftl123[ftl194]);ftl42=ftl176.getAttribute("class");ftl176.setAttribute('class',ftl42.replace("spectro_wrong",""));} } } if(ftl190==1){ var ftl155=document.getElementById(ftl140);if(document.getElementById(ftl63)) ftI96(ftl63,' ');for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById(ftl140+"refresh"+ftl194)){ console.log('apprefresh/?url=https://siteconst.ru/'+document.getElementById(ftl140+"refresh"+ftl194).value); } } ftl155.submit();} else { ftl176=document.getElementById(ftl63);ftl42=ftl176.getAttribute("class");ftl42=ftl42+' spectro_wrong';ftl42=ftl42.replace("spectro_wrong spectro_wrong","spectro_wrong");ftl176.setAttribute('class',ftl42);} }
function ftI17(ftl127,ftl140){ ftI48(ftl127);var ftl155=document.getElementById(ftl140);ftl155.submit();}
function ftI95(ftl182,ftl130){ if(document.getElementById(ftl182)) document.getElementById(ftl182).value=ftl130;}
function ftI96(ftl182,ftl130){ if(document.getElementById(ftl182)) document.getElementById(ftl182).innerHTML=ftl130;}
function ftI93(ftl182,ftl132,ftl130){ if(document.getElementById(ftl182)) switch(ftl132){ case "background": document.getElementById(ftl182).style.background=ftl130;break;case "bgposition": document.getElementById(ftl182).style.backgroundPosition=ftl130;break;case "bgurl": document.getElementById(ftl182).style.backgroundImage="url('"+ftl130+"')";break;case "width": document.getElementById(ftl182).style.width=ftl130+"px";break;case "height": document.getElementById(ftl182).style.height=ftl130+"px";break;case "top": document.getElementById(ftl182).style.top=ftl130+"px";break;case "left": document.getElementById(ftl182).style.left=ftl130+"px";break;case "margin-left": document.getElementById(ftl182).style.marginLeft=ftl130+"px";break;case "margin-top": document.getElementById(ftl182).style.marginTop=ftl130+"px";break;case "display": document.getElementById(ftl182).style.display=ftl130;break;case "position": document.getElementById(ftl182).style.position=ftl130;break;case "opacity": document.getElementById(ftl182).style.opacity=ftl130;break;case "border": document.getElementById(ftl182).style.border=ftl130;break;} }
function ftI98(ftl71,ftl170){ if(confirm(ftl71)) location.href=ftl170;}
function ftI19(ftl63,ftl42){ if(document.getElementById(ftl63)){ ftl176=document.getElementById(ftl63);ftl176.setAttribute('class',ftl42); } }
function ftI94(ftl65,ftl170,ftl63){ var ftl113=' ';ftl153.open("get",ftl170,false);if(document.getElementById(ftl63)){ div=document.getElementById(ftl63);ftl42=div.getAttribute("class");ftl176.setAttribute('class',ftl42+' spectro_animate'); } else ftl42="";ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;if(ftl48!=""){ ftI96(ftl65,''+ftl48+'
'+ftl113);if(document.getElementById("spectro_nodata")) ftI61(document.getElementById("spectro_nodata").value,"data");const ftl70=document.querySelectorAll("#"+ftl65+" script");ftl70.forEach(ftl108 => { const ftl30=document.createElement("script");ftl30.text=ftl108.textContent;document.body.appendChild(ftl30);ftl108.remove(); });if(ftl42!="") setTimeout(ftI19,1000,ftl63,ftl42);} } };ftl153.send();}
function ftI49(ftl170,ftl73,ftl31,ftl54,ftl83,ftl32){ ftl176=document.getElementById(ftl73);ftl176.setAttribute('class',ftl83);ftl176=document.getElementById(ftl31);ftl176.setAttribute('class',ftl32);ftI94(ftl54,ftl170,"");const ftl70=document.querySelectorAll("#"+ftl54+" script");ftl70.forEach(ftl108 => { const ftl30=document.createElement("script");ftl30.text=ftl108.textContent;document.body.appendChild(ftl30);ftl108.remove(); });ftI22();}
function ftI40(ftl73,ftl31,ftl54,ftl83,ftl32){ ftl176=document.getElementById(ftl73);ftl176.setAttribute('class',ftl83);ftl176=document.getElementById(ftl31);ftl176.setAttribute('class',ftl32);ftI96(ftl54,"");ftI22();}
function ftI85(ftl65,ftl112,ftl114,ftl159,ftl95){ if(ftl159==1){ ftI96(ftl65,' ');} ftl153.open("post","https://siteconst.ru/index.php",false);ftl153.setRequestHeader("Content-Type","application/x-www-form-urlencoded");ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;if(ftl48!="" && ftl159==1){ var ftl181=ftl48.split("-|null|-");if(ftl181[1] && ftl181[1]!="") ftl181[1]="";else ftI96(ftl65,ftl48); } } };ftl153.send("actionmode=ajax&module="+ftl112+"&action="+ftl114+"&"+ftl95);} ftl9=1;
function ftI66(ftl72){ if(ftl9==1) document.getElementById(ftl72).type='text';else document.getElementById(ftl72).type='password';ftl9=1-ftl9;}
function ftI79(ftl63,ftl42){ if(document.getElementById(ftl63)){ ftl176=document.getElementById(ftl63);ftl176.setAttribute('class',ftl42); } }
function ftI80(ftl173){ ftl124=parseInt(document.getElementById("spectro_jspages").value);for(ftl194=1;ftl194window.innerWidth && window.innerWidth>0) ftl119=window.innerWidth;window.open("/showpic/id"+ftl182+"/","w"+ftl182,"toolbar=no,menubar=no,height="+ftl103+",width="+ftl119);}
function ftI102(ftl170,ftl140,ftl119,ftl103){ if(ftl119>window.innerWidth && window.innerWidth>0) ftl119=window.innerWidth;window.open(ftl170,ftl140,"toolbar=no,menubar=no,height="+ftl103+",width="+ftl119);}
function ftI87(ftl193){ if(ftl193) ftl140=ftl193;else ftl140="spectro_confirmregion";if(document.getElementById(ftl140)){ ftl153.open("get","https://siteconst.ru/selectregion/"+ftl140+"/",true);ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;if(document.getElementById(ftl140)) document.getElementById(ftl140).innerHTML=ftl48; } };ftl153.send();ftI93(ftl140,"display","block"); } }
function ftI6(){ ftI93("spectro_confirmregion","margin-top","0");}
function ftI71(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","0% 100%"); } setTimeout(ftI77,3000);}function ftI77(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","100% 100%"); } setTimeout(ftI68,3000);}function ftI68(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","100% 0%"); } setTimeout(ftI70,3000);}function ftI70(){ for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftI93("spectro_movebg"+ftl194,"bgposition","0% 0%"); } setTimeout(ftI71,3000);}
ftl125=0;ftl1=0;ftl2=0;ftl110=1;ftl33=new Array(1000);for(ftl194=1;ftl194<1000;ftl194++) ftl33[ftl194]=0;ftl89=new Array(1000);for(ftl194=1;ftl194<1000;ftl194++) ftl89[ftl194]=0;ftl116=new Array(1000);for(ftl194=1;ftl194<1000;ftl194++) ftl116[ftl194]=0;
function ftI18(){ ftl131=0;ftl25=150;if(document.getElementById('spectro_anim'+ftl110)){ var ftl176=document.getElementById('spectro_anim'+ftl110);ftl42=ftl176.getAttribute("class");if(ftl33[ftl110]==0){ if(window.pageYOffset>ftl176.offsetTop+ftl176.offsetHeight) ftl25=0;else if(window.pageYOffset+window.innerHeight0){ ftl176.setAttribute('class',ftl42+' spectro_animate');ftl33[Draw_i]=1;} ftl131=1; }/*else{ var foundElemLength=0;foundElemLength=document.getElementById('spectro_postimg'+Draw_i);if(!foundElemLength){ foundElemLength=document.getElementById('spectro_postbg'+Draw_i);} if(foundElemLength) found=1;*/ } if(ftl131==1){ setTimeout(ftI18,ftl25);ftl110++;} else ftl110=1;}
ftl34=1;function ftI42(ftl69){ ftl179=ftl69.split("|");for(var ftl194=0;ftl194=winTop && divTop<=winBott) ||(divBott>=winTop && divBott<=winBott) ||(divTop<=winTop && divBott>=winBott) ){ doit=1;} if(doit==1){ draws++;div.src="/"+document.getElementById('spectro_postimg'+DrawImg_i).value;} found=1;} if(document.getElementById('spectro_postbg'+DrawImg_i)){ div=document.getElementById('spectro_prebg'+DrawImg_i);doit=0;var winTop=window.pageYOffset;var winBott=window.pageYOffset+window.innerHeight;var divRect=div.getBoundingClientRect();var divTop=divRect.top+window.pageYOffset;var divBott=divTop+div.offsetHeight;if((divTop>=winTop && divTop<=winBott) ||(divBott>=winTop && divBott<=winBott) ||(divTop<=winTop && divBott>=winBott) ){ doit=1;} if(doit==1){ draws++;div.style.backgroundImage="url('/"+document.getElementById('spectro_postbg'+DrawImg_i).value+"')";} found=1;} if(found==1){ DrawImg_i++;ftI42();} else { DrawImg_i=1;} */ }
ftl4=0;ftl5=1;function ftI7(){ const ftl35=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight,document.documentElement.offsetHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.body.clientHeight);const ftl11=window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;const ftl36=(window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0);const ftl16=ftl35-ftl11;if(ftl16 === 0) ftl17=0;else ftl17=Math.floor(ftl36 / ftl16 * 100);if(ftl5==1) ftl104=50;else ftl104=80;if(ftl17>ftl104){ ftl5=ftl5+1;ftl193="-";if(document.getElementById('spectro_scrolldata'+ftl5)){ ftl193="";ftl127="data"; } for(ftl194=1;ftl194<20;ftl194++){ if(document.getElementById('spectro_scrollblock'+ftl194+"_"+ftl5)){ ftl193=ftl194;ftl127="block"+ftl194+"_"; } } if(ftl193!="-"){ ftI94('spectro_scroll'+ftl127+ftl5,window.location.href+ftl5+"/frame"+ftl193+"/","");ftl49="";ftl37="";if(document.getElementById('spectro_goods'+ftl5)){ ftl49=document.getElementById('spectro_goods'+ftl5).value; } if(document.getElementById('spectro_images'+ftl5)){ ftl37=document.getElementById('spectro_images'+ftl5).value; } ftl7=document.getElementById('spectro_goods').value;ftl6=document.getElementById('spectro_images').value;ftI95('spectro_goods',ftl7+"-"+ftl49);ftI95('spectro_images',ftl6+"|"+ftl37);ftI22();} } /* var scrolltop=window.pageYOffset || document.documentElement.scrollTop;var pageheight=window.innerHeight;if(scrolltop>Spectro_JsPage*pageheight-100){ Spectro_JsPage=Spectro_JsPage+1;if(document.getElementById('spectro_dymanicloadpage'+Spectro_JsPage)){ alert(Spectro_JsPage);ftI94('spectro_dymanicloadpage'+Spectro_JsPage,"https://siteconst.ru/menyu/"+Spectro_JsPage+"/frame/","");ftI22(); } } /* scrolled=(Spectro_Scroll-scrollsize);scrolled=Math.abs(scrolled);if(scrolled>50 && Draw_i==1){ Spectro_Scroll=scrollsize;ftI42();ftI18(); }*/ }
function ftI10(){ document.getElementById('spectro_results').innerHTML='';}
ftl38="";ftl50=0;function ftI20(ftl183,ftl51){ if(ftl51!=""){ var ftl39=document.getElementById("spectro_"+ftl51+"_temp1").value;ftI48(ftl51);var ftl74=document.getElementById("spectro_"+ftl51+"_field1").value;var ftl26=document.getElementById("spectro_"+ftl51+"_check").value;} else { var ftl74=document.getElementById("spectro_message"+ftl183).value;var ftl52=document.getElementById("spectro_title"+ftl183).value;var ftl53=document.getElementById("spectro_themename"+ftl183).value;var ftl40=document.getElementById("spectro_statusname"+ftl183).value;var ftl41=document.getElementById("spectro_item"+ftl183).value;var ftl26="CRYPTcheck12345"; } var ftl55=document.getElementById("spectro_dialogid"+ftl183).value;var ftl161=document.getElementById("spectro_from"+ftl183).value;var ftl189=document.getElementById("spectro_to"+ftl183).value;if(ftl74!=""){ ftl74=ftl74.replace("&","{AMP}");ftI96("spectro_dialbutt"+ftl183,' ');ftl95="message="+ftl74+"&theme="+ftl53+"&title="+ftl52+"&status="+ftl40+"&linkid="+ftl41+"&dialogid="+ftl55+"&from="+ftl161+"&to="+ftl189+"&type=ajax&cryptcheck="+ftl26;ftI85("spectro_data","dialog/","addtodialog",0,ftl95);ftI94("spectro_data","https://siteconst.ru/private/dialog/id"+ftl55+"/frame/");ftI11();setTimeout(ftI11,1000);setTimeout(ftI11,2000);setTimeout(ftI11,3000);if(ftl51!=""){ ftI95("spectro_"+ftl51+"_temp1","");/*setTimeout(ftI91,300);*/ } else ftI95("spectro_message"+ftl183,"");} else { ftl176=document.getElementById('spectro_message'+ftl183);ftl42=div.getAttribute("class");ftl176.setAttribute('class',ftl42+' spectro_animate');} }
function ftI11(){ if(document.getElementById("spectro_dialoglist")){ var ftl93=document.getElementById("spectro_dialoglist");ftl93.scrollTop=ftl93.scrollHeight; } }
function ftI21(){ ftl147=document.getElementById("spectro_crypt").value;ftl147=Spectro_UnCrypt(ftl147);document.getElementById("spectro_crypt0").innerHTML=ftl147+' ';}
function ftI48(ftl155){ ftl94=parseInt(document.getElementById('spectro_'+ftl155+'_fields').value)+1;for(ftl188=1;ftl188Отправится как: '+document.getElementById('spectro_'+ftl155+'_field'+ftl188).value+' '; } ftl130=Spectro_Crypt(document.getElementById('spectro_'+ftl155+'_mark').value);ftI95('spectro_'+ftl155+'_check',ftl130);if(document.getElementById('spectro_'+ftl155+'_form0')){ ftI93('spectro_'+ftl155+'_form0','display','none'); } if(document.getElementById('spectro_'+ftl155+'_form')){ ftI93('spectro_'+ftl155+'_form','display','block'); } }
function ftI89(ftl155){ ftI93('spectro_'+ftl155+'_form0','display','block');ftI93('spectro_'+ftl155+'_form','display','none');}
ftl18=0;function ftI50(ftl155){ ftl18=1-ftl18;ftl94=parseInt(document.getElementById('spectro_'+ftl155+'_fields').value);for(ftl188=1;ftl188Отправится как: '+document.getElementById('spectro_'+ftl155+'_field'+ftl188).value+' '; } } if(ftl18==0) document.getElementById('spectro_'+ftl155+'_crypt0').innerHTML="";else document.getElementById('spectro_'+ftl155+'_crypt0').innerHTML="Перед отправкой,данные шифруются"+",не зависимо от того,видите вы зашифрованные значения или нет
";}
ftl19=0;function ftI51(){ ftl19=1-ftl19;if(ftl19==1){ document.getElementById('spectro_formrules').innerHTML="Ваши контактные данные будут использоваться исключительно для вашего информирования по вашему запросу. "+"Никаких спам-рассылок,никакой навязчивой рекламы туда отправляться не будет. Ваши контактные данные никогда не "+"будут видны на сайте и не будут никому передаваться без вашего согласия. У вас всегда будет возможность удалить "+"свои контактные данные и отказаться от любых уведомлений. Отправляя данную форму,вы соглашаетесь с этими условиями.
";} else document.getElementById('spectro_formrules').innerHTML="";}
ftl18=0;function ftI33(ftl128){ ftl128=ftl128.split("oo").join("1");ftl128=ftl128.split("tt").join("2");ftl128=ftl128.split("hh").join("3");ftl128=ftl128.split("ff").join("4");ftl128=ftl128.split("ii").join("5");ftl128=ftl128.split("ss").join("6");ftl128=ftl128.split("ee").join("7");ftl128=ftl128.split("gg").join("8");ftl128=ftl128.split("nn").join("9");ftl128=ftl128.split("zz").join("0");return(ftl128);}
ftl129=0;function ftI60(){ ftl150=0;var ftl152=document.getElementsByTagName('div');for(var ftl194=0;ftl194") setTimeout(Spectro_OnlineFirst,5000);document.getElementById("spectro_dialog").innerHTML=dialog[0]; }*/ if(ftl181[9] && ftl181[9]!="" && document.getElementById("spectro_phone_top")) document.getElementById('spectro_phone_top').innerHTML=ftI33(ftl181[9]);if(ftl181[10] && ftl181[10]!="" && document.getElementById("spectro_phone_bottom")) document.getElementById('spectro_phone_bottom').innerHTML=ftI33(ftl181[10]);if(ftl181[11] && ftl181[11]!=""){ ftl181[11]=ftl181[11].split("[A]").join("@");ftl181[11]=ftl181[11].split("[S]").join("mailto:");ftl181[11]=ftl181[11].split("[D]").join(".");if(document.getElementById("spectro_sitemail_top")) document.getElementById('spectro_sitemail_top').innerHTML=ftl181[11];if(document.getElementById("spectro_sitemail_bottom")) document.getElementById('spectro_sitemail_bottom').innerHTML=ftl181[11];if(document.getElementById("spectro_sitemail_page")) document.getElementById('spectro_sitemail_page').innerHTML=ftl181[11]; } if(ftl181[12] && ftl181[12]!=""){ ftl181[12]=ftI33(ftl181[12]);if(document.getElementById("spectro_phone_region_top")) document.getElementById('spectro_phone_region_top').innerHTML=ftl181[12];if(document.getElementById("spectro_phone_region_bottom")) document.getElementById('spectro_phone_region_bottom').innerHTML=ftl181[12];if(document.getElementById("spectro_phone_region_page")) document.getElementById('spectro_phone_region_page').innerHTML=ftl181[12]; } } };ftl153.send();}
function ftI91(){ ftI8();ftI22();ftl27=0;if(document.getElementById("spectro_noregion")) setTimeout(ftI6,3000);if(document.getElementById("spectro_end")) setTimeout(ftI60,100);ftl57=0;for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_slider"+ftl194)){ ftl57=1;setTimeout(ftI39,3000); } } if(ftl57==1) ftI13();ftl58=0;for(ftl194=1;ftl194<6;ftl194++){ if(document.getElementById("spectro_movebg"+ftl194)) ftl58=1; } if(ftl58==1) ftI71();if(document.getElementById("spectro_scanpage")) setTimeout(ftI59,3000);if(document.getElementById("spectro_dialoglist")){ ftI11();setTimeout(ftI11,1000);setTimeout(ftI11,2000);setTimeout(ftI11,3000); } console.log('CleanPush');if(document.getElementById("spectro_crypt")) ftI21();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")) ftI69();}
function ftI23(ftl182){ if(document.getElementById(ftl182).checked==false) document.getElementById(ftl182).checked=true;else document.getElementById(ftl182).checked=false;}
function ftI88(ftl127,ftl140,ftl123,ftl118,ftl99,ftl178){ if(document.getElementById(ftl127+"open")) document.getElementById(ftl127).innerHTML="";else { ftl153.open('get','https://siteconst.ru/cms-field2/'+ftl127+'/'+ftl140+'/'+ftl123+'/'+ftl118+'/'+ftl99+'/id'+ftl178+'/',true);ftl153.onreadystatechange=function(){ if(ftl153.readyState==4){ var ftl48=ftl153.responseText;document.getElementById(ftl127).innerHTML=ftl48; } };ftl153.send(null); } }
function ftI82(ftl179,ftl100,ftl183){ document.getElementById('goodimg'+ftl100+"_"+ftl183).src=ftl179;}
function ftI84(ftl179,ftl100){ ftI93("spectro_movebg2","bgurl",ftl179);document.getElementById('good'+ftl100).src=ftl179;}
ftl75=0;function ftI69(){ if(ftl75==0){ ftI97();ftl75=1;} }
var ftl76=[0,222,13,30,28,344,170,299,124,150];var ftl59=[0,100,300,700,900,400,560,800,200,555];function ftI97(){ if(window.innerWidth) ftl3=window.innerWidth;else if(document.documentElement && document.documentElement.clientWidth) ftl3=document.documentElement.clientWidth;else if(document.body && document.body.clientWidth) ftl3=document.body.clientWidth;if(ftl3>1000){ for(ftl194=1;ftl194<11;ftl194++){ ftl172='spectrosnow'+ftl194;ftI93(ftl172,'top',ftl76[ftl194]);ftl76[ftl194]=ftl76[ftl194]+Math.floor(Math.random()*(4-1)+1);ftI93(ftl172,'margin-left',ftl59[ftl194]);ftl59[ftl194]=ftl59[ftl194]+Math.floor(Math.random()*2);if(ftl76[ftl194]>600){ ftl76[ftl194]=Math.floor(Math.random()*(190-1)+1);ftl59[ftl194]=Math.floor(Math.random()*(990-1)+1);} if(ftl59[ftl194]>1000) ftl59[ftl194]=Math.floor(Math.random()*(990-1)+1);} setTimeout(ftI97,50);} else { for(ftl194=1;ftl194<11;ftl194++){ ftl172='spectrosnow'+ftl194;ftI93(ftl172,'display','none'); } } }
function ftI72(ftl178,ftl149){ ftl149.focus();if(elem.setSelectionRange) ftl149.setSelectionRange(ftl178,ftl178);else if(ftl149.createTextRange){ var ftl120=ftl149.createTextRange();ftl120.collapse(true);ftl120.moveEnd("character",ftl178);ftl120.moveStart("character",ftl178);ftl120.select() } }
function ftI44(ftl121,ftl156="phone"){ var ftl106="+7(___) ___-__-__",ftl77=ftl121.target,ftl194=0;switch(ftl156){ case "time": ftl106="__:__";break;case "date": ftl106="__.__.____";break;} var ftl175=ftl106.replace(/\D/g,""),ftl166=ftl77.value.replace(/\D/g,"");if(ftl175.length >= ftl166.length) ftl166=ftl175;ftl77.value=ftl106.replace(/./g,function(ftl191){ return /[_\d]/.test(ftl191) && ftl194= ftl166.length ? "" : ftl191 });if(ftl121.type=="blur"){ if(ftl77.value.length==2) ftl77.value="" } else ftI72(ftl77.value.length,ftl77) }
function ftI61(ftl130,ftl160){ ftl154=ftl130.split("dsiteconst.rud");if(ftl154[1] && ftl154[1]!="" && ftl154[2] && ftl154[2]!="" && ftl154[3] && ftl154[3]!=""){ ftl134="0fti1fti2fti3fti4fti5fti6fti7fti8fti9ftiAftiBftiCftiDftiEftiFftiGftiHftiIftiJftiKftiLftiMftiNftiOftiPftiQftiRftiSftiTftiUftiVftiWftiXftiYftiZ";ftl135="aftibfticftidftieftifftigftihftiiftijftikftilftimftinftioftipftiqftirftisftitftiuftivftiwftixftiyftizfti fti+fti-fti.fti,fti:fti;fti?fti!fti@";ftl136="А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Я";ftl137="а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я";ftl184=ftl134.split("fti");ftl185=ftl135.split("fti");ftl186=ftl136.split("fti");ftl187=ftl137.split("fti");ftl130=ftl154[1];ftl162=ftl154[0].split("");ftl138=ftl162.length;ftl154[0]="";ftl13="";ftl91=1;for(ftl194=0;ftl1940) ftl13=ftl13+ftl162[ftl194];else if(ftl13!=""){ ftl154[0]=ftl154[0]+ftl13+"O";ftl13=""; } } ftl154[0]=ftl154[0]+ftl13;ftl162=ftl154[0].split("O");ftl138=ftl162.length;ftl164=ftl154[2].split("");ftl139=ftl164.length;ftl154[2]="";ftl91=1;ftl13="";for(ftl194=0;ftl1940) ftl13=ftl13+ftl164[ftl194];else if(ftl13!=""){ ftl154[2]=ftl154[2]+ftl13+"O";ftl13=""; } } ftl154[2]=ftl154[2]+ftl13;ftl164=ftl154[2].split("O");ftl138=ftl162.length;ftl139=ftl164.length;if(ftl160=="data"){ for(ftl194=0;ftl194