	function addOptionProvider() {
		window.external.AddSearchProvider("http://www.zoeken.nl/Addons/Includes/xml/zoeken_nl.xml");
		closeOptionProvider();
	}
	function closeOptionProvider() {
		document.getElementById('addsearch').style.display = 'none';
		document.cookie = "zoeken_ie7top=hidden; expires=Thu, 2 Aug 2500 20:47:11 UTC; path=/; domain=.zoeken.nl;";
	}
	
	if (window.external && ("AddSearchProvider" in window.external)) {
			if (!window.external.IsSearchProviderInstalled('http://www.zoeken.nl/') && document.cookie.indexOf("zoeken_ie7top") == -1) {
				writeHTML = '<div style="position:absolute;top:5px;right:68px;width:180px;display:block;" id="addsearch">';
				writeHTML += '<div style="background:url(http://images.zoeken.nl/v2/open_search_v2.png) no-repeat;font:12px arial;color:#005aab">';
				writeHTML += '<a href="#" style="color:#005aab;text-decoration:none;display:block;cursor:pointer;height:32px;width:152px;padding:18px 10px 24px 15px;" onclick="addOptionProvider(); return false;">';
				writeHTML += 'Voeg zoeken.nl toe aan<br>';
				writeHTML += (BrowserDetect.browser == "Explorer" ? 'de Internet Explorer.' : 'de Firefox browser.');
				writeHTML += '</a></div></div>';
				document.write(writeHTML);
		}
	} 