$.fn.searchBox = function() {
	return this.focus(function() {
		if( this.value == this.defaultValue ) {
			this.value = "";
		}
	}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
		}
	});
};

$(document).ready(function() {
    $('a[rel="external"]').click( function() {
        window.open($(this).attr("href"));
        return false;
    });
	
    $("map.external area").click( function() {
        window.open($(this).attr("href"));
        return false;
    });
	
	
	/* nur spielerei...
	var intContentHeight = $("#content").height();
	
	if (intContentHeight > 0) {
		intContentHeight -= 120;
		$("#sidebar").animate({
			height: intContentHeight
		}, 500);
	}
	*/
});
