1var loc = window.location.href, 2 locqs = window.location.search, 3 locpath = window.location.pathname, 4 lochash = window.location.hash, 5 subLoc = loc.split('/'), 6 domain = subLoc[0] + "//" + subLoc[1] + subLoc[2], 7 date = new Date(), 8 day = date.getDate(), 9 month = date.getMonth(), 10 year = date.getFullYear(), 11 ref = document.referrer, 12 bodyOnload; 13 14if (lang == "tr-TR") 15 months = ["Ocak", "Åubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "AÄustos", "Eylül", "Ekim", "Kasım", "Aralık"]; 16else 17 months = ["January", "Feburary", "March", "April", "May", "June", "July", "Agust", "September", "October", "November", "December"]; 18 19 20//MOBILE DETECT 21var mobile = function () { 22 return { 23 detect: function () { 24 var uagent = navigator.userAgent.toLowerCase(); 25 var list = this.mobiles; 26 var ismobile = false; 27 for (var d = 0; d < list.length; d += 1) { 28 if (uagent.indexOf(list[d]) != -1) { 29 ismobile = true; 30 } 31 } 32 return ismobile; 33 }, 34 mobiles: [ 35 "midp", "240x320", "blackberry", "netfront", "nokia", "panasonic", 36 "portalmmm", "sharp", "sie-", "sonyericsson", "symbian", 37 "windows ce", "benq", "mda", "mot-", "opera mini", "opera mobile", 38 "philips", "pocket pc", "sagem", "samsung", "sda", 39 "sgh-", "vodafone", "xda", "palm", "iphone", 40 "ipod", "android", "ipad", "htc" 41 ] 42 }; 43}(); 44 45 46//CUFON REPLACE 47Cufon.replace('.hTabMenuTop > li > a,.htMenu > ul > li > a,.htMenu > .subSel > ul > li > a,#wrapSlider4 .baslik h2,#wrapSlider3 .baslik h2,#wrapSlider2 .control h2,.nwsLtrSign h2,.subPageContent .heading h1,div.cards span,div.cards p,.kartlar01 .cont h2,.kartlar01 .cont span,.subPageContent .heading p,.giCont .cont h2,.detayHizmetBtn li a,.detayVideoContent, .dtcH2, .tableTitleIcerikListe span, .pageHeaderDefault span, .cuf, .list-short-info, ul.kartimVar li a, h2.mobilUygulamaBaslik, .zamanAsimi_Description, .cufon', { hover: true }); 48 49 50//URL Vars 51function getHiddenUrlVars(url) { 52 var vars = [], hash; 53 var hashes = url.slice(url.indexOf('?') + 1).split('&'); 54 for (var i = 0; i < hashes.length; i++) { 55 hash = hashes[i].split('='); 56 vars.push(hash[0]); 57 vars[hash[0]] = decodeURIComponent(hash[1]); 58 } 59 return vars; 60} 61 62 63//POPUP OLARAK AÃILAN SAYFALAR 64function openWinPp(a, popupProperty) { 65 switch (popupProperty) { 66 case 'small': 67 popupProperty = 'scrollbars=1,resizable=1,width=500,height=300,toolbar=no'; 68 break; 69 70 case 'big': 71 popupProperty = 'scrollbars=1,resizable=1,width=950,height=570,toolbar=no'; 72 break; 73 74 case 'bigger': 75 popupProperty = 'left=0,top=0,status=yes,scrollbars=yes,resizable=yes,maximized=yes,height=920,width=1360'; 76 break; 77 78 case 'pos': 79 popupProperty = 'scrollbars=1,resizable=1,width=668,height=370,toolbar=no'; 80 break; 81 case 'tel': 82 popupProperty = 'scrollbars=1,resizable=1,width=600,height=450,toolbar=no'; 83 case 'kurumsal': 84 popupProperty = 'left=0,top=0,status=yes,scrollbars=yes,resizable=yes,maximized=yes,height=760,width=1340'; 85 break; 86 } 87 88 89 90 window.open(a, '', popupProperty); 91} 92 93if (mobile.detect()) { 94 var jsDiapo = document.createElement("script"), jsJquery = document.createElement("script"); 95 96 jsJquery.type = "text/javascript"; 97 jsJquery.src = "/UPLOAD/js/jquery.mobile-1.0rc2.customized.min.js"; 98 jsDiapo.type = "text/javascript"; 99 jsDiapo.src = "/UPLOAD/js/diapo/diapo.js"; 100 $.getScript("/UPLOAD/js/touch.js"); 101} 102 103$(document).ready(function () { 104 bodyOnload = $('#donusUrl').val(); 105 if (bodyOnload.indexOf("/default.aspx") == -1) { 106 var jsPopup = document.createElement("script"), jsDhtml = document.createElement("script"); 107 108 jsPopup.type = "text/javascript"; 109 jsPopup.src = "/Scripts/popupDimensions.js"; 110 jsDhtml.type = "text/javascript"; 111 jsDhtml.src = "/Scripts/dhtmlwindow.js"; 112 document.getElementsByTagName('head')[0].appendChild(jsPopup); 113 document.getElementsByTagName('head')[0].appendChild(jsDhtml); 114 } 115 116});
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.