var state = 'none';
var type = '';

function showhide(layer_ref,open,option) {
state = open=='true' ? 'none' : 'block';
if ( option == 1 ){type=1;}
state = type==1 ? 'none' : 'block';
if ( option==0 ){type='';}

state = state == 'block' ? 'none' : '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;
}
}

function showhideIE(){
showhide('lang','false',0);
event.srcElement.detachEvent('onclick',showhideIE);
}