function zzOnFieldFocus ( field, className ) {
    if ( field.value == field.defaultValue ) {
        field.value = '';
        zzElement.removeClassName ( field, className );
    } 
}

function zzOnFieldBlur ( field, className ) {
    if ( field.value == '' ) {
        field.value = field.defaultValue;
        alert(className);
        zzElement.addClassName ( field, className );
    }
}


function StartSearch() {

	 $("#searchsubmit").mouseover(function() {
		$(this).attr('src', '/gfx/icons/arrow_blue.gif')	
	 }).mouseout(function(){
		$(this).attr('src', '/gfx/icons/arrow_orange.gif')	
	 });

	$('#searchbox').keypress(function(event) {
		if (event.keyCode == '13') {
         document.location='/zoeken.aspx?zoekwoord='+document.getElementById('searchbox').value;return false;
		}
	});
	
	$("#searchsubmit").click(function() {
		document.location='/zoeken.aspx?zoekwoord='+document.getElementById('searchbox').value;return false;
	});

}

$(document).ready(function() {
	
	StartSearch();

});
