<!--

  if (window != top) top.location.href = location.href;

  // ok, we have a JavaScript browser

  var browserOK = true;
  var pics = new Array();

  var objCount = 0; // counts the number of (changing) images on web-page

function preload(name, first, second) {  

  // preload images and place them in an array

  if (browserOK) {     
    pics[objCount] = new Array(3);
    pics[objCount][0] = new Image();
    pics[objCount][0].src = first;
    pics[objCount][1] = new Image();
    pics[objCount][1].src = second;
    pics[objCount][2] = name;
    objCount++;
  }
}

function on(name){
  if (browserOK) {
     for (i = 0; i < objCount; i++) {
      if (document.images[pics[i][2]] != null)
        if (name != pics[i][2]) { 
          // set back all other pictures
          document.images[pics[i][2]].src = pics[i][0].src;
        } else {
           // show the second image because cursor moves across this image
           document.images[pics[i][2]].src = pics[i][1].src;
        }
    }
  }
}

function off(){
  if (browserOK) {
     for (i = 0; i < objCount; i++) {
      // set back all pictures
      if (document.images[pics[i][2]] != null) 
        document.images[pics[i][2]].src = pics[i][0].src;
    }
  }
}

// preload images - you have to specify which images should be preloaded
// and which Image-object on the wep-page they belong to (this is the first
// argument). Change this part if you want to use different images (of course
// you have to change the body part of the document as well)

preload("link1", "images/nav_top_home.jpg", "images/nav_top_home_on.jpg");
preload("link2", "images/nav_top_weddings2.jpg", "images/nav_top_weddings2_on.jpg");
preload("link3", "images/nav_top_bridals.jpg", "images/nav_top_bridals_on.jpg");
preload("link4", "images/nav_top_engage.jpg", "images/nav_top_engage_on.jpg");
preload("link5", "images/nav_top_family.jpg", "images/nav_top_family_on.jpg");
preload("link6", "images/nav_top_sports.jpg", "images/nav_top_sports_on.jpg");
preload("link7", "images/nav_top_seniors.jpg", "images/nav_top_seniors_on.jpg");
preload("link8", "images/nav_xub_contact.jpg", "images/nav_xub_contact_on.jpg");
preload("link9", "images/nav_xub_about.jpg", "images/nav_xub_about_on.jpg");
preload("link10", "images/nav_xub_gallery.jpg", "images/nav_xub_gallery_on.jpg");
preload("link11", "images/nav_xub_collect.jpg", "images/nav_xub_collect_on.jpg");
preload("link12", "images/nav_xub_prices.jpg", "images/nav_xub_prices_on.jpg");
preload("link13", "images/nav_xub_tell-a-friend.jpg", "images/nav_xub_tell-a-friend_on.jpg");
preload("link14", "images/nav_xub_mailing.jpg", "images/nav_xub_mailing_on.jpg");
preload("link15", "images/nav_xub_copyright.gif", "images/nav_xub_copyright_on.gif");

now = new Date();
month = now.getMonth();
var textMonth;

	if (month == 0) textMonth = "January ";
	if (month == 1) textMonth = "February ";
	if (month == 2) textMonth = "March ";
	if (month == 3) textMonth = "April ";
	if (month == 4) textMonth = "May ";
	if (month == 5) textMonth = "June ";
	if (month == 6) textMonth = "July ";
	if (month == 7) textMonth = "August ";
	if (month == 8) textMonth = "September ";
	if (month == 9) textMonth = "October ";
	if (month == 10)textMonth = "November ";
	if (month == 11)textMonth = "December ";

function confirm_email() {

  if (document.form.email.value == "") {
    alert('Sorry, you must enter your E-mail Address.');
    document.form.email.focus();
    return false;
  } else {
  if (confirm('Is   ' + document.form.email.value + '   correct?')) {
    return true;
    } else {
        document.form.email.focus();
        return false;
    }
  }

}

function changeColor(object, color) {
    object.bgColor = color;
}

//-->
