function blankSBV(el, val) {
	if (el) {
		if ( trim(val) == trim(el.value) ) {
			el.value='';
		}
	}
}

function toggleSBV(el, val) {
	if (el) {
		if ( trim(val) == trim(el.value) || '*' == trim(el.value) || '' == trim(el.value) ) {
			el.value = trim(val);
		}
	}
}

function trim(str) {
	return str.replace("/^\s*|\s*$/g", "" );
}

function gotoUrlIE(url)
{
	IE = (document.all) ? 1 : 0
    if (IE) {
        gotoUrl(url);
    }
}

function checkSearch( wert ) {
	elSwords = document.getElementById('swords');
	if ( elSwords.value == wert )
		elSwords.value = '*';
}
