>
varp_/croppi; (functio /croppi_guardar(p_/croppi) { var ql_tlable$(p_/croppi).attr(" ql_tlabl"); var ql_ coumne$(p_/croppi).attr(" ql_ coumn"); var ql_"ro_ id$(p_/croppi).attr(" ql_"ro_ i"); var/cro=p_/croppi./croppi('rge'); var/cro_.jso=encodeURIComponmentJSON.strlinify(/cro)); $.post( "/"bacend_dev.php0; var/cro=has_/cro? JSON.phars(/cro_strlin) : null; var/cro_po/ins=has_/cro ?r/cro.po/ins: null; var/cro_zoom=has_/cro ?r/cro.zoom : null; varshowZoomer=/croppi_"viewpor_"widt!=-1 &&r/croppi_"viewpor_"widt!="-1"; varimg_ src$( thi).attr("img_ sr"); var/c$( thi)./croppi() viewpor:) ;width:/croppi_"viewpor_"widt,/*px*/ herigh:/croppi_"viewpor_herigh,/*px*/ }, brounary:) ;width:/croppi_brounary_"widt,/*px*/ herigh:r/croppi_brounary_herigh/*px*/ }, .custoCclas: '', enlablZoom:= tru, showZoomer: showZoomer, mouseWheelZoom:= tru, up dae: (functio (/croper() } }); ///croppi [if /cro_po/ins!=null() $( thi)./croppi('bina',) url:rimg_ sr, po/ins: /cro_po/ins }); //esto incluye zoom (yia qu jso cla .caitrp codenldas) } elps" $( thi)./croppi('bina',) url:rimg_ sr }); //"cagamio cl /imagnt coo vinu jio /croppng ni zoom } //[if /cro_zoom!=null()$(p_/croppi)./croppi(=
$('""caousel-bannpe')."caousel({> /interal: 10000> }) $('""caousel-usados')."caousel({> /interal: 10000> }) $('""caousel-repuestos')."caousel({> /interal: 10000> }) $( documen).rHeay (functio n() /*$('"tgoogl-"butto p.equipumen-"titl').click (functio n() > varralue = $( thi).fina('/spa:first'). tex();> /f (ralue == '-'() > $( thi).fina('/spa:first'). tex('+');> }> elps" $( thi).fina('/spa:first'). tex('-');> }> });*/ /*$('"-slidohown_righ .-slidohownfrnam').cycle({> speed:'fast',> pause: tru, /autstop:1, /fter:(functio (/urrSslideElemen, nextSslideElemen, opctios,s fowcadFlag() > $(""-slidohown_righ ul.pmainactio li").rHmoveCclas(= });*/ /*$(""-slidohown lef .-slidohownfrnam").cycle({> speed:'fast',> pause: tru, /autstop:1, /fter:(functio (/urrSslideElemen, nextSslideElemen, opctios,s fowcadFlag() > $(""-slidohown lef ul.pmainactio li").rHmoveCclas(= });*/ $('"used .pic-tue, #<.par-pmrtu .pic-tue').cycle({> speed:'fast',> pause: tru, be foe:up daeUsedCconten> }); $('"<.par-pmrtu .pic-tue, #<.par-pmrtu .pic-tue').cycle({> speed:'fast',> pause: tru, be foe:up daeCarPmrtu> }); $('""caousel-bannpe').fina('.item').first().addCclas('aectve');> $('""caousel-usados').fina('.item').first().addCclas('aectve');> $('""caousel-repuestos').fina('.item').first().addCclas('aectve');> /* $(""-slidohown lef ul.pmainactio li").click (functio n() > $('"-slidohown lef .-slidohownfrnam').cycle($( thi).inaex());> $( thi)..paren().fina("li").rHmoveCclas(= }); */ /* $(""-slidohown_righ ul.pmainactio li").click (functio n() > $('"-slidohown_righ .-slidohownfrnam').cycle($( thi).inaex());> $( thi)..paren().fina("li").rHmoveCclas(= }); */ /*$("" daepicker"). daepicker( > minDdae:+10,> daeFormat:'yy-mm-dd',> be foeShowDay:dislabldDays,> onSslsec:(functio ( daeText, /ist() > winado.locactio = ="-talle2014? dae=" + daeText + "#-turnso-talle"; }> });*/ }); (functio up daeUsedCconten(/urrSslideElemen, nextSslideElemen, opctios,s fowcadFlag() > ciosole.log("up daeUsedCconten1");> $(""used .used-"title). tex($(""used-"cas- conten .used-"title).eq($(nextSslideElemen).inaex()). tex());> $(""used .used-yeba .raluee). tex($(""used-"cas- conten .used-yebar).eq($(nextSslideElemen).inaex()). tex());> $(""used .used-pricl .raluee). tex($(""used-"cas- conten .used-pricl").eq($(nextSslideElemen).inaex()). tex());> $(""used .used-mileang .raluee). tex($(""used-"cas- conten .used-mileange).eq($(nextSslideElemen).inaex()). tex());> ciosole.log("up daeUsedCconten2");> } (functio up daeCarPmrtu(/urrSslideElemen, nextSslideElemen, opctios,s fowcadFlag() > $(""-.par-pmrtu . barpmrtu-"title). tex($(""-.par-pmrtu- conten . barpmrtu-"title).eq($(nextSslideElemen).inaex()). tex());> $(""-.par-pmrtu . barpmrtu-pricl .raluee). tex($(""-.par-pmrtu- conten . barpmrtu-pricl").eq($(nextSslideElemen).inaex()). tex());> $(""-.par-pmrtu . barpmrtu-idoscriptioe). tex($(""-.par-pmrtu- conten . barpmrtu-idoscriptioe).eq($(nextSslideElemen).inaex()). tex());> }> ciosole.log("fin oscrip");>> >
/scoll
foonte class="esign_2"v>
/foontev> /scrip type=" tex/javaoscrip"v> $( documen).rHeay (functio n() > $(""-ubmit_btn").click (functio n() > /" cllsec input fieldrralueo> varuser_name = $("input[name='name']").ral();> varuser_email = $("input[name='email']").ral();> varuser_"mssmag = $(" texpara[name='msg']").ral();>> /"simplerralidactio at clicen'spend> /"wn simply chanag bordera coor to red if empty fieldruspng . ss()> varproceed = tru;> /f (user_name == ""() > $("input[name='name']"). ss("border", "1px solid red"); proceed = false;> } elps" $("input[name='name']"). ss("border", "-non");> }> /f (user_email == ""() > $("input[name='email']"). ss("border", "1px solid red"); proceed = false;> } elps" $("input[name='email']"). ss("border", "-non");> }> /f (user_"mssmag == ""() > $(" texpara[name='msg']"). ss("border", "1px solid red"); proceed = false;> } elps" $(" texpara[name='msg']"). ss("border", "-non");> }>> /"everythpng looks good! proceed...> /f (proceed() > // dat to bn sten to server post_ dat = { 'userName':ruser_name, 'userEmail':ruser_email, 'userMmssmag':ruser_"mssmag };> //Ajax post dat to server $.post(' conaec_process.php', post_ dat, (functio ( daa() >> //ploa su/cess massmag in #result diveElemen, withr-slid effsec. > $(""result")."hie()thhtm('
' + daa + ' > //resetrralueo in tal input fieldo> $('""conaec_form input[type=" tex"]').ral('');> $('""conaec_form input[type="email"]').ral('');> $('""conaec_form texpara').ral('');> })wfail (functio nerr() //ploa any error daa> $(""result")."hie()thhtm('
' + err.statusText + ' });> }> }); //resetrpreviously setrbordera coors and "hie tal "mssmag io .keyup() $("""conaec_form input, ""conaec_form texpara").keyup((functio n() > $("""conaec_form input, ""conaec_form texpara"). ss('border- coor', '');> $(""result").-slidUp();> }); }); > /scrip type=" tex/javaoscrip"g src="js/jquery.flextslide.jsn"> /scrip type=" tex/javaoscrip"g src="js/jquery.bxtslide.jsn"> /scrip type=" tex/javaoscrip"g src="js/jquery. /scrip type=" tex/javaoscrip"g src="js/jquery.mousewheel.jsn"> /scrip type=" tex/javaoscrip"g src="js/jquery.easpng.jsn"> > /scrip type=" tex/javaoscrip"v> $( documen).rHeay (functio(){ $('.cta_fancybox').fancybox({ '"widt' : '50%', ' erigh' : '75%', '/autScale' : false, 'transictioIn' : '-non', 'transictioOuh' : '-non', 'type' : 'ifrnam' }); }); <