function retrieveBanner() {
		searchString = location.search.slice(1);
		searchString = unescape(searchString);
		//Converts + signs to a space
		formString = searchString.replace(/\+/g, " ");
		//Converts / to an &
		formString = formString.replace(/\//g, "&");
		data = formString.split(/[&=]/g);
		var myfolder = data[0];		
		var myselection = data[1];
		var subselection = data[2];		
		
		//healthcare	
		if (myselection == "healthcare"){		
		document.write("<img name=myselection id='banner' src='../images/banner_dental_services.jpg' width='776' height='85' border='0' alt='Healthcare'>");
		}			
		
		
		//our_services				
		if (myselection == "our_services"){		
		document.write("<img name=myselection id='banner' src='../images/banner_free_restaurant.jpg' width='776' height='85' border='0' alt='Our services'>");
		}	
		
		
		//community_welfare				
		if (myselection == "community_welfare"){		
		document.write("<img name=myselection id='banner' src='../images/banner_community_welfare.jpg' width='776' height='85' border='0' alt='Community welfare'>");
		}	
		
		//education				
		if (myselection == "education"){		
		document.write("<img name=myselection id='banner' src='../images/banner_tutorial_centre.jpg' width='776' height='85' border='0' alt='Education'>");
		}	
				
		//open_cash_donation				
		if (myselection == "open_cash_donation" & subselection == null || myselection == "privacy" || myselection == "refund"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Open cash donation'>");
		}
		
		//sponsors_a_child				
		if (myselection == "sponsors_a_child"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sponsors_a_child.jpg' width='776' height='85' border='0' alt='Sponsors a child'>");
		}
		
		//monthly_donations				
		if (myselection == "monthly_donations"){		
		document.write("<img name=myselection id='banner' src='../images/banner_monthly_donations.jpg' width='776' height='85' border='0' alt='Monthly donations'>");
		}
		
		//gift_giving_catalogue				
		if (myselection == "gift_giving_catalogue"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Gift giving catalogue'>");
		}		  
		
		//donations_of_food				
		if (myselection == "donations_of_food"){		
		document.write("<img name=myselection id='banner' src='../images/banner_donations_of_food.jpg' width='776' height='85' border='0' alt='Donations of food'>");
		}
		
		//what_is_a_bequest	
		if (myselection == "what_is_a_bequest"){		
		document.write("<img name=myselection id='banner' src='../images/banner_bequests.jpg' width='776' height='85' border='0' alt='What is a bequest'>");
		}
		
		//types_of_bequests	
		if (myselection == "types_of_bequests"){		
		document.write("<img name=myselection id='banner' src='../images/banner_bequests.jpg' width='776' height='85' border='0' alt='Types of bequests'>");
		}
		
		//prepare_change_your_will	
		if (myselection == "prepare_change_your_will"){		
		document.write("<img name=myselection id='banner' src='../images/banner_bequests.jpg' width='776' height='85' border='0' alt='Prepare/change your will'>");
		}
		
		//common_questions	
		if (myselection == "common_questions"){		
		document.write("<img name=myselection id='banner' src='../images/banner_bequests.jpg' width='776' height='85' border='0' alt='Common questions'>");
		}
		
		//legal_information	
		if (myselection == "legal_information"){		
		document.write("<img name=myselection id='banner' src='../images/banner_bequests.jpg' width='776' height='85' border='0' alt='Legal information'>");
		}
		
		//the_exodus_society	
		if (myselection == "the_exodus_society"){		
		document.write("<img name=myselection id='banner' src='../images/banner_bequests.jpg' width='776' height='85' border='0' alt='The Exodus Society'>");
		}
		
		//about_volunteering	
		if (myselection == "about_volunteering"){		
		document.write("<img name=myselection id='banner' src='../images/banner_volunteer.jpg' width='776' height='85' border='0' alt='About volunteering'>");
		}
		
		//become_a_volunteer	
		if (myselection == "become_a_volunteer"){		
		document.write("<img name=myselection id='banner' src='../images/banner_volunteer.jpg' width='776' height='85' border='0' alt='Become a volunteer'>");
		}
		
		//sunday_night_crews	
		if (myselection == "sunday_night_crews"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sunday_night_crews.jpg' width='776' height='85' border='0' alt='Sunday Night Crews'>");
		}
		
		//guests	
		if (myselection == "guests"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sunday_night_crews.jpg' width='776' height='85' border='0' alt='Guests'>");
		}
		
		//music	
		if (myselection == "music"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sunday_night_crews.jpg' width='776' height='85' border='0' alt='Music'>");
		}
		
		//feedback	
		if (myselection == "feedback"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sunday_night_crews.jpg' width='776' height='85' border='0' alt='Feedback'>");
		}
		
		//podcasts	
		if (myselection == "podcasts"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sunday_night_crews.jpg' width='776' height='85' border='0' alt='Podcasts'>");
		}
		
		//news_tips	
		if (myselection == "news_tips"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sunday_night_crews.jpg' width='776' height='85' border='0' alt='News tips'>");
		}
		
		//rev_bill_crews_biography	
		if (myselection == "rev_bill_crews_biography"){		
		document.write("<img name=myselection id='banner' src='../images/banner_bill_crews_bio.jpg' width='776' height='85' border='0' alt='Rev. Bill Crews biography'>");
		}
		
		//our_mission	
		if (myselection == "our_mission"){		
		document.write("<img name=myselection id='banner' src='../images/banner_our_mission.jpg' width='776' height='85' border='0' alt='Our mission'>");
		}
		
		//the_people_we_help	
		if (myselection == "the_people_we_help"){		
		document.write("<img name=myselection id='banner' src='../images/banner_the_people_we_help.jpg' width='776' height='85' border='0' alt='The people we help'>");
		}
		
		//success_stories	
		if (myselection == "success_stories"){		
		document.write("<img name=myselection id='banner' src='../images/banner_success_stories.jpg' width='776' height='85' border='0' alt='Success stories'>");
		}
		
		//history	
		if (myselection == "history"){		
		document.write("<img name=myselection id='banner' src='../images/banner_history.jpg' width='776' height='85' border='0' alt='History'>");
		}
		
		//about_corporate_partnerships	
		if (myselection == "about_corporate_partnerships"){		
		document.write("<img name=myselection id='banner' src='../images/banner_corporate_partnerships.jpg' width='776' height='85' border='0' alt='About corporate partnerships'>");
		}
		
		//our_corporate_partners	
		if (myselection == "our_corporate_partners"){		
		document.write("<img name=myselection id='banner' src='../images/banner_corporate_partnerships.jpg' width='776' height='85' border='0' alt='Our corporate partners'>");
		}
		
		//become_a_corporate_partner	
		if (myselection == "become_a_corporate_partner"){		
		document.write("<img name=myselection id='banner' src='../images/banner_corporate_partnerships.jpg' width='776' height='85' border='0' alt='Become a corporate partner'>");
		}
		
		//media_room	
		if (myfolder == "search" && myselection == "Press release" || myfolder == "media_room"){		
		document.write("<img name=myselection id='banner' src='../images/banner_media_room.jpg' width='776' height='85' border='0' alt='Media room'>");
		}
		
		//register	
		if (myselection == "register"){		
		document.write("<img name=myselection id='banner' src='../images/banner_register.jpg' width='776' height='85' border='0' alt='Register'>");
		}
		
		//contact	
		if (myselection == "contact"){		
		document.write("<img name=myselection id='banner' src='../images/banner_contact.jpg' width='776' height='85' border='0' alt='Contact'>");
		}
		
		//search directed from frontpage	
		if (myfolder == "search" && myselection == "sitesearch"){		
		document.write("<img name=myselection id='banner' src='../images/banner_search.jpg' width='776' height='85' border='0' alt='Search'>");
		}
		
		//thankyou_donation	
		if (myfolder == "thankyou"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Thankyou'>");
		}
		
		//latest_news	
		if (myfolder == "latest_news" || myfolder == "search" && myselection == "latest_news"){		
		document.write("<img name=myselection id='banner' src='../images/banner_media_room.jpg' width='776' height='85' border='0' alt='Latest news'>");
		}
		
		//webpoll	
		if (myselection == "webpoll"){		
		document.write("<img name=myselection id='banner' src='../images/banner_sunday_night_crews.jpg' width='776' height='85' border='0' alt='Webpoll'>");
		}

		//blog	
		if (myselection == "blog"){		
		document.write("<img name=myselection id='banner' src='../images/banner_media_room.jpg' width='776' height='85' border='0' alt='Blog'>");
		}

		//winter_appeal_donation
		if (myselection == "open_cash_donation" & subselection == "donation to the Winter appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Winter Appeal 2008'>");
		}
		
		//spring_appeal_donation	
		if (myselection == "open_cash_donation" & subselection == "donation to the Spring appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Spring Appeal 2008'>");
		}
		
		//xmas_appeal_donation	
		if (myselection == "open_cash_donation" & subselection == "donation to the Christmas appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Christmas Appeal 2008'>");
		}
		//xmas_appeal_donation	
		if (myselection == "open_cash_donation" & subselection == "donation to the 1.5 million dollar appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Donation to the 1.5 million dollar appeal'>");
		}
		//easter_appeal_donation	
		if (myselection == "open_cash_donation" & subselection == "donation to the Easter appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Donation to the 1.5 million dollar appeal'>");
		}
		//enatalem_orphanage	
		if (myselection == "open_cash_donation_enatalem" & subselection == "donation to the Enatalem Orphanage"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Donation to the 1.5 million dollar appeal'>");
		}
		//philippines_typhoon	
		if (myselection == "open_cash_donation_philippines" & subselection == "donation to the Philippines typhoon appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Donation to the 1.5 million dollar appeal'>");
		}
		//samoa	
		if (myselection == "open_cash_donation_samoa" & subselection == "donation to the Samoa tsunami appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Donation to the 1.5 million dollar appeal'>");
		}
		//haiti	
		if (myselection == "open_cash_donation_haiti" & subselection == "donation to the Haiti earthquake appeal"){		
		document.write("<img name=myselection id='banner' src='../images/banner_open_cash_donation.jpg' width='776' height='85' border='0' alt='Haiti earthquake appeal'>");
		}
		
		
}

