/* WTC JavaScript */

function adjustLayout()
{
  var lHeight = xHeight("sidebar");
  var rHeight = xHeight("content");
  var maxHeight = 0;

  var maxHeight = Math.max(lHeight, rHeight);
  
  if (lHeight > rHeight) {
	  xHeight("sidebar", maxHeight);
	  xHeight("content", maxHeight+100);
  }
  else if ((rHeight - lHeight) < 99) {
	  xHeight("sidebar", maxHeight);
	  xHeight("content", maxHeight+(100-(rHeight - lHeight)));
  }
  else {
  	  xHeight("sidebar", maxHeight-100);
	  xHeight("content", maxHeight);
  }
  
  xShow("footer");
}

window.onload = function()
{
  // xAddEventListener(window, "resize", adjustLayout, false);
  adjustLayout();
}

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-7159519-2"); 
	pageTracker._trackPageview(); 
} catch(err) {}
