$(document).ready(function() {
	$(".extranet-login .input-text").focus(function() {
		$(this).removeClass("gray");
	}).blur(function() {
		if ($(this).val().replace(/\s/g, "")=="") {
			$(this).val("").addClass("gray");
		}
	});
});
jQuery.preloadImages = function() {
  for(var i = 0; i<arguments.length; i++)  {
    jQuery("<img>").attr("src", arguments[i]);
  }
}
$.preloadImages("/images/bg-login-input.png");

function writeEmail(account) {
	document.write('<a href="mailto:');
	document.write(account);
	document.write('&#064'); //this is the "at" character
	document.write('decisioncounsel.');
	document.write('com">');
	document.write(account);
	document.write('&#064'); //this is the "at" character
	document.write('decisioncounsel.');
	document.write('com');
	document.write('</a>');
}

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {
var pageTracker = _gat._getTracker("UA-3667390-2");
pageTracker._trackPageview();
} catch(err) {}
