<!--//--><![CDATA[//><!--

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>



function init()
{	
	adjustLayout();
	//moveDome();
	
	//google_analytics();
	
	pg_analytics();
}

function adjustLayout()  
{  

}

function adjustLayout()  
{  
 // Get natural heights  
 var content_height= xHeight("content");  
 var nav_height= xHeight("nav"); //the min height 
 
 // Find the maximum height  
 var max_height =  Math.max(content_height, nav_height);  
 
 // Assign maximum height to all columns  
 //xHeight("content", maxHeight);  
 xHeight("nav", max_height);  
 xHeight("content", max_height);  
 
 var dome = document.getElementById("dome");
 var dome_offset = max_height - 416 + "px"; //;
 
 if(navigator.appName == "Microsoft Internet Explorer"){
 	dome_offset = max_height - 409;
 }

 dome.style.top = dome_offset;
 
}

function google_analytics()
{
	ga_1();
	ga_2();
}

function ga_1()
{
	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"));
}

function ga_2()
{
	var pageTracker = _gat._getTracker("UA-5156530-1");
	pageTracker._initData();
	pageTracker._trackPageview();
}

function email_mailto(name, domain)
{
	document.write('<a href=\"mailto:' + name + '@' + domain + '\">');
	document.write(name + '@' + domain);
	document.write('</a>');
}