var a=void 0,b,g,i,j,k,l,n,o;$(function(){p()});
function p(){if(!(window.document.body.style.borderRadius!=a&&"onhashchange"in window))window.location="/oldindex.html";window.onhashchange=function(){q()};window.onpopstate=function(c){o=c.state!=null?c.state.a:0};window.onscroll=function(){history.replaceState({a:window.pageYOffset},window.title)};o=-1;k="/d/";l="x/";j="";var c=document.getElementById("mainstuff").innerHTML;document.getElementById("indexbody").innerHTML='<div id="mainmenu"></div><div id="content"></div><div id="butler"></div>';$("#mainmenu").addClass("roundcorners");
$("#mainmenu").addClass("boxshade_b");$("#content").hide();$("#content").addClass("roundcorners");$("#content").addClass("boxshade_a");r(c);window.location.hash?q():window.location.hash=k+"Home.html";s()}function r(c){$("#mainmenu").html(c);$("#mainmenu a").each(function(){$(this).click(function(){var c=this.getAttribute("href");o=0;window.location.hash=""+j+c;return!1})})}function t(c){return c.replace(/\u0028/g,'<span class="qparenthesis">(').replace(/\u0029/g,")</span>")}
function v(c){g=b=0;i=-1;var d=$("<div/>").html(c).find("#mainstuff");d.append('<footer><div class="readquran"><a href="'+k+'Q-Inspector.html"><img src="'+k+'img/quran2.png" class="imgleft" alt=""></a><span class="readqurantext">Whenever you want to pursue the truth and verify anything you hear about Islam, we urge you to please use the only valid and divine source of Islam, <a href="'+k+'Q-Inspector.html">Quran</a>.</span></div><address>Send comments to: <a href="mailto:info@submission.org">info@submission.org</a></address><small class="cpyrt">Copyright &#169; 2011 Submission.org - All rights reserved</small></footer>');
d.find("div.quran>p").each(function(){this.innerHTML=t(this.innerHTML).replace(/GOD/g,"God").replace(/\[(\d+:\d+)/g,"[Quran $1")});d.find("article").each(function(){this.innerHTML=this.innerHTML.replace(/9:128-129/g,"9;128-129").replace(/9:128/g,"9;128").replace(/9:129/g,"9;129")});d.find("div.quran>p>span.footnote").each(function(){this.innerHTML=this.innerHTML.replace(/(\d+):(\d+)/g,"$1::$2")});d.find("div.quran>p, div.otherquote>p, article a, article header *, article h5, #faderstrings").each(function(){this.innerHTML=
this.innerHTML.replace(/(\d+):(\d+)/g,"$1;$2")});d.find("div.quran>p>span.footnote").each(function(){this.innerHTML=this.innerHTML.replace(/(\d+)::(\d+)/g,"$1:$2")});d.find("article").each(function(){for(var c=this.innerHTML,d=0;d!=9;d++)c=c.replace(/(\d+):(\d+),(\d+)/g,"$1:$2, $1:$3");this.innerHTML=c=c.replace(/,\s*(\d+)/g,", $1")});d.find("article").each(function(){this.innerHTML=this.innerHTML.replace(/(\d+):(\d+)-?(\d*)/g,'<a href="'+k+l+'QI_EN_AR.html#$1_$2_$3" class="autoverse" data-chp="$1" data-vrs="$2" data-vrsb="$3">$&</a>')});
d.find("article, #faderstrings").each(function(){this.innerHTML=this.innerHTML.replace(/(\d+);(\d+)/g,"$1:$2")});w=[];d.find(".autoverse").each(function(){var c=this.getAttribute("data-chp"),d=this.getAttribute("data-vrs"),h=this.getAttribute("data-vrsb");h.length==0&&(h=d);d=x(Number(c),Number(d));c=x(Number(c),Number(h));c<d&&(c=d);if(!(d<1||d>6346)&&!(c<1||c>6346))for(;d<=c;d++){for(var m=h=0,u=w.length;m!=u;m++)if(w[m]==d){h=1;break}h==0&&w.push(d)}});d.find("article a, article header *, article h5").each(function(){this.innerHTML=
this.innerHTML.replace(/Appendix/g,"Appendiz")});d.find("article").each(function(){this.innerHTML=this.innerHTML.replace(/(Appendix)\s+(\d+)/gi,'<a href="'+k+'App$2.html" class="autoappx" data-apx="$2">$1 $2</a>')});d.find("article a, article header *, article h5").each(function(){this.innerHTML=this.innerHTML.replace(/Appendiz/g,"Appendix")});d.find("article a, article header *, article h5").each(function(){this.innerHTML=this.innerHTML.replace(/(Chapter|Sura)/gi,"$1z")});d.find("article").each(function(){this.innerHTML=
this.innerHTML.replace(/(the|this) (Chapter|Sura)/gi,"$1 $2z")});d.find("article").each(function(){this.innerHTML=this.innerHTML.replace(/(Chapter|Sura)\s+(\d+)/gi,'<a href="'+k+l+'QI_EN_AR.html#$2+" target="_blank">$1 $2</a>')});d.find("article").each(function(){this.innerHTML=this.innerHTML.replace(/(Chapter|Sura)z+/gi,"$1")});$(".faderbox").stop(!0);$("#fadertext").stop(!0);$("#content").stop(!0);c=o>0?1:250;$("#content").fadeOut(c,function(){$("#content").html(d.html());y();z();$("#content").fadeTo(1,
0.001,function(){g=$("#faderstrings div").toArray();g.length!=0&&($(".faderbox").fadeTo(1,1.0E-4),$("#fadertext").hide(),b=0,A());o>0?(window.scrollTo(0,o),$("#content").fadeTo(1,1)):$("#content").fadeTo(300,1);history.replaceState!=a?history.replaceState({a:window.pageYOffset},window.title):n==a&&(n="",alert("We see that you are using an old browser; The site will be basically functional for you, but for the best experience we recommend:\nMozilla Firefox (http://www.mozilla.com/firefox/), \nGoogle Chrome (http://www.google.com/chrome/), or\nOpera (http://www.opera.com/)"))})})}
function z(){$("#content").find(".autoverse").each(function(){$(this).click(function(c){var d=this.getAttribute("data-chp"),e=this.getAttribute("data-vrs"),f=this.getAttribute("data-vrsb");B(x(Number(d),Number(e)),x(Number(d),Number(f)),c);return!1})})}function y(){$("#content").find("a").each(function(){var c=1,d=this.getAttribute("href");d.search(/mailto/g)!=-1&&(c=0);c==1&&d.substr(0,3)==k&&d.substr(0,5)!=k+l&&$(this).click(function(){o=0;window.location.hash=""+j+d;return!1})})}
function q(){window.location.hash.search(/#/g)!=-1&&$("<div/>").load(window.location.hash.toString().substr(1),function(){if(window.location.hash.length<5)window.location.hash=k+"Home.html";else if(window.location.href.search(/index.html/)!=-1)window.location.href=window.location.href.replace(/index.html/,"");else if($(this).html().length==0){if(window.location.hash.search(/404/)==-1)window.location.hash=k+"404.html"}else this.innerHTML.search(/\<noscript\>/)==-1?window.location.hash=k+"404.html":
(v($(this).html()),$(this).remove())})}
function A(){if(g.length!=0){if(i==-1){for(var c=i=0;c!=g.length;c++)g[c].innerHTML.length>g[i].innerHTML.length&&(i=c);$("#fadertext").html(g[i]);$("#fadertext").fadeTo(1,1.0E-4);$(".faderbox").height($(".faderbox").height());$(".faderbox").fadeTo(1,1);$("#fadertext").delay(300)}g.length!=0&&($("#fadertext").html(t(g[b].innerHTML)),b=++b%g.length,$("#fadertext").fadeTo(500,1),$("#fadertext").delay($("#fadertext").text().length*30),$("#fadertext").fadeTo(500,0,function(){b==0&&$("#fadertext").delay(1500);
A()}))}}var C,D,E,G,H,I,J,K,L,M,N,O,w;
function s(){D=Array(115);D[1]=7;D[2]=286;D[3]=200;D[4]=176;D[5]=120;D[6]=165;D[7]=206;D[8]=75;D[9]=127;D[10]=109;D[11]=123;D[12]=111;D[13]=43;D[14]=52;D[15]=99;D[16]=128;D[17]=111;D[18]=110;D[19]=98;D[20]=135;D[21]=112;D[22]=78;D[23]=118;D[24]=64;D[25]=77;D[26]=227;D[27]=93;D[28]=88;D[29]=69;D[30]=60;D[31]=34;D[32]=30;D[33]=73;D[34]=54;D[35]=45;D[36]=83;D[37]=182;D[38]=88;D[39]=75;D[40]=85;D[41]=54;D[42]=53;D[43]=89;D[44]=59;D[45]=37;D[46]=35;D[47]=38;D[48]=29;D[49]=18;D[50]=45;D[51]=60;D[52]=49;
D[53]=62;D[54]=55;D[55]=78;D[56]=96;D[57]=29;D[58]=22;D[59]=24;D[60]=13;D[61]=14;D[62]=11;D[63]=11;D[64]=18;D[65]=12;D[66]=12;D[67]=30;D[68]=52;D[69]=52;D[70]=44;D[71]=28;D[72]=28;D[73]=20;D[74]=56;D[75]=40;D[76]=31;D[77]=50;D[78]=40;D[79]=46;D[80]=42;D[81]=29;D[82]=19;D[83]=36;D[84]=25;D[85]=22;D[86]=17;D[87]=19;D[88]=26;D[89]=30;D[90]=20;D[91]=15;D[92]=21;D[93]=11;D[94]=8;D[95]=8;D[96]=19;D[97]=5;D[98]=8;D[99]=8;D[100]=11;D[101]=11;D[102]=8;D[103]=3;D[104]=9;D[105]=5;D[106]=4;D[107]=7;D[108]=3;
D[109]=6;D[110]=3;D[111]=5;D[112]=4;D[113]=5;D[114]=6;E=Array(115);for(var c=1;c!=115;)E[c]=1,c++;E[1]=0;E[9]=0;G=Array(115);for(c=1;c<=114;c++)G[c]=0;G[2]=3;G[3]=3;G[7]=4;G[10]=3;G[11]=3;G[12]=3;G[13]=4;G[14]=3;G[15]=3;G[19]=5;G[20]=2;G[26]=3;G[27]=2;G[28]=3;G[29]=3;G[30]=3;G[31]=3;G[32]=3;G[36]=2;G[38]=1;G[40]=2;G[41]=2;G[42]=5;G[43]=2;G[44]=2;G[45]=2;G[46]=2;G[50]=1;G[68]=1;H=Array(115);H[1]=5;H[2]=87;H[3]=89;H[4]=92;H[5]=112;H[6]=55;H[7]=39;H[8]=88;H[9]=113;H[10]=51;H[11]=52;H[12]=53;H[13]=96;
H[14]=72;H[15]=54;H[16]=70;H[17]=50;H[18]=69;H[19]=44;H[20]=45;H[21]=73;H[22]=103;H[23]=74;H[24]=102;H[25]=42;H[26]=47;H[27]=48;H[28]=49;H[29]=85;H[30]=84;H[31]=57;H[32]=75;H[33]=90;H[34]=58;H[35]=43;H[36]=41;H[37]=56;H[38]=38;H[39]=59;H[40]=60;H[41]=61;H[42]=62;H[43]=63;H[44]=64;H[45]=65;H[46]=66;H[47]=95;H[48]=111;H[49]=106;H[50]=34;H[51]=67;H[52]=76;H[53]=23;H[54]=37;H[55]=97;H[56]=46;H[57]=94;H[58]=105;H[59]=101;H[60]=91;H[61]=109;H[62]=110;H[63]=104;H[64]=108;H[65]=99;H[66]=107;H[67]=77;H[68]=
2;H[69]=78;H[70]=79;H[71]=71;H[72]=40;H[73]=3;H[74]=4;H[75]=31;H[76]=98;H[77]=33;H[78]=80;H[79]=81;H[80]=24;H[81]=7;H[82]=82;H[83]=86;H[84]=83;H[85]=27;H[86]=36;H[87]=8;H[88]=68;H[89]=10;H[90]=35;H[91]=26;H[92]=9;H[93]=11;H[94]=12;H[95]=28;H[96]=1;H[97]=25;H[98]=100;H[99]=93;H[100]=14;H[101]=30;H[102]=16;H[103]=13;H[104]=32;H[105]=19;H[106]=29;H[107]=17;H[108]=15;H[109]=18;H[110]=114;H[111]=6;H[112]=22;H[113]=20;H[114]=21;C="/d/butler.php?q=";K="|$|";L="|";J=[];I=Array(2);I[0]=Array(6347);I[1]=Array(6347);
M=!0;N=1;O=50}function P(c){if(c.length>0){var d;switch(c.charCodeAt(0)-96){case 2:for(var c=c.split(K).slice(1),e=0;e!=c.length;e++);break;case 3:case 4:c=c.split(K).slice(1);for(e=0;e!=c.length;e++)d=c[e].split(L),I[Number(d[0])][Number(d[1])]=[d[2],d[3],d[4]],d.length>5&&(I[Number(d[0])][Number(d[1])][2]=d.slice(4).join(L));break;case 5:c=c.split(K),J.push([c[0].split(L),c[1].split(L)]),J.length>200&&J.shift(),P("c"+K+c.slice(2).join(K))}}}
function Q(c){return(M==!0&&I[0][c]!=a||M==!1)&&(N>0&&I[N][c]!=a||N==-1)}function R(c,d){for(var e=c;e<=d;e++)if(!Q(e))return!1;return!0}function B(c,d,e){d<c&&(d=c);R(c,d)?S(c,d,e):w!=a&&(T(c,d),U(function(){S(c,d,e)}))}
function S(c,d,e){if(R(c,d)){var f='<div id="popupbox"';d>c&&(f+=' style="font-size: 90%;"');for(f+=">";c<=d;c++){var h=V(c),m=W(c);f+='<div class="popupversetext"><p lang="en">';var u;I[N][c]!=a&&(u=I[N][c][0]);f+="["+h+":"+m+"] "+t(u);f+='</p><p lang="ar" dir="rtl">';f+=String.fromCharCode(8207)+X("["+m+":"+h+"] ")+Y(c);f+="</p></div>"}f+="</div>";$("#butler").html(f.replace("*","","g"));$("#butler #popupbox").fadeTo(1,1.0E-5,function(){$(this).bind("click mouseleave",function(){$(this).fadeOut(250,
function(){$(this).remove()})});$(this).css("top",e.clientY-$(this).height()/2);$(this).css("left",e.clientX-$(this).width()/2);parseInt($(this).css("top"))<5&&$(this).css("top",5);parseInt($(this).css("left"))<5&&$(this).css("left",5);parseInt($(this).css("bottom"))<5&&($(this).css("top",""),$(this).css("bottom",5));parseInt($(this).css("right"))<5&&($(this).css("left",""),$(this).css("right",5));$(this).fadeTo(300,0.93)})}}
function Y(c){if(I[0][c]!=a)return c==431?I[0][431][0].replace(/\u062c\u064e\u0632\u064e\u0624\u064f\u0647\u064f\u0645\u0652/,'*<span class="butler_specialarabic">$&</span>'):I[0][c][0]}function U(c){for(var d=w,e=[],f=0;f!=d.length;f++)Q(d[f])||e.push(d[f]);d=[];M&&d.push(0);N>0&&d.push(N);e.length>0&&e.length<=O?$("<div/>").load(C+Z(d,e),function(){P($(this).text());$(this).remove();c()}):e.length>O&&$("<div/>").load(C+Z(d,e.slice(0,O)),function(){P($(this).text());$(this).remove();c()})}
function Z(c,d){var e="c"+L+c.join("l");switch("c"){case "a":return e;case "b":return e;case "c":return e+L+d.join("v");case "d":return e+L+d.join("r");case "e":return d[2]=escape(d[2]),e+L+d.join(L)}}function V(c){var d=0,e=0;if(c<1||c>6346)return-1;for(d=1;d<=114;d++)if(e+=D[d]+E[d],c<=e)return d;return-1}function W(c){var d=0,e=0;if(c<1||c>6346)return-1;for(d=1;d<=114;d++)if(e+=D[d]+E[d],c<=e)return c-(e-D[d]);return-1}
function x(c,d){var e=0,f=0;if(c<1||c>114)return-1;if(d>D[c])return-1;if(d==0&&E[c]==0)return-1;for(e=1;e<=c-1;e++)f+=D[e]+E[e+1];return f+d}function X(c){for(var d=c.length,e="",f,h=0;h!=d;h++)f=c.charCodeAt(h),e+=47<f&&f<58?String.fromCharCode(f+1584):c.charAt(h);return e}function T(c,d){for(var e=[],f=c;f<=d;f++)e.push(f);for(var h=[],m,f=0,u=w.length;f!=u;f++){for(var F=m=0,aa=e.length;F!=aa;F++)if(w[f]==e[F]){m=1;break}m==0&&h.push(w[f])}w=e.concat(h)};

