function getemail() {
if (thesmallnav.example.options[5].selected) {
show('myLayer');
event.returnValue=false;
}
else
hide('myLayer');
}


var IE5up = document.getElementById && document.all;
var NS6up = document.getElementById &&! document.all;
var NS4 = document.layers;
var IE4 = document.all &&! window.print;

function hide(layerid) {
if(IE5up || NS6up)
document.getElementById(layerid).style.visibility = "hidden";
else if(NS4)
document.layers[layerid].visibility = "hidden";
else if(IE4)
document.all[layerid].style.visibility = "hidden";
}

function show(layerid) {
if(IE5up || NS6up)
document.getElementById(layerid).style.visibility = "visible";
else if(NS4)
document.layers[layerid].visibility = "visible";
else if(IE4)
document.all[layerid].style.visibility = "visible";
}

function clrTxt(oElem, oEvent) {
if (
oElem
&& typeof oElem.value != "undefined"
&& oElem.defaultValue
&& oEvent
&& oEvent.type
) {
if (
oEvent.type == "focus"
&& oElem.value == oElem.defaultValue
) {
oElem.value = "";
}
else if (
oEvent.type == "blur"
&& oElem.value == ""
) {
oElem.value = oElem.defaultValue;
}
}
}

function showbox(){
window.location.reload()
}
function showbox2(){
if (document.layers){
appearbox()
setTimeout("window.onresize=showbox",450)
}
}

function changebox(whichbox){

if (document.all||document.getElementById){
cross_el=document.getElementById? document.getElementById("boxhere"):document.all.boxhere
cross_el.innerHTML=''+whichbox+''
}
else if (document.layers){
document.box1.document.box2.document.write(''+whichbox+'')
document.box1.document.box2.document.close()
}

}

function appearbox(){
document.box1.visibility='show'
}

window.onload=showbox2

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
appear()
setTimeout("window.onresize=regenerate",450)
}
}

function changetext(whichcontent){

if (document.all||document.getElementById){
cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
cross_el.innerHTML=''+whichcontent+''
}
else if (document.layers){
document.d1.document.d2.document.write(''+whichcontent+'')
document.d1.document.d2.document.close()
}

}

function appear(){
document.d1.visibility='show'
}

window.onload=regenerate2




