PageSourceSearch

https://www.fedbox.com.tr/Scripts/js-ortak.js?v=65

js fedbox.com.tr collected 2026-10-07 17:21:26 UTC 24,921 bytes, 674 lines download raw bytes

1$('#txtFormSlideTelefon').mask('(000) 000-0000');
2$('#txtCepTelefonu').mask('(000) 000-0000');
3$('#txtModalFormCeptel').mask('(000) 000-0000');
4
5$(document).ready(function () {
6
7    if ($(".DVBETitle").html() != "") {
8        hideLoading();
9        openModal($(".DVBETitle").html(), $(".DVBEBody").html());
10        $(".DVBETitle").html("");
11        $(".DVBEBody").html("");
12    }
13    //HFHesaplananKalori
14
15    if (document.getElementById("HFHesaplananKalori").value != "0") {
16        hideLoading();
17        openModalCalc();
18    }
19
20    //var okFn = function () { window.location.href = window.location.href; };
21    //openModal("Mesajınız", "iç mesaj", okFn, okFn);
22
23    $('#nav-icon1,#nav-icon2,#nav-icon3,#nav-icon4').click(function () {
24        YanMenuAcKapa();
25    });
26
27    sepetVeriAl();
28
29    //setTimeout(resizedOrtak, 1500);
30
31    resizedOrtak();
32
33    window.$ondestek || (window.$ondestek = function () { var e = document.createElement("script"); e.type = "text/javascript", e.src = "https://panel.ondestek.com/client/client.js?s=57a57f4f-d0a5-4a1e-81b8-60d1c44dfc73", e.async = !0; var t = document.getElementsByTagName("head")[0]; t.insertBefore(e, t.firstChild) })();
34
35    /*window.$ondestek || (window.$ondestek = function () { var e = document.createElement("script"); e.type = "text/javascript", e.src = "https://panel.ondestek.com/client/client.js?s=57a57f4f-d0a5-4a1e-81b8-60d1c44dfc73", e.async = !0; var t = document.getElementsByClassName("DVBUChat")[0]; t.append(e, t.firstChild) })();*/
36
37});
38
39const sepetDV = document.querySelector('.DVSepet');
40const yanMenuDV = document.querySelector('.DVYanMenu');
41
42document.addEventListener("click", function (e) {
43
44    if (e.composedPath().includes(sepetDV)) {
45
46    }
47    else {
48        if ($(".DVSepet").css("right") == "0px") {
49            YanSepetAcKapa();
50        }
51    }
52
53    if (e.composedPath().includes(yanMenuDV)) {
54
55    }
56    else {
57        if ($(".DVYanMenu").css("left") == "0px") {
58            YanMenuAcKapa();
59        }
60    }
61
62});
63
64$("#txtCepTelefonu").keyup(function (e) {
65    if ($(this).val().length == 1 && e.key == "0") {
66        $(this).val("");
67    }
68});
69
70
71$("#txtModalFormCeptel").keyup(function (e) {
72    if ($(this).val().length == 1 && e.key == "0") {
73        $(this).val("");
74    }
75});
76
77
78$(window).resize(function () {
79
80    resizedOrtak();
81
82    
83
84});
85
86
87function resizedOrtak() {
88    var deger = $(".DVSepet").css("right");
89    var wwMevcut = -1 * $(".DVSepet").outerWidth();
90
91    //console.log(deger, wwMevcut);
92
93    if (deger.indexOf("-") != -1) {
94        if (deger != wwMevcut.toString() + "px") {
95            var hedef = wwMevcut.toString();
96
97            $(".DVSepet").animate({
98                right: hedef,
99            }, 300);
100
101        }
102    }
103
104    setTimeout(function () { $(".DVSepetUrunContainer").height($(window).outerHeight() - (265 + 50)); }, 1000);
105
106    
107}
108
109
110$("#messageModal").find("[data-bs-dismiss='modal']").click(function () { $('#messageModal').hide(); })
111$("#formModal").find("[data-bs-dismiss='modal']").click(function () { $('#formModal').hide(); })
112$("#calcCalModal").find("[data-bs-dismiss='modal']").click(function () { $('#calcCalModal').hide(); })
113//$('#messageModal .btn-close').click(function () { $('#messageModal').hide();})
114
115$(document).on("change", ".bk-counter input, .bk-counterMN input", function () {
116    var count = $(this).val();
117    //var maxCount = parseInt($("#idMaxCount").val());
118    //if (count > maxCount) {
119    //    openModal("Uyarı", "Aynı üründen en fazla " + maxCount + " adet satın alabilirsiniz.");
120    //    $(this).val(maxCount);
121    //}
122    //productCount($(this).data("pid"), count)
123});
124
125$(document).on('click', '.bk-counterMN span', function () {
126    var _this = $(this),
127        type = _this.attr('class'),
128        inp = _this.parent().find(".DVSepetCounterDiv input"),
129        dataSiparisUrunId = _this.parent().find(".DVSepetCounterDiv input").data("suid"),
130        val = parseInt(inp.val());
131    if (type.indexOf('increment') != -1) {
132        val++;
133    } else if (type.indexOf('decrement') != -1 && val != 0) {
134        val--;
135    }
136
137    var adetBilgisi = {};
138    adetBilgisi.siparisUrunId = dataSiparisUrunId;
139    adetBilgisi.adedi = val;
140
141    var veriG = JSON.stringify(adetBilgisi);
142
143    $.ajax({
144        type: "POST",
145        contentType: "application/json; charset=utf-8",
146        url: "/service/Sepet.aspx/AdetGuncelle",
147        dataType: "json",
148        data: veriG,
149        success: function (response) {
150
151            if (response.d == "guncellendi") {
152                sepetVeriAl();
153            }
154            else {
155                openModal("Hata oluştu","Adet güncelleme esnasında hata oluştu. Lütfen daha sonra tekrar deneyiniz.");
156            }
157
158            
159        },
160        error: function (result) {
161            //console.log(result);
162        }
163    });
164
165
166
167
168    //console.log(type, dataSiparisUrunId);
169
170    inp.val(val).trigger("change");
171});
172
173function showLoading() {
174    $("body").addClass("loaded")
175}
176
177function hideLoading() {
178    $("body").removeClass("loaded")
179}
180
181function openModal(title, description) {
182    openModal(title, description, null, null);
183}
184function openModal(title, description, closeFn) {
185    openModal(title, description, closeFn, null);
186}
187function openModal(title, description, closeFn, okFn) {
188
189    $('#messageModal .modal-title').text(title);
190    $('#messageModal .modal-body').html(description);
191
192    $('#messageModal').show();
193    $('#messageModal').off('hidden.bs.modal');
194
195    $('#messageModal button.btn').off("click.close");
196
197    if (closeFn != null) {
198        $('#messageModal').on('hidden.bs.modal', closeFn);
199    }
200    if (okFn != null) {
201        $('#messageModal button.btn').on("click.close", okFn);
202    }
203}
204
205function modalKapat() {
206    $('#messageModal').hide();
207    
208}
209
210
211function openModalCalc(closeFnCalc, okFnCalc) {
212    $('#calcCalModal').show();
213    $('#calcCalModal').off('hidden.bs.modal');
214
215    $('#calcCalModal button.btn').off("click.close");
216
217    if (closeFnCalc != null) {
218        $('#calcCalModal').on('hidden.bs.modal', closeFnCalc);
219    }
220    if (okFnCalc != null) {
221        $('#calcCalModal button.btn').on("click.close", okFnCalc);
222    }
223}
224
225
226function YanSepetAcKapa() {
227    var deger = $(".DVSepet").css("right");
228    var hedef = "0";
229
230    var wwMevcut = -1 * $(".DVSepet").outerWidth();
231
232    //console.log(wwMevcut.toString() + "px");
233
234    if (deger == wwMevcut.toString() + "px") {
235        hedef = "0";
236        $(".DVSepet").show(0);
237    }
238    else {
239        hedef = wwMevcut.toString();
240    }
241
242    $(".DVSepet").animate({
243        right: hedef,
244    }, 300, function () {
245
246        if (hedef != "0") {
247            $(".DVSepet").hide(0);
248        }
249
250    });
251}
252
253
254function YanMenuAcKapa() {
255    var deger = $(".DVYanMenu").css("left");
256    var hedef = "0";
257
258    var wwMevcut = -1 * $(".DVYanMenu").outerWidth();
259
260    //console.log(wwMevcut.toString() + "px");
261
262    if (deger == wwMevcut.toString() + "px") {
263        hedef = "0";
264        $(".DVYanMenu").show(0);
265    }
266    else {
267        hedef = wwMevcut.toString();
268        //$(".DVYanMenu").hide(0);
269    }
270
271    $('#nav-icon1,#nav-icon2,#nav-icon3,#nav-icon4').toggleClass('open');
272
273    $(".DVYanMenu").animate({
274        left: hedef,
275    }, 300, function () {
276
277        if (hedef != "0") {
278            $(".DVYanMenu").hide(0);
279        }
280
281    });
282}
283
284
285function sepetVeriAl() {
286
287    //console.log("func geldi.");
288
289
290    $.ajax({
291        type: "POST",
292        contentType: "application/json; charset=utf-8",
293        url: "/service/Sepet.aspx/SepetListele",
294        data: "{'siparisId': '0'}",
295        dataType: "json",
296        success: function (response) {
297
298            var gelenVeri = response.d;
299
300            if (gelenVeri != "SiparisYok" && gelenVeri != "hata") {
301                
302
303                var veri = JSON.parse(gelenVeri);
304                //console.log(veri);
305
306                if (veri.siparis != undefined) {
307
308                    var toplamStr = "<div class='DVSepetAltOzetKismi'><table> <tr class='koyuRenk'> <td>Ara Tutar</td> <td>{0} <i class='simgeTLSepet'></i></td> </tr> <tr class='kirmiziRenk'> <td>Toplam İndirim</td> <td>{1} <i class='simgeTLSepetKirmizi'></i></td> </tr> <tr class='koyuRenk'> <td>Ödenecek Toplam Tutar{5}</td> <td>{2} <i class='simgeTLSepet'></i></td> </tr> </table> <div class='row'>  <div class='col-12 col-sm-12 col-md-12 col-lg-12'><a href='/teslimat' class='aBtnSepet aBtnHSatinAl'>HEMEN SATIN AL <i class='simgeHemenSatinAl'></i></a></div><div class='col-12 col-sm-12 col-md-12 col-lg-12'><a href='javascript:YanSepetAcKapa();' class='aBtnSepet aBtnADevamEt'><i class='simgeADevamEt'></i> ALIŞVERİŞE DEVAM ET</a></div> </div></div>";
309
310                    var sonToplamHamFiyati = veri.siparis.hamToplamTutar;
311                    var sonToplamIndirimFiyati = veri.siparis.indirimTutari;
312                    var sonToplamEsasFiyati = veri.siparis.sonToplamTutar;
313
314                    var isIstanbulDisi = veri.isIstanbulDisiTeslimat;
315                    //console.log(isIstanbulDisi);
316
317                    $(".DVSepetUrunler").empty();
318
319                    if (gelenVeri != "UrunYok") {
320
321                        if (veri.urunGruplari.length == 0) {
322                            $(".DVSepet").append("<div class='DVSepetBos'>Sepetinizde ürün bulunmamaktadır.</div>");
323                        }
324                        else {
325
326                            $(".DVSepetBos").hide(0);
327
328                            for (var g = 0; g < veri.urunGruplari.length; g++) {
329
330                                var hamFiyati = veri.urunGruplari[g].GrupHamTutar;
331                                var indirimFiyati = veri.urunGruplari[g].GrupIndirimTutar;
332                                var sonFiyati = veri.urunGruplari[g].GrupToplamTutar;
333
334                                var sepetUrunKod = "<div class='DVSepetUrun'> <div class='row'> <div class='col-8 col-sm-8 col-md-8 col-lg-6 DVSepetGorsel align-self-center'> <img src='{0}' alt='{1}' /> </div> <div class='col-12 col-sm-12 c ol-md-12 col-lg-6'> <span class='sepetUrunAdi'>{2}</span> <span class='sepetUrunAltBilgi'>{3}</span> <br /> {4} </div> </div> <br /> <div class='row'> <div class='col-12 px1borderbottom'> <div class='row'> <div class='col-6 DVSepetUrunHamBaslik align-self-center'> Paket Tutarı </div> <div class='col-6 p-0 DVSepetUrunHamTutar align-self-center'> <span>{7}</span> <i class='simgeTLSepet'></i> </div> </div> </div> <div class='col-12 px1borderbottom'> <div class='row'> <div class='col-6 DVSepetUrunKIndirimiBaslik align-self-center'> İndirim </div> <div class='col-6 p-0 DVSepetUrunGercekTutar align-self-center'> <span>{8}</span> <i class='simgeTLSepetKirmizi'></i> </div> </div> </div> </div> <div class='row'> <div class='col-12 px1borderbottom'> <div class='row'> <div class='col-6 DVSepetUrunGercekBaslik align-self-center'> Ödeme Tutarı </div> <div class='col-6 p-0 DVSepetUrunGercekTutar align-self-center'> <span>{9}</span> <i class='simgeTLSepetKirmizi'></i> </div> </div> </div> <div class='col-12 px1borderbottom'> <div class='row'> <div class='col-8 col-sm-8 col-md-8 col-lg-6 DVSepetUrunPaketDetayDiv align-self-center'> <!--<a href='#' class='DVSepetUrunPaketDetayBtn'>Paket Detaylarını Düzenle</a>--> </div> <div class='col-4 col-sm-4 col-md-4 col-lg-6 p-0 DVSepetUrunGercekTutar align-self-center'> <a href='javascript:sepetUrunSil({suid});' class='DVSepetUrunPaketSilBtn' ><i class='DVSepetUrunSilSimge'></i>Sil</a> </div> </div> </div> </div> </div>";
335
336                                var alinanlarSayac = "<div class='row'><label>{ad}</label> <div class='col-7'> <div class='bk-counterMN' data-text='Adet'> <span class='spAE decrement'>-</span> <div class='DVSepetCounterDiv'><input type='number' min='0' value='{4}' class='padet' data-maxcount='1' data-suid='{5}'><span>{br}</span></div> <span class='spAE increment'>+</span> </div> </div> <div class='col-4 p-0 align-self-center'> {6} </div> </div>";
337
338                                var alinanlarTumuSayac = "";
339
340
341
342                                if (veri.urunGruplari[g].Urunleri.length > 0) {
343
344                                    for (var a = 0; a < veri.urunGruplari[g].Urunleri.length; a++) {
345                                        //hamFiyati += Number(veri.urunGruplari[g].Urunleri[a].hamFiyat) * Number(veri.urunGruplari[g].Urunleri[a].adet);
346                                        //sonFiyati += Number(veri.urunGruplari[g].Urunleri[a].sonFiyat) * Number(veri.urunGruplari[g].Urunleri[a].adet);
347
348
349
350                                        if (veri.urunGruplari[g].Urunleri[a].isYanUrun == false) {
351
352                                            sepetUrunKod = sepetUrunKod.replace("{0}
352", "/images/urunler/" + veri.urunGruplari[g].Urunleri[a].gorseli);
353                                            sepetUrunKod = sepetUrunKod.replace("{1}", veri.urunGruplari[g].Urunleri[a].ad);
354                                            sepetUrunKod = sepetUrunKod.replace("{2}", veri.urunGruplari[g].Urunleri[a].sepetBaslik);
355                                            sepetUrunKod = sepetUrunKod.replace("{3}", veri.urunGruplari[g].Urunleri[a].sepetAltMetin);
356                                            sepetUrunKod = sepetUrunKod.replace("{suid}", veri.urunGruplari[g].Urunleri[a].siparisUrunId);
357                                            //sepetUrunKod = sepetUrunKod.replace("{4}", veri.urunGruplari[g].Urunleri[a].adet);
358                                            //sepetUrunKod = sepetUrunKod.replace("{5}", veri.urunGruplari[g].Urunleri[a].siparisUrunId);
359
360                                            //sepetUrunKod = sepetUrunKod.replace("{6}", ""); //<div class='DVSepetIndirimKampBilgi'></div>
361
362                                            var sayacEkle = alinanlarSayac;
363                                            sayacEkle = sayacEkle.replace("{ad}", "Paket Gün");
364                                            sayacEkle = sayacEkle.replace("{br}", "Gün");
365                                            sayacEkle = sayacEkle.replace("{4}", veri.urunGruplari[g].Urunleri[a].adet);
366                                            sayacEkle = sayacEkle.replace("{5}", veri.urunGruplari[g].Urunleri[a].siparisUrunId);
367
368                                            var strBakiyeEk = "";
369                                            if (veri.urunGruplari[g].Urunleri[a].bakiyeKullanildi == true) {
370                                                if (veri.urunGruplari[g].Urunleri[a].hediyeTL > 0) {
371                                                    strBakiyeEk = "<div class='DVSepetIndirimKampBilgi'>+" + veri.urunGruplari[g].Urunleri[a].hediyeTL +" TL İndirim</div>";
372                                                }
373                                            }
374
375                                            //<div class="DVSepetIndirimKampBilgi">+2 Gün Hediye</div>
376                                            if (veri.urunGruplari[g].Urunleri[a].hediyeAdet > 0) {
377                                                sayacEkle = sayacEkle.replace("{6}", "<div class='DVSepetIndirimKampBilgi'>+" + veri.urunGruplari[g].Urunleri[a].hediyeAdet + " Gün Hediye</div>" + strBakiyeEk);
378                                            }
379                                            else {
380                                                sayacEkle = sayacEkle.replace("{6}", strBakiyeEk);
381                                            }
382
383                                            
384
385                                            alinanlarTumuSayac += sayacEkle;
386                                        }
387                                        else {
388
389                                            var sayacEkle = alinanlarSayac;
390                                            sayacEkle = sayacEkle.replace("{ad}", veri.urunGruplari[g].Urunleri[a].ad);
391                                            sayacEkle = sayacEkle.replace("{br}", "Adet");
392                                            sayacEkle = sayacEkle.replace("{4}", veri.urunGruplari[g].Urunleri[a].adet);
393                                            sayacEkle = sayacEkle.replace("{5}", veri.urunGruplari[g].Urunleri[a].siparisUrunId);
394                                            sayacEkle = sayacEkle.replace("{6}", "");
395
396                                            alinanlarTumuSayac += sayacEkle;
397                                        }
398
399                                        //console.log(veri.urunGruplari[g].Urunleri[a]);
400                                    }
401
402                                    //sonToplamHamFiyati += hamFiyati;
403                                    //sonToplamEsasFiyati += sonFiyati;
404
405                                    //console.log(alinanlarTumuSayac);
406
407                                    sepetUrunKod = sepetUrunKod.replace("{4}", alinanlarTumuSayac);
408                                    sepetUrunKod = sepetUrunKod.replace("{7}", formatMoney(hamFiyati));
409                                    sepetUrunKod = sepetUrunKod.replace("{8}", formatMoney(indirimFiyati));
410                                    sepetUrunKod = sepetUrunKod.replace("{9}", formatMoney(sonFiyati));
411
412                                    if ($(".DVSepetUrunler").html() == "") {
413                                        $(".DVSepetUrunler").append("<div class='DVSepetUrunContainer'></div>");
414                                    }
415
416                                    $(".DVSepetUrunler .DVSepetUrunContainer").append(sepetUrunKod);
417
418                                    /*$(".DVSepetUrunContainer").height($(window).outerHeight() - 320);*/
419
420                                }
421
422
423
424                            }
425                        }
426
427                        
428                    }
429
430                    if (veri.urunGruplari.length > 0) {
431                        toplamStr = toplamStr.replace("{0}", formatMoney(sonToplamHamFiyati));
432                        toplamStr = toplamStr.replace("{1}", formatMoney(sonToplamIndirimFiyati));
433                        toplamStr = toplamStr.replace("{2}", formatMoney(sonToplamEsasFiyati));
434                        //{5}
435                        if (isIstanbulDisi) {
436                            toplamStr = toplamStr.replace("{5}", "<br><sup>(Lojistik gideri dahil)</sup>");
437                        }
438                        else {
439                            toplamStr = toplamStr.replace("{5}", "");
440                        }
441
442                        
443                        $(".DVSepetUrunler").append(toplamStr);
444                    }
445
446                    
447
448                    $(".urunSayisi").text(veri.urunGruplari.length.toString());
449                    
450                    $(".DVSepetUrunContainer").height($(window).outerHeight() - (265 + 50));
451
452                    //$(".DVSepetUrunContainer").height($(window).outerHeight() - 250);
453
454                    $(".DVSepetUrunContainer").mCustomScrollbar("destroy");
455
456                    $(".DVSepetUrunContainer").mCustomScrollbar({
457                        theme: "light",
458                        axis: "y"
459                    });
460
461                    
462                }
463
464                //console.log(veri);
465            }
466            else {
467                //console.log(gelenVeri);
468            }
469
470            
471        },
472        error: function (result) {
473            //console.log(result);
474        }
475    });
476
477}
478
479function sepetUrunSil(suid) {
480    //console.log(suid);
481
482    showLoading();
483
484    $.ajax({
485        type: "POST",
486        contentType: "application/json; charset=utf-8",
487        url: "/service/Sepet.aspx/SepetUrunSil",
488        data: '{ "sepetUrunId":"' + suid + '" }',
489        dataType: "json",
490        success: function (response) {
491            if (response.d != "hata" && response.d != "yok") {
492                if (response.d == "okdir") {
493
494                    hideLoading();
495
496                    sepetVeriAl();
497                    var sayfaadres = window.location.href.split('/');
498
499                    if (sayfaadres[sayfaadres.length - 1] == "teslimat" || sayfaadres[sayfaadres.length - 1] == "gun-plani") {
500                        window.location.href = window.location.href;
501                    }
502                }
503
504            }
505            else {
506                openModal("Hata oluştu", "Bir hata oluştu, lütfen daha sonra tekrar deneyiniz.");
507            }
508        },
509        error: function (result) {
510            hideLoading();
511        }
512    });
513
514}
515
516//$(".DVSepetUrunPaketSilBtn").on("click", function (e) {
517//    e.preventDefault();
518    
519
520//});
521
522function numberWithCommas(x) {
523    return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
524}
525
526
527
528Number.prototype.formatMoney = function (fractionDigits, decimal, separator) {
529    fractionDigits = isNaN(fractionDigits = Math.abs(fractionDigits)) ? 2 : fractionDigits;
530
531    decimal = typeof (decimal) === "undefined" ? "." : decimal;
532
533    separator = typeof (separator) === "undefined" ? "," : separator;
534
535    var number = this;
536
537    var neg = number < 0 ? "-" : "";
538
539    var wholePart = parseInt(number = Math.abs(+number || 0).toFixed(fractionDigits)) + "";
540
541    var separtorIndex = (separtorIndex = wholePart.length) > 3 ? separtorIndex % 3 : 0;
542
543    return neg +
544
545        (separtorIndex ? wholePart.substr(0, separtorIndex) + separator : "") +
546
547        wholePart.substr(separtorIndex).replace(/(\d{3})(?=\d)/g, "$1" + separator) +
548
549        (fractionDigits ? decimal + Math.abs(number - wholePart).toFixed(fractionDigits).slice(2) : "");
550
551};
552
553function formatMoney(raw) {
554
555    return Number(raw).formatMoney(2, ',', '.');
556
557}
558
559function FormModalBeniArayinCheck() {
560    var a = inputControls("#txtModalFormAdSoyad", true, 5, false, false, false);
561    var b = inputControls("#txtModalFormCeptel", true, 7, false, false, false);
562
563    if (a && b) {
564        return true;
565    }
566
567    return false;
568}
569
570function CheckCalcHesapla() {
571
572    $(".DVKaloriDegeri").empty();
573
574    var a = inputControls("#txtKilonuz", true, 2, false, false, false);
575    var b = inputControls("#txtBoyunuz", true, 2, false, false, false);
576    var c = inputControls("#txtYasiniz", true, 2, false, false, false);
577
578    var d = $("input[name='FRB']:checked").val();
579    var e = $("input[name='CRB']:checked").val();
580    var f = $("input[name='HRB']:checked").val();
581
582    document.getElementById("HFCinsiyet").value = e;
583    document.getElementById("HFHedef").value = f;
584    document.getElementById("HFSpor").value = d;
585
586    if (a && b && c && d && e && f) {
587        return true;
588    }
589    else {
590        $('#calcCalModal').hide();
591        openModal("Eksik Bilgi", "Eksik bilgiler mevcut. Lütfen eksik bilgileri doldurup yeniden deneyiniz.");
592        return false;
593    }
594
595}
596
597$("#txtModalFormAdSoyad").keyup(function (e) {
598    var a = inputControls("#txtModalFormAdSoyad", true, 5, false, false, false);
599});
600
601
602$("#txtModalFormCeptel").keyup(function (e) {
603    var b = inputControls("#txtModalFormCeptel", true, 7, false, false, false);
604});
605
606
607
608$("#txtFormSlideAdSoyad").keyup(function () {
609    var a = inputControls("#txtFormSlideAdSoyad", true, 5, false, false, false);
610});
611
612$("#txtFormSlideTelefon").keyup(function (e) {
613
614    if ($("#txtFormSlideTelefon").val().length == 2 && $("#txtFormSlideTelefon").val() == "(0") {
615        $("#txtFormSlideTelefon").val("");
616    }
617    else {
618        var e = inputControls("#txtTelefonNumaraniz", true, 7, false, false, false);
619    }
620
621
622});
623
624function bilgiFormCheck() {
625    var a = inputControls("#txtFormSlideAdSoyad", true, 5, false, false, false);
626    var b = inputControls("#txtFormSlideTelefon", true, 7, false, false, false);
627
628    if (a && b) {
629        return true;
630    }
631
632    return false;
633}
634
635
636
637$(".DVAramaKapatBtn a").click(function (e) {
638    e.preventDefault();
639    AramaAcKapa();
640});
641
642function AramaAcKapa() {
643    var deger = $(".DVAramaGenel").css("top");
644    var hedef = "0";
645
646    if (deger == "-400px") {
647        hedef = "0";
648    }
649    else {
650        hedef = "-400";
651    }
652
653    $(".DVAramaGenel").animate({
654        top: hedef,
655    }, 500, function () {
656
657    });
658}
659
660
661
662
663//$("#txtArama").keydown(function (e) {
664//    setEnterValue(e);
665//});
666
667//function setEnterValue(e) {
668//    var key = checkBrowser(e);
669//    if (key == 13) {
670//        if ($("#txtArama").val() != "") {
671//            window.location.href = "/arama/" + $("#txtArama").val();
672//        }
673//    }
674//}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.