function unhidept(id) { if(document.getElementById(id)) { var variable = document.getElementById(id); variable.setAttribute('class', 'nothidden'); variable.style.visibility = "visible"; variable.style.position = "relative"; if(navigator.appName == "Microsoft Internet Explorer") { variable.style.display = "block"; } else { variable.style.display = "table-row"; } } } function hidept(id) { if(document.getElementById(id)) { var variable = document.getElementById(id); variable.setAttribute('class', 'hidden'); variable.style.visibility = "hidden"; variable.style.display = "none"; variable.style._visibility = "hidden"; variable.style._position = "absolute"; } } function makevisible(x) { if(document.getElementById(x)) { var variable = document.getElementById(x); variable.style.visibility = "visible"; variable.style.position = "relative"; } } function makehidden(x) { if(document.getElementById(x)) { var variable = document.getElementById(x); variable.style.visibility = "hidden"; variable.style.position = "absolute"; variable.style.top = "0px"; variable.style.left= "0px"; } } function update_id_with(id, what) { if(document.getElementById(id)) { document.getElementById(id).innerHTML=what; } } function preload(url) { var xmlHttp = new_connection(); if(xmlHttp) { xmlHttp.open("GET",url,true); xmlHttp.send(null); } } // www.snapfx.com.au // function modo(x) { x.getElementsByTagName('ul')[0].style.visibility="visible"; } function modx(x) { x.getElementsByTagName('ul')[0].style.visibility="hidden"; } function openclose(x) { var variable = document.getElementById(x); if(variable.style.visibility != "hidden") { variable.style.visibility = "hidden"; variable.style.position = "absolute"; variable.style.top = "0px"; variable.style.left= "0px"; } else { variable.style.visibility = "visible"; variable.style.position = "relative"; } } function show(x,y) { var variable = document.getElementById(y); if(variable.style.visibility != "hidden") { variable.style.visibility = "hidden"; x.setAttribute('src', '/images/optionsarrow.jpg'); } else { variable.style.visibility = "visible"; x.setAttribute('src', '/images/minimiseforums.jpg'); } } function over(x) { document.getElementById(x).style.visibility="visible"; } function out(x) { document.getElementById(x).style.visibility="hidden"; } function clearme(val, text) { if(val.value == text) { val.value=''; val.focus(); } }