function disableForm(theform) {
if (document.all || document.getElementById) {
for (i = 0; i < theform.length; i++) {
var tempobj = theform.elements[i];
if (tempobj.type.toLowerCase() == "submit" || tempobj.type.toLowerCase() == "reset")
tempobj.disabled = true;
}
return true;
}
else {
return false;
   }
}
var state = 'none'; 

function showhide(layer_ref) { 

if (state == 'block') { 
state = 'none'; 
} 
else { 
state = 'block'; 
} 
if (document.all) { //IS IE 4 or 5 (or 6 beta) 
eval( "document.all." + layer_ref + ".style.display = state"); 
} 
if (document.layers) { //IS NETSCAPE 4 or below 
document.layers[layer_ref].display = state; 
} 
if (document.getElementById &&!document.all) { 
hza = document.getElementById(layer_ref); 
hza.style.display = state; 
} 
} 
    var lastopen = '';
    function showhide2(id) {
        if (lastopen != '' && lastopen != id) {
            document.getElementById(lastopen).style.display = 'none';
            lastopen = '';
        }
        if (document.getElementById(id).style.display == 'none') {
            document.getElementById(id).style.display = 'block';
            lastopen = id;
        } else {
            document.getElementById(id).style.display = 'none';
            lastopen = '';
        }
    }
function replaceContent() {
 
     document.getElementById("3419").innerHTML = '';
 
}
function popitup(url) {
	newwindow=window.open(url,'popup1','height=150,width=480');
	if (window.focus) {newwindow.focus()}
	return false;
}
function form8() { 
 document.getElementById('textname').disabled = !document.getElementById('anders').checked; 
 }; 
