function correctPNGBackground( divId, imgURL ) // correctly handle PNG transparency in Win IE 5.5 , 6 & 7.
{
	var arVersion = navigator.appVersion.split("MSIE")
	var version = parseFloat(arVersion[1])
	if ((version >= 5.5) && (version < 7) && (document.body.filters)) 
	{
		var div = document.getElementById( divId );
		div.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+imgURL+"', sizingMethod='scale')";
		div.style.background = '';
	}    
}

function validateQuickContactForm() {
	var validator = new validateForm();
	validator.checkText( 'name', 'Your name' );
	validator.checkText( 'telephone', 'Your telephone number' );
	if ( validator.numberOfErrors() > 0 ) {
		validator.displayErrors();
		return false;
	} else {
		return true;
	}
}

function setClock(){
  var nd = new Date();
  var h, m;
  var time = " ";
  h = nd.getHours();
  m = nd.getMinutes();
  if (h <= 9) h = "0" + h;
  if (m <= 9) m = "0" + m;
  time += h + ":" + m;
  document.getElementById('clock').innerHTML = time;
}