var is_dhtml=0;
var is_id=0;
var is_all=0;
var is_layers=0;
if(document.getElementById){
is_id=1;
is_dhtml=1;
}else if(document.all){
is_all=1;
is_dhtml=1;
}else if(document.layers){
is_layers=1;
is_dhtml=1;
}else{
alert("You're browser is not DHTML compatible. Please update your browser. Firefox, Internet Explorer for PC, and Safari are all valid browsers.");
alert(document.getElementByID);
} 
function find_dom(object_id){
if(is_id){
return (document.getElementById(object_id));
}else if(is_all){
return (document.all[object_id]);
}else if(is_layers){
return (document.layers[object_id]);
}else{
alert("DOM object cannot be found. Your browser doesn't support DHTML");
return false; 
}
}
function find_style(object_id){
if(is_id){
return (document.getElementById(object_id).style);
}else if(is_all){
return (document.all[object_id].style);
}else if(is_layers){
return (document.layers[object_id]);
}else{
alert("DOM object cannot be found. Your browser doesn't support DHTML");
return false; 
}  
}
