function doVerify()
{
	if (FrontPage_Form1.Company_name.value == "")
	{
		alert("Please enter your company name!");
		FrontPage_Form1.Company_name.focus();
		return false;
	}

	if (FrontPage_Form1.Contact_name.value == "")
	{
		alert("Please enter your contact name!");
		FrontPage_Form1.Contact_name.focus();
		return false;
	}
	if (FrontPage_Form1.Account_number.value == "")
	{
		alert("Please enter your account number!");
		FrontPage_Form1.Account_number.focus();
		return false;
	}
	if (FrontPage_Form1.Email_address.value == "")
	{
		alert("Please enter your e-mail address!");
		FrontPage_Form1.Email_address.focus();
		return false;
	}
	if (FrontPage_Form1.Phone.value == "")
	{
		alert("Please enter your phone number!");
		FrontPage_Form1.Phone.focus();
		return false;
	}
	if (FrontPage_Form1.Billing_address.value == "")
	{
		alert("Please enter your billing address!");
		FrontPage_Form1.Billing_address.focus();
		return false;
	}
	if (FrontPage_Form1.City.value == "")
	{
		alert("Please enter your city!");
		FrontPage_Form1.City.focus();
		return false;
	}
	if (FrontPage_Form1.State.value == "")
	{
		alert("Please enter your state!");
		FrontPage_Form1.State.focus();
		return false;
	}
	if (FrontPage_Form1.Zip.value == "")
	{
		alert("Please enter your zip!");
		FrontPage_Form1.Zip.focus();
		return false;
	}
	if (FrontPage_Form1.Delivery_address.value == "")
	{
		alert("Please enter your delivery address!");
		FrontPage_Form1.Delivery_address.focus();
		return false;
	}
	if (FrontPage_Form1.Project.value == "")
	{
		alert("Please enter your project!");
		FrontPage_Form1.Project.focus();
		return false;
	}
	if (FrontPage_Form1.Due_date.value == "")
	{
		alert("Please enter your due date!");
		FrontPage_Form1.Due_date.focus();
		return false;
	}
	return true;
}

function initImage( imgStr) {

  switch (imgStr)
 { 
	case 'home':
		imageId  = 'kim';
		imageId2 = 'clinic';
		break;
 }
 
  image  = document.getElementById( imageId );
  image2 = document.getElementById( imageId2 );
  
  if (image)
  {
      setOpacity(image, 0);
      image.style.visibility = 'visible';
      fadeIn(imageId,0);
      
      if (image2)
      {
        setOpacity(image, 0);
        image2.style.visibility = 'visible';
        fadeIn(imageId2,0);
      }   
  }
}

function setOpacity(obj, opacity) {
  opacity = (opacity == 100)?99.999:opacity;
  
  // IE/Win
  obj.style.filter = "alpha(opacity:"+opacity+")";
  // Safari<1.2, Konqueror
  obj.style.KHTMLOpacity = opacity/100;
  // Older Mozilla and Firefox
  obj.style.MozOpacity = opacity/100;
  // Safari 1.2, newer Firefox and Mozilla, CSS3
  obj.style.opacity = opacity/100;
}
function fadeIn(objId,opacity) {
  if (document.getElementById) {
    obj = document.getElementById(objId);
    if (opacity <= 100) {
      setOpacity(obj, opacity);
      opacity += 3;
      window.setTimeout("fadeIn('"+objId+"',"+opacity+")", 100);
    }
  }
}

