<!-- Hide script from older browsers
/*---------------------------------------------------------------------
dom.js
Functions used in cross browser methodology
---------------------------------------------------------------------*/
/*---------------------------------------------------------------------
de
Retrieve an object
---------------------------------------------------------------------*/
function de(o){
if (document.getElementById){
return document.getElementById(o);
}
else if (document.all){
return document.all[o];
}
else if (document.layers){
return document.layers[o];
}
else {
return document.elements[o];
}
}
/*---------------------------------------------------------------------
lO
Loop through an object's children looking for a nodeType 1 ( object )
Return it... Use conditional loop to determine direction
---------------------------------------------------------------------*/
function lO(o,d){
var x = (d)?(o.childNodes.length-1):0;
while (o.childNodes[x].nodeType != 1){ (d)?x--:x++; }
return o.childNodes[x];
}
/*---------------------------------------------------------------------
lRB
Loop through a radiobox's children to find the selected node
return the value.
---------------------------------------------------------------------*/
function lRB (o){
var i=0;
if ( o.nodeType ) return o.value;
while (o[i]){
if (o[i++].checked) return o[--i].value;
}
}
<!-- Generation time: 0 -->


