// just 'till things get indexed.

function message() {
        alert('You are about to use a Google Site Search. \n Unfortunately, it takes several weeks for \n Google to index the entire web, this site \n included. So for some time following 3/1/04 \n you might not get much in the way of results. \n Just so you know.');
        return true;
}


function iBill() {
        alert('You are now leaving www.DavidColarusso.com and will be asked to provide payment information\nto iBill. After you have paied, you will be sent back here to active your account.');
        return true;
}

function coming() {
        alert('Coming Soon? Your guess is as good as mine.\nI like to keep about twenty irons in the fire at a time.');
        return true;
}


function comingSoon() {
        alert('Coming Soon.');
        return true;
}

function mustlog() {
        alert('You must login to view this feature.');
        return true;
}

function notyet() {
        alert('This feature will be available when \n this site opens for business.');
        return true;
}

function checkbrows() {
var browserName=navigator.appName; 
var browserVer=parseInt(navigator.appVersion); 
if ((browserName=="Netscape" && browserVer>=5) || (browserName=="Microsoft Internet Explorer" && browserVer>=4)) {
version="good"; 
} else {
version="bad"; 
}
if (version=="bad") {
alert("I hate to point this out, but your browser seems quite old. \nI only mention this because it's probably making this page \nlook like crap. Please consider an update."); 
}

}
//////-----------------------------------
function changeDiv(the_div,the_change)
{
  var the_style = getStyleObject(the_div);
  if (the_style != false)
  {
    the_style.display = the_change;
  }
}

function hideStartSec()
{
  changeDiv("start_section","none");
}

function getStyleObject(objectId) {
  if (document.getElementById && document.getElementById(objectId)) {
    return document.getElementById(objectId).style;
  } else if (document.all && document.all(objectId)) {
    return document.all(objectId).style;
  } else {
    return false;
  }
}
/////------------------------------------

//show OR hide funtion depends on if element is shown or hidden
function shoh(id) { 
    
    if (document.getElementById) { // DOM3 = IE5, NS6
        if (document.getElementById(id).style.display == "none"){
            document.getElementById(id).style.display = 'block';
        } else {
            document.getElementById(id).style.display = 'none';         
        }   
    } else { 
        if (document.layers) {  
            if (document.id.display == "none"){
                document.id.display = 'block';
            } else {
                document.id.display = 'none';
            }
        } else {
            if (document.all.id.style.visibility == "none"){
                document.all.id.style.display = 'block';
            } else {
                document.all.id.style.display = 'none';
            }
        }
    }
}

