CINXE.COM
Islamic Calendar
<!DOCTYPE html> <html lang="en"> <head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("http://makkahcalendar.org/","20181231113207","https://web.archive.org/","web","/_static/", "1546255927"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="keywords" content="Makkah Calendar, Hijri Calendar,Islamic Calendar, Makkah Hejirian Calendar,Islamic year,Moon sighting,Ramadan dates,Starting Ramadan,Starting Ramazan,Ending Ramadan"/> <meta name="description" content="The Makkah Islamic Calendar website contains scientifically calculated Islamic Calendar based on modern astronomical methods."/> <meta name="robots" content="noodp,noydir"/> <link rel="canonical" href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/index.php"/> <link rel="shortcut icon" href="/web/20181231113207im_/http://makkahcalendar.org/newimages/favicon.ico"> <title>Islamic Calendar</title> <link href="/web/20181231113207cs_/http://makkahcalendar.org/css/bootstrap.css" rel="stylesheet"> <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]--> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> <link href="/web/20181231113207cs_/http://makkahcalendar.org/css/carousel.css" rel="stylesheet"> <link href="/web/20181231113207cs_/http://makkahcalendar.org/css/custom.css" rel="stylesheet"> <link href="/web/20181231113207cs_/http://makkahcalendar.org/css/superslides.css" rel="stylesheet"> <link rel="shortcut icon" href="/web/20181231113207im_/http://makkahcalendar.org/images/favicon.ico"/> <meta property="fb:admins" content="100003273008141"/> <meta name="google-site-verification" content="Yq6gsFxzRuWfTaNHnwLgoCKq7dnPwFCkAtxs29VII-8"/> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-20326467-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://web.archive.org/web/20181231113207/https://ssl' : 'https://web.archive.org/web/20181231113207/http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//web.archive.org/web/20181231113207/http://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <style> .sourceLnnk{ position:absolute;bottom:0;color:#FFF;right:90px} .sourceLnnk a{ color:#fff;} </style> </head> <body> <link rel="stylesheet" href="https://web.archive.org/web/20181231113207cs_/https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <script src="https://web.archive.org/web/20181231113207js_/https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <style> #selected-menu .dropdown-menu li a{border:none;} /*#selected-menu a{color: #000;border-top: solid 2px #3ab8ee;} .top_section form .hs-input { background:url("https://web.archive.org/web/20181231113207im_/https://www.google.com/cse/static/en/google_custom_search_watermark.gif") 0% 50% no-repeat rgb(255, 255, 255); }*/ </style> <header id="top_cookie"> <div class="top_section"> <div class="container"> <div class="row"> <div class="col-lg-12"> <ul> <li class="form"> <div class="input"> <form id="searchbox_006143853963929909433:oe7h3ssrq3y" action="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/makkah-search/"> <input value="006143853963929909433:oe7h3ssrq3y" name="cx" type="hidden"/> <input value="FORID:11" name="cof" type="hidden"/> <input class="hs-input" id="q" name="q" size="75" type="text" value="" onfocus="this.value=''" placeholder="Site search"/> <input class="hs-button primary" type="image" name="sa" value="" src="https://web.archive.org/web/20181231113207im_/http://www.makkahcalendar.org/newimages/search-icon-new.png" alt="search"/> </form> </div> </li> <li class="fb_icon"><a href="https://web.archive.org/web/20181231113207/http://www.facebook.com/pages/Makkah-Calendar/244986268901492">Facebook</a></li> <li class="twitter_icon"><a href="https://web.archive.org/web/20181231113207/http://twitter.com/#!/MakkahCalendar">Twitter</a></li> <li class="language"><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/fr/islamiccalendar.php"><img src="https://web.archive.org/web/20181231113207im_/http://www.makkahcalendar.org/newimages/french_flag_icon.png" alt="french flag"> Français</a></li> <li class="language" style="font-family:'Times New Roman', Times, serif;font-size:16px;"><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/ar/islamiccalendar.php"><img src="https://web.archive.org/web/20181231113207im_/http://www.makkahcalendar.org/newimages/saudiArabia_icon.jpg" alt="saudiarabia"> عربي</a></li> </ul> </div> </div> </div> </div> <div class="navbar-wrapper"> <div class="container"> <div class="navbar navbar-inverse navbar-static-top" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/index.php"><img src="https://web.archive.org/web/20181231113207im_/http://www.makkahcalendar.org/newimages/logo-en.png" alt="logo"></a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li id="selected-menu"><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/index.php">Home</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Calendar<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/islamiccalendar.php">Calendar Introduction</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/country-specific-islamic-calendar.php">Country Specific Calendar Introduction</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/hijri-calendar-1440/">Islamic Calendar 1440</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/islamic-calendar-2019/">Islamic Calendar 2019</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Prayer Times<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/prayer-times-details-1.php">Prayer Times Introduction</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/prayer-times.php">Prayer Times </a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/prayer-times-monthly.php">Prayer Times - Monthwise</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/prayer-times-yearly.php">Prayer Times - Yearwise</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Crescent <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/visibilityCurves.php">Visibility Predictions</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/photoGallery.php">Photo Gallery</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Knowledge Base <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/articles.php">Articles</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Islam<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/islamic-cultural-videos.php">Cultural Videos</a></li> </ul> </li> </li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/about.php">About</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/contact.php">Contact</a></li> <li><a href="https://web.archive.org/web/20181231113207/http://www.makkahcalendar.org/en/eid-al-adha-2018/">Eid al-Adha 2018</a></li> <style> .navbar .nav > li > a{ margin:0 15px; } </style> </ul> </li> </ul> </div> </div> </div> </div> </div> </header> <script> jQuery(function(){ var $ = jQuery; var url = 'https://web.archive.org/web/20181231113207/http://google.com/search?q=site:' + location.protocol + '//' + location.hostname + ' '; var $searchModule = $('.hs-search-module'); var $input = $searchModule.find('input'); var $button = $searchModule.find('.hs-button.primary'); if (false) { $input.val(decodeURIComponent(location.pathname.split('/').join(' ').split('.').join(' ').split('-').join(' ').split('_').join(''))); } $button.click(function(){ location.href = url + $input.val(); }); $input.keypress(function(e){ if (e.keyCode !== 13) return; e.preventDefault(); $button.click(); }); }); </script> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li data-target="#myCarousel" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="item active"> <a href="./en/hijri-calendar-1440/"> <img src="/web/20181231113207im_/http://makkahcalendar.org/newimages/islamic-calendar-2019-1440-eid-fitr.jpg" alt="Hijri Calendar 1440 Download"> </a> </div> <div class="item "> <img src="/web/20181231113207im_/http://makkahcalendar.org/newimages/makkah_now_and_then.jpg" alt="Makkah in 1900s and Now"> <div class="carousel-content"> <div class="container" style="position:relative"> <div class="carousel-caption"> <h1>Islamic Calendar for all countries</h1><br> <h4>Introduction to the Islamic Calendar for all the countries in the world. </h4> <p><a class="btn btn-lg btn-primary" href="./en/islamiccalendar.php" role="button">Read More</a></p> </div> </div> </div> </div> <div class="item"> <img src="/web/20181231113207im_/http://makkahcalendar.org/newimages/slider5.jpg" alt="First slide"> <div class="carousel-content"> <div class="container" style="position:relative"> <div class="carousel-caption"> <h1>Prayer Times</h1><br> <h4>Very accurate prayer times for all countries around the world <br/>including countries near the North Pole </h4> <p><a class="btn btn-lg btn-primary" href="./en/prayer-times.php" role="button">Get Prayer Times</a></p> </div> </div> </div> </div> </div> <a class="left carousel-control" href="#myCarousel" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"><img src="/web/20181231113207im_/http://makkahcalendar.org/newimages/arrow_prev_slider.png" alt="preview slider"></span></a> <a class="right carousel-control" href="#myCarousel" data-slide="next"><span class="glyphicon glyphicon-chevron-right"><img src="/web/20181231113207im_/http://makkahcalendar.org/newimages/arrow_nex_slider.png" alt="next slider"></span></a> </div> <div class="announcement_section"> <div class="container"> <div class="row"> <div class="col-xs-2"> <h3>Announcement</h3> </div> <div class="col-xs-10"> <div class="wide-container"> <div id="slides"> <ul class="slides-container"> </ul> <nav class="slides-navigation"> <a href="#" class="next">Next</a> <a href="#" class="prev">Previous</a> </nav> </div> </div> </div> </div> </div> </div> <div class="middle_section"> <div class="container"> <div class="row"> <div class="col-sm-9 col-md-9 col-lg-9"> <div class="row"> <div class="col-lg-12 about_section"> <div class="head clearfix" style="margin-bottom:10px;"> <h1 class="heading"><span class="blue_text">About</span> Makkah Calendar</h1> <div class="heading_icon"><img src="/web/20181231113207im_/http://makkahcalendar.org/newimages/home_icon.png" alt="home icon"></div> </div> <br> <p class="pera"> <img class="featured_image img-responsive floatL" src="/web/20181231113207im_/http://makkahcalendar.org/newimages/about_img.jpg" alt="about image"> This website wants to shed a new light on the Islamic Calendar. Thanks to modern astronomical methods, it is quite possible to establish, decades in advance, a projected Islamic calendar specific for each country of the world. </p> <p> Amongst all the calendars in the world, that of Makkah is preeminent because of its impact on the life of millions of pilgrims around the world. In fact, the date of Hajj, or the great pilgrimage, depends on an accurate calendar for this holy city. Thus first of all, we set ourselves the task of developing an exact calendar for Makkah. </p> <p> Our work takes into consideration the necessity of observing the crescent after sunset in order to consecrate the beginning of the new month. The concept of a “zone of extended visibility” is introduced as defined by the time interval between sunset and the prayer of <b>Fajr</b> in Makkah at each birth of the new moon. This time interval allows us to observe the sky to the west of Makkah. Until when? Until the time of the morning prayer, or <b>Fajr</b>, in Makkah. This concept of “extended visibility” is based on the use of visibility curves that are very reliable because they allow us to predict the visibility of the young crescent with a high degree of precision. We also publish photographs of the early crescent in our Photo Gallery section. They validate the accuracy of our calculations and attest in an irrefutable manner the physical presence of the crescent in the sky. </p> <p> The method that we have perfected for Makkah in the course of the past years can be easily generalised for any location on earth: the new month will start next day in this location if the crescent can be observed there at sunset, or if it can be observed to the west before the prayer of <b>Fajr</b> in the location. This method allows us to fix the beginning of the new month for any country in the world for all the twelve months of the Hegirian year. </p> <p> From now onwards, our site presents, month after month, not only the projected visibility curve for the crescent, but also a calendar specific to each country. Such a calendar is not an artifice for unifying the <a href="./en/islamic-calendar-2018/">Islamic calendar</a> through some arbitrary decision. Indeed no! In fact we are presenting a calendar both in strict conformity with the demands of the Sharia and scientifically exact. Our fervent desire in this undertaking is to submit ourselves scrupulously to the will of the Creator whilst, of course, making full use of scientific enlightenment. </p> <p> We request you to click on <a href="./en/islamiccalendar.php">Islamic Calendar Introduction</a> in order to read the details concerning the method we use. </p> <hr> </div> </div> <div class="row download_section"> <div class="col-lg-12"> <div class="head clearfix"> <h2 class="heading">Downloads and links</h2> <div class="heading_icon"><img src="/web/20181231113207im_/http://makkahcalendar.org/newimages/download_icon.png" alt="download icon"></div> </div> </div> <div class="col-sm-4 col-md-4 col-lg-4"> <div class="boxes"> <img class="featured_image img-responsive" src="/web/20181231113207im_/http://makkahcalendar.org/newimages/download-islamic-calendar-year-2018-home.jpg" alt="Download Makkah Islamic Calendar"> <h4><a href="en/islamic-calendar-2018/">Monthly calendar</a></h4> <p>Printable calendar month by month. Important festivals have been marked.</p> <div class="more"><a href="en/islamic-calendar-2018/">More</a></div> </div> </div> <div class="col-sm-4 col-md-4 col-lg-4"> <div class="boxes"> <img class="featured_image img-responsive" src="/web/20181231113207im_/http://makkahcalendar.org/newimages/download-islamic-calendar-2018-home.jpg" alt="Download Hijri Calendar"> <h4><a href="en/hijri-calendar-1439/">Annual calendar</a></h4> <p>Printable one page calendar which shows start date of each islamic month</p> <div class="more"><a href="en/hijri-calendar-1439/">More</a></div> </div> </div> <div class="col-sm-4 col-md-4 col-lg-4 col-lg-offset-0"> <div class="boxes"> <img class="featured_image img-responsive" src="/web/20181231113207im_/http://makkahcalendar.org/newimages/download_img3.jpg" alt="Download Image"> <h4><a href="en/photoGallery.php">Photo Gallery</a></h4> <p>Beautiful photographs of crescent taken by our astronomer friends around the world</p> <div class="more"><a href="en/photoGallery.php">More</a></div> </div> </div> <div class="col-sm-4 col-md-4 col-lg-4"> <div class="boxes"> <img class="featured_image img-responsive" src="/web/20181231113207im_/http://makkahcalendar.org/newimages/moonsighting.jpg" alt="Moonsighting"> <h4><a href="https://web.archive.org/web/20181231113207/http://www.moonsighting.com/">Moonsighting</a></h4> <p>First Moonsighting, Prayer Times, Qibla Direction website on the internet</p> <div class="more"><a href="https://web.archive.org/web/20181231113207/http://www.moonsighting.com/">More</a></div> </div> </div> <div class="col-sm-4 col-md-4 col-lg-4"> <div class="boxes"> <img class="featured_image img-responsive" src="/web/20181231113207im_/http://makkahcalendar.org/newimages/download_img5.jpg" alt="Download Image5"> <h4><a href="en/visibilityCurves.php">Crescent Visibility</a></h4> <p>Visibility curves which predicts the new moon visibility for various parts of the world</p> <div class="more"><a href="en/visibilityCurves.php">More</a></div> </div> </div> <div class="col-sm-4 col-md-4 col-lg-4 col-lg-offset-0"> <div class="boxes"> <img class="featured_image img-responsive" src="/web/20181231113207im_/http://makkahcalendar.org/newimages/download_img6.jpg" alt="Download Image6"> <h4><a href="en/articles.php">Articles</a></h4> <p>Various articles related either to the concept of the Islamic Calendar or to philosophical and religious issues.</p> <div class="more"><a href="en/articles.php">More</a></div> </div> </div> </div> </div> <div class="col-sm-3 col-md-3 col-lg-3 col-lg-offset-0"> <style> .pac-container { z-index: 1051 !important; }` </style> <script type="text/javascript" src="https://web.archive.org/web/20181231113207js_/https://maps.googleapis.com/maps/api/js?key=AIzaSyBpHeIZpok7lgDMTFwSwWe40_jC-kNuObs&sensor=false&libraries=places"> </script> <script type="text/javascript" src="https://web.archive.org/web/20181231113207js_/http://www.makkahcalendar.org/js/json_parse.js"></script> <link rel="stylesheet" href="https://web.archive.org/web/20181231113207cs_/https://www.google.com/cse/style/look/default.css" type="text/css"> <script type="text/javascript"> var map; var marker; var autocomplete; var loc; var latitude=0; var longitude=0; var zoomLevel=1; loc=getCookie("loc-en"); if (loc == null || loc == "null" || loc == "" || getCookie("countryCode-en")== null || getCookie("countryCode-en")== "null" || getCookie("countryCode-en")== "") { setCookie("loc-en","Makkah, Aljazeera Alarabyya"); setCookie("latitude-en","21.4167"); setCookie("longitude-en","39.8167"); setCookie("timezondId-en","Asia/Riyadh"); setCookie("method-en","0"); setCookie("methodName-en","Hanafi (Shafaq General)"); setCookie("countryName-en","Aljazeera Alarabyya"); setCookie("cityName-en","Makkah"); setCookie("locTemp-en","Makkah, Aljazeera Alarabyya"); setCookie("latTemp-en","21.4167"); setCookie("longTemp-en","39.8167"); setCookie("countryCode-en","AU"); location.reload(); } function initialize() { if(!cookiesEnabled()) { alert("This webpage Javascript & Cookies enabled to work properly. Please enable Cookies and Javascript."); } else { loc=getCookie("loc-en"); document.getElementById("select-country").selectedIndex = "0"; document.getElementById('select-country-label').style.display = 'none'; document.getElementById('selected-city-label').style.display = 'none'; document.getElementById('select-country').style.display = 'none'; document.getElementById('autocomplete').style.display = 'inline-block'; document.getElementById('autocomplete').value=(getCookie("cityName-en") + ", " + getCookie("countryName-en")); document.getElementById("method").selectedIndex = getCookie("method-en"); document.getElementById('prayer-time').style.display = 'none'; latitude = getCookie("latitude-en"); longitude = getCookie("longitude-en"); // Initialize autocomplete. var inputField = document.getElementById('autocomplete'); autocomplete = new google.maps.places.Autocomplete(inputField); var desired_types = ['(cities)']; autocomplete.setTypes(desired_types); google.maps.event.addListener(autocomplete, 'place_changed', function() { var place = autocomplete.getPlace(); setCookie("locTemp-en",document.getElementById('autocomplete').value); //alert("msg"); if (place.geometry) { var location = place.geometry.location; setCookie("latTemp-en",location.lat()); setCookie("longTemp-en",location.lng());} hidecountrylist(); }); } } function onMethodParamChange(){ var loca = document.getElementById('autocomplete').value; if (loca == "null" || loca == "") { return; } hidecountrylist(); } function onShowPrayerTimesClick() { if( getCookie("locTemp-en") != getCookie("loc-en")) { setCookie("loc-en",getCookie("locTemp-en")); setCookie("latitude-en",getCookie("latTemp-en")); setCookie("longitude-en",getCookie("longTemp-en")); var timezondId = getTimeZoneId(getCookie("latTemp-en"),getCookie("longTemp-en")); setCookie("timezondId-en",timezondId[0]); setCookie("countryCode-en",timezondId[1]); //alert(timezondId[1]); } var countryloc = getCookie("loc-en"); countryloc= countryloc.split(","); var country = countryloc[(countryloc.length)-1]; var cityname =countryloc[0]; var contrysel = document.getElementById("select-country"); var countryvalue = contrysel.options[contrysel.selectedIndex].value; if(countryvalue !="") { setCookie("countryName-en",countryvalue); } else {setCookie("countryName-en",country);} if(country ==" Saudi Arabia") { setCookie("countryName-en","Aljazeera Alarabyya"); } else if(getCookie("countryName-en")==" Israel") { setCookie("countryName-en","Palestine"); } setCookie("cityName-en",cityname); var sel = document.getElementById("method"); var value = sel.options[sel.selectedIndex].value; setCookie("method-en",value); var data = sel.options[sel.selectedIndex].text; setCookie("methodName-en",data); location.reload(); } function hidecountrylist() { if((getCookie("locTemp-en") != getCookie("loc-en")) && (getCookie("latitude-en") == getCookie("latTemp-en"))) { return false; } else{ document.getElementById('autocomplete').style.display = 'inline-block'; document.getElementById('selected-city-label').style.display = 'none'; document.getElementById('selected-city-label').innerHTML =getCookie("locTemp-en"); var countryloc = getCookie("locTemp-en"); countryloc= countryloc.split(","); var country = countryloc[(countryloc.length)-1]; var cityname =countryloc[0]; //alert(cityname + country); if(country == cityname){ document.getElementById('select-country').style.display = 'inline-block'; document.getElementById('select-country-label').style.display = 'inline-block'; var contrysel = document.getElementById("select-country"); contrysel.focus(); var countryvalue = contrysel.options[contrysel.selectedIndex].value; if(countryvalue != "") document.getElementById('prayer-time').style.display = 'inline-block'; else document.getElementById('prayer-time').style.display = 'none'; } else{ document.getElementById('select-country-label').style.display = 'none'; document.getElementById('select-country').style.display = 'none'; document.getElementById('prayer-time').style.display = 'inline-block'; } } } function getTimeZoneId(lat, long) { var xmlHttp = null; xmlHttp = new XMLHttpRequest(); xmlHttp.open( "GET", "https://web.archive.org/web/20181231113207/http://api.geonames.org/timezoneJSON?lat=" + lat +"&lng=" + long + "&username=makkahcalendar", false ); xmlHttp.send( null ); var obj = json_parse(xmlHttp.responseText); return [(obj.timezoneId),(obj.countryCode)]; } function onCancelClick(){ setCookie("locTemp-en",getCookie("loc-en")); setCookie("latTemp-en",getCookie("latitude-en")); setCookie("longTemp-en",getCookie("longitude-en")); } function cookiesEnabled() { var r = false; setCookie("check", "check"); if (getCookie("check") != null) { r = true; } return r; } function getCookie(c_name) { var results = document.cookie.match ('(^|;) ?' + c_name + '=([^;]*)(;|$)'); return results ? decodeURIComponent(results[2]) : null; } function setCookie(c_name,value) { var exdate=new Date(); exdate.setDate(exdate.getDate() + 7300); var c_value=encodeURIComponent(value) + "; expires="+ exdate.toUTCString(); document.cookie=c_name + "=" + c_value + "; path =/"; } //--> </script> <!-- FILE ARCHIVED ON 11:32:07 Dec 31, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 18:20:20 Nov 28, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.737 exclusion.robots: 0.033 exclusion.robots.policy: 0.019 esindex: 0.014 cdx.remote: 7.984 LoadShardBlock: 233.907 (3) PetaboxLoader3.datanode: 147.654 (4) PetaboxLoader3.resolve: 188.082 (3) load_resource: 141.393 -->