// ==UserScript==
// @name fredag.dagbladet.no - focus fix
// @author Arve Bersvendsen 
// @namespace http://virtuelvis.com/ 
// @version 1.0
// @description  Prevents the search field on fredag.dagbladet.no from
//			grabbing focus on page load.
// @ujs:category site: fixes
// @ujs:published 2005-06-28 19:57
// @ujs:modified 2005-09-19 09:19
// @ujs:documentation http://userjs.org/scripts/site/fixes/fredag-dagbladet-no-focusfix 
// @ujs:download http://userjs.org/scripts/download/site/fixes/fredag-dagbladet-no-focusfix.js
// ==/UserScript==


/* 
 * This script is granted to the Public Domain
 */

if (location.hostname=="fredag.dagbladet.no"){
	opera.addEventListener('BeforeScript',function(ev){
	   ev.element.text.replace(/document\.frm_sr\.search_string\.focus\(\);/ig,"");
	},false);
}
