/* sIFR */
var HelveticaFull= { src: "/includes/js/sifr/fonts/HelveticaFull.swf" }; 

sIFR.useStyleCheck = true; 

sIFR.activate(HelveticaFull); 

sIFR.replace(HelveticaFull, {
	selector: 'h2' 
	,css: {
		'.sIFR-root': { 'color': '#595882' } 
		,'em': { 'font-size': '70%', 'font-style': 'normal' } 
		,'a': { 'color': '#595882', 'text-decoration': 'none' } 
		,'a:hover': { 'color': '#000000', 'text-decoration': 'none' } 
	} 
	,wmode: 'transparent' 
	,fixWrap: true 
	,fitExactly: true 
	,forceWidth: true 

}); 
function mail(code)
{
	var decoded = "";

	splitString = code.split(".");
	for (var i = 0; i < splitString.length; i++)
	{
		decoded += String.fromCharCode(splitString[i]-10);	
	}

	window.location.href = "mailto:" + decoded;
}
function Adjust()
{
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' )
	{
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	}
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
	{
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}

	if ( document.getElementById('cust_content') )
		document.getElementById('cust_content').style.height = myHeight-70+'px';
}
