﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour,resultsText)
{
var sTerms="";
var iDepth = 0;
var sURL = new String(document.location);
if (sURL.indexOf("?") > 0)
{
var arrParams = sURL.split("?");
var arrURLParams = arrParams[1].split("&");
for (var i=0;i<arrURLParams.length;i++)
{
var sParam = arrURLParams[i].split("=");
var sValue = unescape(sParam[1]);
if( sParam[0] == frameObjectName)
	sTerms = sValue;
if( sParam[0] == "depth")
	iDepth = parseInt(sValue);
}
}
var d=frameObject.document;
if (sTerms=="") {d.open(); d.write("<html><head></head><body style=\"background: transparent;\"></body></html>"); d.close();return;}
var sBack=""; for (i=0; i<iDepth; i++) sBack+='..\\\\';
d.open();
d.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
d.write("<html lang=\"en\">");
d.write("<head>");
d.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">");
d.write("</head>");
d.write("<body style=\"margin: 0px 0px 0px 0px; font-family: "+fontFace+"; font-size: "+fontSize+"; color: "+fontColour+"; background: transparent;\">");
d.write("<div id=\"wpSearchResults\"></div>");
d.write("<script type=\"text/javascript\">");
d.write("var wordMap = new Array(\" must have heard about this devastating flood most pakistan this disaster killed many other disasters left much more people trouble homeless than recent times deen trust launched emergency appeal victms read more alhamdolilah with your generous support volunteers working days nights help victims \",\" result have undertaken many small projects wherever could reach people needed your help once again hope continue work carry various that include water wells food parcels schools camps dispensaries establish orphanage future insha allah medical projects deen trust hospital camps ambulance hepatitis vaccination sponsor scholar safe parcels gift pack iftar fidya kaffara tube hand pumps well \",\" name e-mail address about your skills interests volunteer opportunities \",\" also think that should thank allah favours upon best ways could help people less privileged than this belief understanding motivated establish deen trust back 2005 first project hospital pakistan with your dua's duas support have since expanded work other countries result undertaken many small projects whereve reach needed once again hope continue carry various include water wells food parcels schools camps dispensaries orphanage future insha part immensely good feel same satisfaction knowing contributed worthwhile cause made real difference lives nothing their give therefore encourage contribute much blessed time ramadan donating online deentrust sending donation with coupon believe serve mankind others inspired quranic ayat saying \",\" deen trust 10027 nottingham 2047 email info deentrust bank details bank natwest sort code 56-00-61 account 35785039 iban gb43 nwbk 56006135785039 \",\" food parcels	 unfortunately even this much food being wasted there many people throughout world living well below poverty line therefore have parcel project allows give family cannot afford nutritious meals whole please contribute generously together distribute parcels possible during blessed month ramadan parcels gift pack containing items enjoyable this will last days through they enjoy occasion like alhamdulillah gift pack consists celebrate such clothes toys books some money children iftar provide poor sick elderly countries with reward feeding person opening fast another muslim fidya feed each meals that terminal illness rate missed kaffara kaffarah compensation should deliberately miss break without valid reason make broken someone must either continuously amounts £360 safe water something which clean safe cause misery ways cost lives issue matter high priority thousands struggle adequate supply drinking water digging wells providing pumps places where shortage schemes currently running number asia africa meant otherwise would consumed dirty dangerous walked miles collect received local drink cleaning tube wells hand pumps single hand pump serves families benefit from least years arrange travel clean blessing take granted hope thank allah helping those don't dont well scheme larger communities depending their size attain service tremendous worth village insha'allah inshaallah great yourself \",\" sponsor scholar imams islamic scholars world over doing tremendous most rewarding being shown true appreciation paid their full worth extremely shocking that abused treated fairly muslims strongly believe should height professions this right they merely ‘job' ‘job spreading word teachings islam throughout when less than then will undoubtedly have major impact home life being imam looked down upon unfortunately becoming case places like pakistan current state such mosque committees unable they forced rely collections from locals this usually amounts approximately rupees week many charities which benefit students orphans forgotten about teachers incapable teaching what there pouring funds into student sponsorships? launching special appeal called ‘sponsor scholar' where endeavour minimum month each scholar cover initially move african regions sponsor-a-scholar project your chance enlighten illuminate spread knowledge valuing supporting humble initiative your support often neglected only hundreds thousands also preserve quality spirit generations come funds used establish fundamental fard ul-ain* those areas needed set-up standards appropriate vetting whom work closely with ensure consistent living expenses regularly order them fully concentrate masses ul-ain *fard compulsory basic every muslim must aware practice aqeeda fiqh with just scholars local communities much understanding these remote rural desperate need already operational madrassa's madrassas prior commitment well please donate generously cause \",\" hospital will available free charge approximately people insha-allah mostly labourers earn less than main reason building this region that many live locality very poor rupees barely afford food clothing needs their large families alone treatment when member family becomes injured accident then proper healthcare question suffers even further when breadwinner falls other maternity care delivery babies  this huge problem over pakistan especially rural areas where there expensive health during joyous time most expecting child have enjoyable excited about coming these also something shadows happiness financial aspect adequate help after pregnancy they simply cannot charges whether simple complicated sometimes father borrow money debt years mother sometimes both inadequate medical rife deaths avoided providing basic good facilities these there been reporting's reportings instances lady doctors operated women though could meaning they done normal would operate make more believe crime humanity solving only operating those genuinely need offer service everyone started erected which decided build phases immediate open wing soon fitar 2010 locals start benefitting from services insh'allah inshallah require furnish section needed obtain equipment anticipate recurring running costs £4000 calendar month donors willing donate ability couldn't couldnt imagine being without some lack most often solution just pair glasses cataract removal operation with diagnosis matter gets left unresolved camps assist seen qualified optometrist eyesight conditions provide them ambulances fundamental effective case emergencies emergency monitoring fast journey nearby clinic must ambulance area quick assistance ambulances hospitals don't dont patients dispensary small outpatient facility primary communities aiming dispensaries needy travel located far-off cities cost dispensary £3000 including year covers workers wages rent medicine whole illnesses hepatitis awareness programmes distributing vaccination packs unfortunately illness injections given \",\" \",\" must have heard about this devastating flood most pakistan this disaster killed many other disasters left much more people trouble homeless than recent times deen trust launched emergency appeal victms urgently need funds food parcels iftari fund vaccinations teamed with tehreek-e-insaf working tirelessly ground night raise will used help team tehreek-e-insaf giving setting sehri iftari camps also hope supply affectees prevention widespread diseases immediate targets 1000 each vaccination fund \");");
d.write("var pageMap = new Array(\"DEEN TRUST\",\"DEEN TRUST-Projects\",\"DEEN TRUST- Get Involved\",\"DEEN TRUST- About Us\",\"DEEN TRUST- Contact Us\",\"Food & Safe Water\",\"Sponsor A Scholar\",\"Medical Projects\",\"Search Results\",\"Emergency - Deen Trust\");");
d.write("var linkMap = new Array(\"index.html\",\"page2.html\",\"page3.html\",\"page4.html\",\"page5.html\",\"page9.html\",\"page10.html\",\"page11.html\",\"search.html\",\"emergency.html\");");
d.write("var preMap = new Array(\"We all must have heard about this devastating flood to hit most of Pakistan.  This disaster may not have killed as many as other disasters in Pakistan but it has left much more people in trouble and h\",\" As a result we have undertaken many small projects wherever we could reach people who needed your help. Once again, we hope to continue our work and carry out various projects that include: Water Wel\",\"Name E-mail Address About you, your skills & Interests   Volunteer Opportunities  \",\"We also think that we should thank Allah (swt) for all of his favours upon us, one of the best ways we could thank Him is to help the people who are less privileged than us. It was this belief and und\",\"DEEN TRUST PO Box 10027, Nottingham, NG8 9JA +44 (0) 115 860 2047 Email: info@deentrust.com   BANK DETAILS Bank: NatWest Sort Code: 56-00-61 Account No: 35785039 IBAN: GB43 NWBK 56006135785039  \",\"Food Parcels	 Unfortunately even in this age of so much food being wasted, there are many people throughout the world who are living well below the poverty line and therefore do not have food to eat. \",\"Sponsor A Scholar Imams and Islamic Scholars the world over are doing a tremendous and most rewarding job but are not being shown true appreciation or being paid their full worth. It is extremely sad \",\"The hospital will be available free of charge to approximately 15,000 people Insha-Allah, who are mostly labourers and earn less than £2 a day.  The main reason for the building of the hospital in thi\",\"\",\"We all must have heard about this devastating flood to hit most of Pakistan.  This disaster may not have killed as many as other disasters in Pakistan but it has left much more people in trouble and h\");");
d.write("function doNav(ind)");
d.write("{");
if (newWindow)
d.write("		 window.open(\""+sBack+"\"+linkMap[ind],\"_blank\");");
else
d.write("		 parent.window.location.href=linkMap[ind];");
d.write("}");
d.write("function wpDoSearch(searchTerms){");
d.write("var terms = searchTerms.split(\" \");");
d.write("if (terms==\"\") return;");
d.write("var results = \"\";");
d.write("var resultscount = 0;");
d.write("for (var i=0; i<wordMap.length; i++)");
d.write("{");
d.write("			var found=true;");
d.write("			for (var j=0; j<terms.length; j++)");
d.write("					if (wordMap[i].indexOf(terms[j].toLowerCase())==-1) found=false;");
d.write("			if (found)");
d.write("			{");
d.write("				 results+=\"<a style=\\\"cursor: pointer; font-family: "+linkFace+"; font-size: "+linkSize+"; color: "+linkColour+"; \\\" onclick=\\\"doNav(\"+i+\");\\\"><u>\"+pageMap[i]+\"</u></a><br>\"+preMap[i]+\"...<br><br>\";");
d.write("				 resultscount++;");
d.write("			}");
d.write("}");
d.write("document.getElementById(\"wpSearchResults\").innerHTML=resultscount+\" "+resultsText+" \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
while(sTerms.indexOf("\"") != -1 ) {
sTerms = sTerms.replace("\"","");
};
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}