function convertToISO(text) { var string = ''; var c1 = 0; var c2 = 0; var i = 0; var dizi = new Array(); dizi[195] = new Array(); dizi[196] = new Array(); dizi[197] = new Array(); dizi[226] = new Array(); dizi[195][167] = String.fromCharCode(231); dizi[196][177] = String.fromCharCode(305); dizi[196][376] = String.fromCharCode(287); dizi[195][182] = String.fromCharCode(246); dizi[197][376] = String.fromCharCode(351); dizi[195][188] = String.fromCharCode(252); dizi[195][8225] = String.fromCharCode(199); dizi[196][176] = String.fromCharCode(304); dizi[196][158] = String.fromCharCode(286); dizi[196][65533]= String.fromCharCode(286); dizi[195][8211] = String.fromCharCode(214); dizi[197][158] = String.fromCharCode(350); dizi[197][65533]= String.fromCharCode(350); dizi[195][339] = String.fromCharCode(220); dizi[226][8364] = new Array(); dizi[226][65533]= new Array(); dizi[226][8364][8482] = String.fromCharCode(39); dizi[226][65533][65533] = String.fromCharCode(39); dizi[226][8364][339] = String.fromCharCode(34); dizi[226][8364][157] = String.fromCharCode(34); while (i < text.length) { c1 = text.charCodeAt(i); if (c1 > 194 && c1 < 198) { c2 = text.charCodeAt(i+1); if (dizi[c1][c2]) { string += dizi[c1][c2]; } else { string += String.fromCharCode(c1); string += String.fromCharCode(c2); } i++; } else if (c1 == 226) { c2 = text.charCodeAt(i+1); c3 = text.charCodeAt(i+2); if (dizi[c1][c2][c3]) { string += dizi[c1][c2][c3]; i += 2; } } else { string += String.fromCharCode(c1); } i++; } return string; } str = '
'; str = convertToISO(str);document.write(str); function getFlashMovie(flash) { return (isIE) ? window[flash] : document[flash]; } function HD_changeItem(opcode) { eval('elm = news_data'); if(typeof(window['elm']) == "undefined") return; HD_clearTimeout(); HD_curIndex += opcode; if(HD_curIndex >= elm.length) HD_curIndex = 0; else if (HD_curIndex < 0) HD_curIndex = elm.length - 1; imageElement.src = "http://www.nethabercilik.com/images/news/" + elm[HD_curIndex]['image'] + ".jpg"; linkElement.href = elm[HD_curIndex]['link']; //titleElement.innerHTML = convertToISO(elm[HD_curIndex]['title']); shortContentElement.innerHTML = convertToISO(elm[HD_curIndex]['short_content']); dateElement.innerHTML = convertToISO(elm[HD_curIndex]['date']); document.getElementById("headline_item_" + HD_curIndex).className = "item active"; cl_title = convertToISO(elm[HD_curIndex]['title']); document.getElementById('headline_flash').innerHTML = '' + '' + '' + '' + '' + '' + '' + '' + ''; //getFlashMovie("headlineFlashTitle").sendAUtoFlash(convertToISO(elm[HD_curIndex]['title'])); if(HD_prevItem != -1) { document.getElementById("headline_item_" + HD_prevItem).className = "item"; } HD_prevItem = HD_curIndex; if(HD_isChangeable) { //HD_timeoutIndex = setTimeout(timeoutFunction, 8000); } } function HD_clearTimeout() { if(HD_timeoutIndex != "") { clearTimeout(HD_timeoutIndex); HD_timeoutIndex = ""; } } function HD_jumpTo(idx) { if(idx == HD_prevItem) return; HD_isChangeable = 0; HD_clearTimeout(); HD_changeItem(idx - HD_prevItem); } function HD_forwClick() { HD_isChangeable = 1; timeoutFunction = "HD_changeItem(1)"; if(HD_curIndex == -1) { HD_changeItem(1); return; } HD_clearTimeout(); //HD_timeoutIndex = setTimeout(timeoutFunction, 8000); } function HD_backClick() { HD_isChangeable = 1; HD_timeoutFunction = "HD_changeItem(-1)"; HD_changeItem(-1); } var isIE = navigator.appName.indexOf("Microsoft") != -1; var previousItem = -1; var HD_isChangeable = 1; var HD_curIndex = -1; var HD_prevItem = -1; var HD_timeoutFunction = "HD_changeItem(1)"; var HD_timeoutIndex = ""; var imageElement = document.getElementById("HD_image"); var linkElement = document.getElementById("HD_image_link"); //var titleElement = document.getElementById("HD_headline_title"); var shortContentElement = document.getElementById("HD_short_content"); var dateElement = document.getElementById("HD_news_date"); var news_data = { 0: {id: "288499", title: "FERRARİ ARAÇLARINI GERİ ÇAĞIRIYOR", short_content: "Dünya\'nın önde gelen lüks otomobil markası Ferrari, halihazırda satılmış olan toplam bin 248 son model Ferrari 458\'i geri çağırdı.", image: "264093", link: "http://www.nethabercilik.com/haber/ferrari-araclarini-geri-cagiriyor.htm", date: "02 Eylül 2010 / 12:30"},1: {id: "288123", title: "TOYOTA PARİS İÇİN GÜN SAYIYOR", short_content: "Dünya otomotiv devi Toyota, 2010 Paris Otomobil Fuarı için gün sayıyor. ", image: "263799", link: "http://www.nethabercilik.com/haber/toyota-paris-icin-gun-sayiyor.htm", date: "01 Eylül 2010 / 16:10"},2: {id: "286344", title: "GELECEĞİN ARAÇLARI, HİDROJENLE ÇALIŞAN OTOMOBİLLER...", short_content: "Atmosfere karbondioksit yerine oksijen ve su salan hidrojenli otomobiller çevre dostu bir seçenek sunuyor.", image: "262361", link: "http://www.nethabercilik.com/haber/gelecegin-araclari,-hidrojenle-calisan-otomobiller....htm", date: "30 Ağustos 2010 / 12:00"},3: {id: "283829", title: "LANCER DİZEL ARAÇLARA MEYDAN OKUDU", short_content: "Köpekbalığından ilham alınarak tasarlanan Mitsubishi Lancer, güven veren özellikleri ile sevdiklerinizi güvenle teslim edebileceğiniz bir araç imajı ortaya koyarken şehir içi-dışı yakıt sarfiyatında dizellere meydan okuyor.", image: "260357", link: "http://www.nethabercilik.com/haber/lancer-dizel-araclara-meydan-okudu.htm", date: "26 Ağustos 2010 / 08:15"},4: {id: "283066", title: "NİSSAN\'IN ASİ VE ŞEHİRLİ MODELİ QASHQAİ", short_content: "Nissan\'ın asi ve şehirli modeli, Qashqai binek konforunu yüksek araçta sunarken güçlü performansı ve sıra dışı tasarımı ile dikkat çekiyor. ", image: "259757", link: "http://www.nethabercilik.com/haber/nissanin-asi-ve-sehirli-modeli-qashqai.htm", date: "25 Ağustos 2010 / 08:00"},5: {id: "282897", title: "OTOMOTİVDE İSTİHDAM PATLAMASI YAŞANACAK", short_content: "Ernst & Young Türkiye\'nin araştırmasına göre, Türk otomotiv endüstrisinin 2012 yılına kadar 1.1 milyon adet üretime ulaşacak.", image: "259632", link: "http://www.nethabercilik.com/haber/otomotivde-istihdam-patlamasi-yasanacak.htm", date: "24 Ağustos 2010 / 18:20"},6: {id: "281577", title: "OTO SATIŞINDA MİLYONLAR LİGİNE ÇIKACAZ", short_content: "Otomotiv pazarı temmuz ayında tarihinin ikinci büyük satışına ulaştı. Geçen ay binek ve hafif satışları 61 bin 345 adede ulaştı.", image: "258599", link: "http://www.nethabercilik.com/haber/turkiye,-oto-satisinda-milyonlar-ligine-cikacak.htm", date: "23 Ağustos 2010 / 09:15"},7: {id: "280675", title: ""KİMSEYE VERECEK BİR KARIŞ TOPRAĞIMIZ YOK"", short_content: "Nilüfer, konserde şehitlerle ilgili \"Bizim kimseye verecek bir karış toprağımız yok! Onlar ecelleriyle ölmüyor, sadece bu vatan için hayatlarını kaybediyorlar.", image: "257890", link: "http://www.nethabercilik.com/haber/kimseye-verecek-bir-karis-topragimiz-yok.htm", date: "21 Ağustos 2010 / 00:30"},8: {id: "280229", title: "OTOMOTİV DEVLERİNİN TÜRKİYE SEVDASI", short_content: "Dünyanın önde gelen otomotiv sektörü araştırma kuruluşlarından J.D Power, Honda’nın 2012 yılından itibaren önemli SUV modeli CR-V’yi Türkiye’de üretmeye başlayacağını duyurdu.", image: "257534", link: "http://www.nethabercilik.com/haber/otomotiv-devlerinin-turkiye-sevdasi.htm", date: "20 Ağustos 2010 / 14:30"},9: {id: "277009", title: "İNCİROĞLU PLAZA’DA SEVİNDİREN TÖREN", short_content: "Peugeot Fırsatlar Konvoyu 2’ Nin Talihlisi Kayseri’den Çıktı.", image: "255073", link: "http://www.nethabercilik.com/haber/inciroglu-plazada-sevindiren-toren.htm", date: "16 Ağustos 2010 / 10:34"} };HD_forwClick();