function add_to_onload(func) {
	if (typeof func == 'function') {
		if (typeof window.onload != 'function')
		    window.onload = func;
		else {
		    old = window.onload;
		    window.onload = function() {
		        old();
		        func();
		    }
		}
	}
}
function on_focus_swap_text(element, text){
	if ($(element).value==text){
		$(element).value=''
	}
}
function on_blur_swap_text(element, text){
	if ($(element).value==''){
		$(element).value=text
	}
}
function debug_wallpaper(){
	document.body.style.backgroundColor = '#FF0000';
	$('far_right').style.width = '20px';
	$('far_right').style.height = '20px';
	$('far_right').style.backgroundColor = '#00FF00';
}
Event.observe(window, 'load', function() {
	$$('a').each(function(anchor){
		if(anchor.target=='_top' && anchor.href.match(/^http:\/\/austria\d+\.adverserve\.net\/.*?empty\.gif.*$/)){
			anchor.hide();
		}
	});
});
