var AreaChange="Değiştir";var CityChoose="Şehir Seçiniz";var BoroughChoose="İlçe Seçiniz";var AreaChoose="Semt Seçiniz";var AreaInfo="Bölgenizde bulunmuyorsak özür dileriz, en kısa zamanda Türkiye'ye ulaşacağız. ";var AreaAskHead="Bölgenize geldiğimiz zaman size haber verebilmemiz için alttaki formu doldurunuz.";var AreaAskEmail="Email:";var AreaAskCity="İl:";var AreaAskBro="İlçe:";var AreaAskArea="Semt:";var AreaAskSendButton="Gönder";var AreaAskSendMsg="Teşekkürler, kayıdnız alınmıştır, bölgenizde hizmet verdiğimiz zaman sizi bilgilendireceğiz.";var AreaAskSendMsg="Teşekkürler, kayıdnız alınmıştır, bölgenizde hizmet verdiğimiz zaman sizi bilgilendireceğiz.";var AreaAskCityTextErrM="*";var AreaAskBroTextErrM="*";var AreaAskAreaTextErrM="*";var AreaAskEmailTextErrM="*";var AreaAskEmailTextRErrM="Hatalı Email";var CityStuation=false;var BoroughStuation=true;var MIDCookieDay=30;var AreaCookieFDay=30;window.onbeforeunload=StatisticUserLeft;function ErrorStuation(FuncName,ErrName){EnterWebService.WriteErrorMessage2(FuncName,ErrName,ErrConf,GeneralError);};function ErrConf(result){};function StatConf(result){};function UserStConf(result){};function GeneralError(error){EnterWebService.WriteErrorMessage2("GeneralError2",error.get_message(),ErrConf,GeneralError);};function DataError(ErrMsj){EnterWebService.WriteErrorMessage2("DataError2",ErrMsj,ErrConf,GeneralError);};function CreateMainEn(){try{var LF=new Sys.StringBuilder();LF.append('<br/><br/><br/><table class="MainT" cellpadding="0" cellspacing="0">');LF.append('<tr>');LF.append('<td >');LF.append('<table class="TopT" cellpadding="0" cellspacing="0">');LF.append('<tr>');LF.append('<td >');LF.append('<img src="Pictures/Enterance/GirisTopSol.jpg" />');LF.append('</td>');LF.append('<td class="TopTTdM" style="background:url(\'Pictures/Enterance/GirisTopCon.jpg\'); " >');LF.append('Hızlı Bakkalınız');LF.append('</td>');LF.append('<td>');LF.append('<img src="Pictures/Enterance/GirisTopSag.jpg" />');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('<table class="LMT" cellpadding="0" cellspacing="0">');LF.append('<tr>');LF.append('<td >');LF.append('<img src="Pictures/Enterance/GirisLogo.jpg" />');LF.append('</td>');LF.append('<td class="LMTTdM">');LF.append('Ödemeyi teslim alırken kapıda yapın. <br/> 18:00 - 03:00 saatleri arasında siparis verebilirsiniz.<br/>Ortalama 10 ile 30 dakika içinde siparişiniz kapınızda! ');LF.append('<br/>');LF.append('<br/>');LF.append('<span class="LMTTdMS">');LF.append('18 yaşından küçüklere alkol ve sigara satışı yapılmamaktadır.');LF.append('</span>');LF.append('</td>');LF.append('<td >');LF.append('<img src="Pictures/Enterance/GirisLogoSag.jpg" />');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('<table class="MPicT" style="" cellpadding="0" cellspacing="0" >');LF.append('<tr>');LF.append('<td>');LF.append('<div id="ImageP1">');LF.append('</div>');LF.append('</td>');LF.append('<td>');LF.append('<div id="ImageP2">');LF.append('</div>');LF.append('</td>');LF.append('<td>');LF.append('<div id="ImageP3">');LF.append('</div>');LF.append('</td>');LF.append('<td>');LF.append('<div id="ImageP4">');LF.append('</div>');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('<table class="MDownMT" cellpadding="0" cellspacing="0">');LF.append('<tr>');LF.append('<td>');LF.append('<table class="MChoT" cellpadding="0" cellspacing="0">');LF.append('<tr>');LF.append('<td>');LF.append('<table class="MChoTInFT" cellpadding="0" cellspacing="0">');LF.append('<tr>');LF.append('<td>');LF.append('<img src="Pictures/Enterance/AltSolUst.jpg" />');LF.append('</td>');LF.append('<td class="MChoTInFTTdFM" >');LF.append('Lütfen bölge seçiniz');LF.append('</td>');LF.append('<td class="MChoTInFTTdSM" >');LF.append('<div id="CAreaDiv"></div>');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('</td>');LF.append('</tr>');LF.append('<tr>');LF.append('<td>');LF.append('<table class="MChoTInST" cellpadding="0" cellspacing="0">');LF.append('<tr>');LF.append('<td >');LF.append('<img src="Pictures/Enterance/AltSol.jpg" />');LF.append('</td>');LF.append('<td class="MChoTInSTTdInM" style="background:url(\'Pictures/Enterance/GirisAltCon.jpg\');cursor:pointer;" onclick="GetNoArea()" >');LF.append('Yukarıda bölgeniz bulunmuyorsa lütfen tıklayın');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('</td>');LF.append('<td>');LF.append('<img id="EnteranceB" src="Pictures/Enterance/GirisTus.jpg" onmouseover="OnEnterButton()" onmouseout="OutEnterButton()" onclick="OnEnterClick()" />');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('</td>');LF.append('</tr>');LF.append('</table>');LF.append('<div style="display:none;" >');LF.append('<img src="Pictures/Enterance/Resim1.jpg" />');LF.append('<img src="Pictures/Enterance/Resim2.jpg" />');LF.append('<img src="Pictures/Enterance/Resim3.jpg" />');LF.append('<img src="Pictures/Enterance/Resim4.jpg" />');LF.append('<img src="Pictures/Enterance/Resim5.jpg" />');LF.append('<img src="Pictures/Enterance/Resim6.jpg" />');LF.append('<img src="Pictures/Enterance/Resim7.jpg" />');LF.append('<img src="Pictures/Enterance/Resim8.jpg" />');LF.append('</div>');document.getElementById("EntranceDiv").innerHTML=LF.toString();ChangePicFunc();CreateAreaDropDown('CAreaDiv');PageSt();}catch(err){ErrorStuation("CreateMainEn2",err.description);}};var GlPicTimer;var LPic=0;var HwPic=8;function ChangePicFunc(){try{clearTimeout(GlPicTimer);if(LPic==0){document.getElementById("ImageP1").innerHTML='<img src="Pictures/Enterance/Resim1.jpg" />';document.getElementById("ImageP2").innerHTML='<img src="Pictures/Enterance/Resim2.jpg" />';document.getElementById("ImageP3").innerHTML='<img src="Pictures/Enterance/Resim3.jpg" />';document.getElementById("ImageP4").innerHTML='<img src="Pictures/Enterance/Resim4.jpg" />';LPic=5;}else{switch(LPic){case 1:document.getElementById("ImageP1").innerHTML='<img src="Pictures/Enterance/Resim1.jpg" />';break;case 2:document.getElementById("ImageP2").innerHTML='<img src="Pictures/Enterance/Resim2.jpg" />';break;case 3:document.getElementById("ImageP3").innerHTML='<img src="Pictures/Enterance/Resim3.jpg" />';break;case 4:document.getElementById("ImageP4").innerHTML='<img src="Pictures/Enterance/Resim4.jpg" />';break;case 5:document.getElementById("ImageP1").innerHTML='<img src="Pictures/Enterance/Resim5.jpg" />';break;case 6:document.getElementById("ImageP2").innerHTML='<img src="Pictures/Enterance/Resim6.jpg" />';break;case 7:document.getElementById("ImageP3").innerHTML='<img src="Pictures/Enterance/Resim7.jpg" />';break;case 8:document.getElementById("ImageP4").innerHTML='<img src="Pictures/Enterance/Resim8.jpg" />';break;}LPic++;if(LPic==(HwPic+1))LPic=1;}GlPicTimer=setTimeout('ChangePicFunc()',2000);}catch(err){ErrorStuation("ChangePicFunc2",err.description);}};function OnEnterButton(){try{document.getElementById("EnteranceB").src="Pictures/Enterance/GirisTusBas.jpg";}catch(err){ErrorStuation("OnEnterButton2",err.description);}};function OutEnterButton(){try{document.getElementById("EnteranceB").src="Pictures/Enterance/GirisTus.jpg";}catch(err){ErrorStuation("OutEnterButton2",err.description);}};function OnEnterClick(){try{if(AreaDContol()){var AreaCookieFDay=30;var AreaId=document.getElementById("AreaSelectD").value;var exdate=new Date();exdate.setDate(exdate.getDate()+AreaCookieFDay);document.cookie="AreaId2"+"="+AreaId+((AreaCookieFDay==null)?"":"; expires="+exdate.toGMTString());window.location.href="http://www.yettik.com";}}catch(err){ErrorStuation("OnEnterClick2",err.description);}};var FrontActive=false;var GlFtop;var GlFleft;var GlFwid;var GlFhei;function Front(Inn,FHead,top,left,wid,hei,Closeable){try{FrontActive=true;GlKeyPrEvent=0;GlFtop=top;GlFleft=left;GlFwid=wid;GlFhei=hei;var Wr=new Sys.StringBuilder();Wr.append('<table id="Insidet"  class="insid" cellpadding="0" cellspacing="0" >');Wr.append('<tr>');Wr.append('<td>');Wr.append('<table id="InsideHeadT" class="FrontTopT" cellpadding="0" cellspacing="0"  >');Wr.append('<tr>');Wr.append('<td class="FrontTopTTdF" >');Wr.append('<IMG SRC="Pictures/Design/YeniLeft.jpg" />');Wr.append('</td>');Wr.append('<td  class="FrontTopTTdS"  style="background:url(\'Pictures/Design/YeniCon.jpg\');" >');Wr.append('<div  class="FrontTopTTdSIn" >'+FHead+'</div>');Wr.append('</td>');Wr.append('<td class="FrontTopTTdT" >');if(Closeable==true)Wr.append('<a id="CloseT" style="cursor:pointer;" onclick="CloseFront()" ><IMG SRC="Pictures/Design/YeniRight.jpg" /></a>');else Wr.append('<IMG SRC="Pictures/Design/YeniRightUn.jpg" />');Wr.append('</td>');Wr.append('</tr>');Wr.append('</table>');Wr.append('</td>');Wr.append('</tr>');Wr.append('<tr>');Wr.append('<td>');Wr.append('<table class="FronInT" cellpadding="0" cellspacing="0"  >');Wr.append('<tr>');Wr.append('<td class="FronInTTdF" style="background:url(\'Pictures/Design/YeniLeftLine.jpg\');" >');Wr.append('&nbsp;');Wr.append('</td>');Wr.append('<td>');Wr.append('<div id="InsD" class="InsDiv">'+Inn+'</div>');Wr.append('</td>');Wr.append('<td  class="FronInTTdT" style="background:url(\'Pictures/Design/YeniRightLine.jpg\');" >');Wr.append('<IMG SRC="Pictures/Design/YeniRightLine.jpg" />');Wr.append('</td>');Wr.append('</tr>');Wr.append('</table>');Wr.append('</td>');Wr.append('</tr>');Wr.append('<tr>');Wr.append('<td>');Wr.append('<table class="FrontBottomT" cellpadding="0" cellspacing="0"  >');Wr.append('<tr>');Wr.append('<td  class="FrontBottomTTdF" >');Wr.append('<IMG SRC="Pictures/Design/YeniDownLeft.jpg" />');Wr.append('</td>');Wr.append('<td class="FrontBottomTTdS" style="background:url(\'Pictures/Design/YeniConAlt.jpg\'); " >');Wr.append('&nbsp;');Wr.append('</td>');Wr.append('<td class="FrontBottomTTdT" >');Wr.append('<IMG SRC="Pictures/Design/YeniDownRight.jpg" />');Wr.append('</td>');Wr.append('</tr>');Wr.append('</table>');Wr.append('</td>');Wr.append('</tr>');Wr.append('</table>');var DClientHeight=document.documentElement.clientHeight;var DClientWidth=document.documentElement.clientWidth;document.getElementById("ShowDiv").style.display="block";element=document.getElementById("ShowDiv");element.innerHTML=Wr.toString();element.className='Front';element.setAttribute("class","Front");element.style.height=DClientHeight;element.style.width=DClientWidth;element=document.getElementById("Insidet");if((top==0)&&(left==0)){top=((DClientHeight-hei)/2)-150;left=(DClientWidth-wid)/2;if(top<0)top=0;if(left<0)left=0;}top=parseInt(top)+"px";left=parseInt(left)+"px";wid=wid+"px";hei=hei+"px";element.style.top=top;element.style.left=left;element.style.width=wid;element.style.height=hei;element=document.getElementById("InsideHeadT");element.style.width="100%";element=document.getElementById("InsD");element.style.width=wid;element.style.height=hei;document.getElementById("EntranceDiv").style.display="none";}catch(err){ErrorStuation("Front2",err.description);}};function FrontResize(){try{if(FrontActive){var DClientHeight=document.documentElement.clientHeight;var DClientWidth=document.documentElement.clientWidth;var top=GlFtop;var left=GlFleft;if((GlFtop==0)&&(GlFleft==0)){top=((DClientHeight-GlFhei)/2)-150;left=(DClientWidth-GlFwid)/2;if(top<0)top=0;if(left<0)left=0;}top=parseInt(top)+"px";left=parseInt(left)+"px";element=document.getElementById("Insidet");element.style.top=top;element.style.left=left;element=document.getElementById("ShowDiv");element.style.height=DClientHeight;element.style.width=DClientWidth;}}catch(err){ErrorStuation("FrontResize2",err.description);}};function GetNoArea(){try{var FHtml=new Sys.StringBuilder();FHtml.append('<table>');FHtml.append('<tr>');FHtml.append('<td >');FHtml.append('<span class="ChArInfo1">'+AreaInfo+'</span>');FHtml.append('<span class="ChArInfo2" >'+AreaAskHead+'</span>');FHtml.append('</td>');FHtml.append('</tr>');FHtml.append('</table>');FHtml.append('<table>');FHtml.append('<tr>');FHtml.append('<td>');FHtml.append('<span class="ChNoAH" >'+AreaAskCity+'</span>');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<input id="AreaAskCityText" type="text"  maxlength="50"  />');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<div class="ChNoAHErr" id="AreaAskCityTextErrDiv"></div>');FHtml.append('</td>');FHtml.append('<tr>');FHtml.append('</tr>');FHtml.append('<td>');FHtml.append('<span class="ChNoAH" >'+AreaAskBro+'</span>');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<input id="AreaAskBroText" type="text"  maxlength="50"  />');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<div class="ChNoAHErr" id="AreaAskBroTextErrDiv"></div>');FHtml.append('</td>');FHtml.append('<tr>');FHtml.append('</tr>');FHtml.append('<td>');FHtml.append('<span class="ChNoAH" >'+AreaAskArea+'</span>');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<input id="AreaAskAreaText" type="text"  maxlength="50"  />');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<div class="ChNoAHErr" id="AreaAskAreaTextErrDiv"></div>');FHtml.append('</td>');FHtml.append('<tr>');FHtml.append('</tr>');FHtml.append('<td>');FHtml.append('<span class="ChNoAH" >'+AreaAskEmail+'</span>');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<input id="AreaAskEmailText" type="text" maxlength="60"   />');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('<div class="ChNoAHErr" id="AreaAskEmailTextErrDiv"></div>');FHtml.append('</td>');FHtml.append('<tr>');FHtml.append('</tr>');FHtml.append('<td>');FHtml.append('</td>');FHtml.append('<td class="ChNoAHB" style="text-align=right;">');FHtml.append('<input  type="button" onclick="SendAreaEmailFrom()" value="'+AreaAskSendButton+'"/>');FHtml.append('</td>');FHtml.append('<td>');FHtml.append('</td>');FHtml.append('</tr>');FHtml.append('</table>');FHtml.append('<div class="ChNoAHErr" id="AreaAskCFText"></div>');Front(FHtml.toString(),"Bölge Değiştirme",0,0,450,300,true);EnterWebService.SiteStatistic2("ChooseArea2",StatConf,GeneralError);}catch(err){ErrorStuation("GetNoArea",err.description);}};function SendAreaEmailFrom(){try{if(CheckSendAreaEmailFrom()){var City=document.getElementById("AreaAskCityText").value;var Bro=document.getElementById("AreaAskBroText").value;var Area=document.getElementById("AreaAskAreaText").value;var Email=document.getElementById("AreaAskEmailText").value;EnterWebService.AddUserAreaWant2(Email,City,Bro,Area,1,SendAreaEmailFromCF,GeneralError);}}catch(err){ErrorStuation("SendAreaEmailFrom2",err.description);}};function CheckSendAreaEmailFrom(){try{var LStuation=true;var EmailReqExp=/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*\.(\w{2}|(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum|mobi))$/;var City=document.getElementById("AreaAskCityText").value;var Bro=document.getElementById("AreaAskBroText").value;var Area=document.getElementById("AreaAskAreaText").value;var Email=document.getElementById("AreaAskEmailText").value;if(City==""){document.getElementById("AreaAskCityTextErrDiv").innerHTML=AreaAskCityTextErrM;LStuation=false;}else document.getElementById("AreaAskCityTextErrDiv").innerHTML="";if(Bro==""){document.getElementById("AreaAskBroTextErrDiv").innerHTML=AreaAskBroTextErrM;LStuation=false;}else document.getElementById("AreaAskBroTextErrDiv").innerHTML="";if(Area==""){document.getElementById("AreaAskAreaTextErrDiv").innerHTML=AreaAskAreaTextErrM;LStuation=false;}else document.getElementById("AreaAskAreaTextErrDiv").innerHTML="";if(Email==""){document.getElementById("AreaAskEmailTextErrDiv").innerHTML=AreaAskEmailTextErrM;LStuation=false;}else if(Email.search(EmailReqExp)<0){document.getElementById("AreaAskEmailTextErrDiv").innerHTML=AreaAskEmailTextRErrM;LStuation=false;}else document.getElementById("AreaAskEmailTextErrDiv").innerHTML="";return LStuation;}catch(err){ErrorStuation("CheckSendAreaEmailFrom2",err.description);}};function SendAreaEmailFromCF(result){try{if(result=true)document.getElementById("AreaAskCFText").innerHTML=AreaAskSendMsg;else DataError("SendAreaEmailFromCF");}catch(err){ErrorStuation("SendAreaEmailFromCF2",err.description);}};function CloseFront(){try{FrontActive=false;EnterWebService.SiteStatistic2("CloseFront2",StatConf,GeneralError);NormalLain();}catch(err){ErrorStuation("CloseFront2",err.description);}};function NormalLain(){try{document.getElementById("ShowDiv").innerHTML="";document.getElementById("ShowDiv").style.display="none";document.getElementById("EntranceDiv").style.display="block";}catch(err){ErrorStuation("NormalLain2",err.description);}};function PageSt(){try{MId=readCookie('MId');if(MId!=null&&MId!=""){var exdate=new Date();exdate.setDate(exdate.getDate()+MIDCookieDay);document.cookie="MId"+"="+MId+((MIDCookieDay==null)?"":"; expires="+exdate.toGMTString());EnterWebService.PageStartO(MId,PageStOCf,GeneralError);}else EnterWebService.PageStartN(PageStartNCF,GeneralError);}catch(err){ErrorStuation("",err.description);}};function PageStOCf(result){try{UserStataistic();}catch(err){ErrorStuation("PageStOCf",err.description);}};function PageStartNCF(result){try{UserStataistic();var exdate=new Date();exdate.setDate(exdate.getDate()+MIDCookieDay);document.cookie="MId"+"="+result+((MIDCookieDay==null)?"":"; expires="+exdate.toGMTString());}catch(err){ErrorStuation("PageStartNCFEnt",err.description);}};function UserStataistic(){try{if(navigator){var x=navigator;if(x.appCodeName)var CodeName=x.appCodeName;else var CodeName="NULL";if(x.appMinorVersion)var MinorVersion=x.appMinorVersion;else var MinorVersion="NULL";if(x.appName)var Name=x.appName;else var Name="NULL";if(x.appVersion)var Version=x.appVersion;else var Version="NULL";if(x.cookieEnabled)var CookieEnabled=x.cookieEnabled;else var CookieEnabled="NULL";if(x.cpuClass)var CPUClass=x.cpuClass;else var CPUClass="NULL";if(x.onLine)var OnLine=x.onLine;else var OnLine="NULL";if(x.platform)var Platform=x.platform;else var Platform="NULL";if(x.userAgent)var UA=x.userAgent;else var UA="NULL";if(x.browserLanguage)var BrowserLanguage=x.browserLanguage;else var BrowserLanguage="NULL";if(x.systemLanguage)var SystemLanguage=x.systemLanguage;else var SystemLanguage="NULL";if(x.userLanguage)var UserLanguage=x.userLanguage;else var UserLanguage="NULL";if(document.referrer)var DReferrer=document.referrer;else var DReferrer="NULL";if(document.URL)var DUrl=document.URL;else var DUrl="NULL";if(screen.width)var ScreenW=screen.width;else var ScreenW="NULL";if(screen.height)var ScreenH=screen.height;else var ScreenH="NULL";if(document.documentElement.clientHeight)var DClientHeight=document.documentElement.clientHeight;else var DClientHeight="NULL";if(document.documentElement.clientWidth)var DClientWidth=document.documentElement.clientWidth;else var DClientWidth="NULL";EnterWebService.GetUserEntryDetails(CodeName,MinorVersion,Name,Version,CookieEnabled,CPUClass,OnLine,Platform,UA,BrowserLanguage,SystemLanguage,UserLanguage,DReferrer,DUrl,ScreenW,ScreenH,DClientHeight,DClientWidth,UserStConf,GeneralError);}else EnterWebService.GetUserEntryDetails("00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00","00",UserStConf,GeneralError);}catch(err){ErrorStuation("UserStataisticEnt",err.description);}};function StatisticUserLeft(){try{EnterWebService.RStatisticLeft(UserStConf,GeneralError);}catch(err){ErrorStuation("StatisticUserLeftEnt",err.description);}};function readCookie(name){try{if(document.cookie.length>0){var start=document.cookie.indexOf(name+"=");if(start!=-1){start=start+name.length+1;var end=document.cookie.indexOf(";",start);if(end==-1)end=document.cookie.length;return unescape(document.cookie.substring(start,end));}}return"";}catch(err){ErrorStuation("readCookie",err.description);}};if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
