<!-- Begin

// Check form function for "Customer Center Login"
// checks for user name

function Cust_Login_Validator()
{
  if (Cust_Login.login_id.value == "")
  {
    alert("Please enter your Customer ID/Access Code.");
    Cust_Login.login_id.focus();
    return (false);
  }
}

function Contact_Form_Validator()
{
	alert("This is the Contact Form Validator");
	return(false);
}

function noRightClick() {
  if (event.button==2) {
   alert('You may not right mouse click this page.')
  }
}

function resizeIframe(id) {
  try {
     frame = document.getElementById(id);

     // Get the document within the frame. This is where you will fail with 'permission denied'
     // if the document within the frame is not from the same domain as this document.
     // Note: IE uses 'contentWindow', Opera uses 'contentDocument', Netscape uses either.
     innerDoc = (frame.contentDocument) ? frame.contentDocument : frame.contentWindow.document;

     // Resize the style object, if it exists. Otherwise, resize the frame itself.
     objToResize = (frame.style) ? frame.style : frame;

     // Resize the object to the scroll height of the inner document body. You may still have 
     // to add a 'fudge' factor to get rid of the scroll bar entirely. With a plain-vanilla 
     // iframe, I found Netscape needs no fudge, IE needs 4 and Opera needs 5... 
     // Of course, your mileage may vary.
     objToResize.height = innerDoc.body.scrollHeight + 10;
  }
  catch (e) {
     window.status = e.message;
  }
}

function blockError(){return true;}
window.onerror = blockError;

// -->