// Foxysearch.org Sitewide scripting
// Copyright 2009-2010 (C) Otto de Voogd

// Open new window
function openWin(src,target) {
	if ("undefined"==typeof(target)||''==target) {target='_blank';}
	newwin=window.open(src.getAttribute('href'),target,'width=800,height=600,toolbar=yes,status=yes,location=yes,menubar=yes,directories=yes,resizable=yes,scrollbars=yes');
	if(window.focus){newwin.focus()};
	return(false);
}

// Init
function init() {
	// Break out of frames
	if (top!=self) {top.location.replace(self.location.href);}
	// Set focus on searchbox
	if (document.getElementById && document.getElementById("searchbox")) {
		document.getElementById("searchbox").focus();
	}
}

window.onload=init;

// TIAF!

