<!--
function winpop(win)
{
	bakom=window.open(win, "bakom", "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=540,height=400");
	bakom.focus();
}

function barnen(win)
{
	bakom=window.open(win, "bakom", "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=750,height=550");
	bakom.focus();
}

function custompop(win, width, height, status, menu)
{
	bakom=window.open(win, 'bakom', 'toolbar=no,location=no,directories=no,status=' + status +  ',menubar=' + menu + ',scrollbars=yes,resizable=yes,copyhistory=no,width=' + width + ',height=' + height);
	bakom.focus();
}

function lockedCat() {
	alert("Du behöver vara inloggad för att se denna informationen");
}

function clearField (field, defaultValue) { 
    if (field.value == defaultValue) 
        field.value = ''; 
} 

function visa(id) { 
	if(document.getElementById) {
		var obj = document.getElementById(id);
	} 
	else { 
    	if(document.all){
			var obj = document.all(id);
		} 
    	if(obj.style.display == 'none'){
			obj.style.display = '';
		} 
    	else {
			obj.style.display = 'none';
		} 
	}
} 
//-->