//JavaScript
function colEQ3 () {
//left, ctr, right
        var lefth, righth, centerh, difL, difC, difR;
        lefth=document.getElementById('left').offsetHeight;
		centerh=document.getElementById('ctr').offsetHeight;
		righth=document.getElementById('right').offsetHeight;
if ((lefth >= righth) && (lefth >= centerh)) {
		difL=0;
		difC=lefth-centerh;
		difR=lefth-righth;
}

if ((righth >= lefth) && (righth >= centerh)) {
		difL=righth-lefth;
		difC=righth-centerh;
		difR=0;
}

if ((centerh >= lefth) && (centerh >= righth)) {
		difL=centerh-lefth;
		difC=0;
		difR=centerh-righth;
}
document.getElementById('left').style.paddingBottom=difL+"px";
document.getElementById('ctr').style.paddingBottom=difC+"px";
document.getElementById('right').style.paddingBottom=difR+"px";

}

function colEQ2 () {
//left, both
        var lefth, bothh, dif;
        lefth=document.getElementById('left').offsetHeight;
		bothh=document.getElementById('both').offsetHeight;
if (lefth > bothh) {
		dif=lefth-bothh;
		document.getElementById('both').style.paddingBottom=dif+"px";
}

if (bothh > lefth) {
		dif=bothh-lefth;
		document.getElementById('left').style.paddingBottom=dif+"px";
}
}

function colEQabout () {
//left, both
        var colLh, colRh, dif;
        colLh=document.getElementById('colL').offsetHeight;
		colRh=document.getElementById('colR').offsetHeight;
if (colLh > colRh) {
		dif=colLh-colRh+10;
		document.getElementById('aboutR').style.paddingTop=dif+"px";
}

if (colRh > colLh) {
		dif=colRh-colLh+10;
		document.getElementById('aboutL').style.paddingTop=dif+"px";
}
}

function formCheck(){
if (document.newsletter.CompanyName.value==""){
   alert("Please enter your Company Name.");
   document.newsletter.CompanyName.focus();
   return false;
}
if (document.newsletter.Name.value==""){
   alert("Please enter your Name.");
   document.newsletter.Name.focus();
   return false;
}
if (document.newsletter.Title.value==""){
   alert("Please enter your Title.");
   document.newsletter.Title.focus();
   return false;
}
if (document.newsletter.Phone.value==""){
   alert("Please enter your Phone.");
   document.newsletter.Phone.focus();
   return false;
}
if (document.newsletter.Email.value==""){
   alert("Please enter your Email.");
   document.newsletter.Email.focus();
   return false;
}
if (document.newsletter.ConfirmEmail.value==""){
   alert("Please confirm your Email.");
   document.newsletter.ConfirmEmail.focus();
   return false;
}
if (document.newsletter.Email.value != document.newsletter.ConfirmEmail.value) {
        alert("Email address and confirmed Email address don't match, please, confirm your email address again.");
        document.newsletter.ConfirmEmail.focus();
        document.newsletter.ConfirmEmail.select();
        return false;
}
if (document.newsletter.State.value==""){
   alert("Please enter your State.");
   document.newsletter.State.focus();
   return false;
}
if (document.newsletter.Website.value==""){
   alert("Please enter your Website.");
   document.newsletter.Website.focus();
   return false;
}


}









