var godzilla = {
	src: '/includes/js/sifr/fonts/Godzilla.swf'
};

sIFR.useStyleCheck = true;

sIFR.activate(godzilla);

/*sIFR.debug.ratios({ src: 'styles/fonts/Godzilla.swf', selector: 'h1' });*/

sIFR.replace(godzilla, {
	selector: 'div#menu ul li'
	,css: {
		'.sIFR-root': { 'color': '#000000' } 
		,'a': { 'color': '#000000', 'text-decoration': 'none' } 
		,'a:hover': { 'color': '#7d2b34', 'text-decoration': 'none' } 
	} 
	,wmode: 'transparent' 
	,fitExactly: true 
	,filters: {
		DropShadow: {
			knockout: false
			,distance: 0
			,color: '#838383'
			,strength: 3
			,inner: false 
			,alpha: 1 
		} 
	}
});

sIFR.replace(godzilla, {
	selector: 'h1' 
	,css: {
		'.sIFR-root': { 'color': '#ffffff' } 
		,'a': { 'color': '#f5e9cc', 'text-decoration': 'none' } 
		,'a:hover': { 'color': '#d5c9ac', 'text-decoration': 'none' } 
	} 
	,wmode: 'transparent' 
	,fitExactly: true 
	,tuneHeight: -5 
	,filters: {
		DropShadow: {
			knockout: false 
			,distance: 0 
			,color: '#000000' 
			,strength: 10 
			,inner: false 
			,alpha: 0.5 
		} 
	} 
}); 

sIFR.replace(godzilla, {
	selector: 'h2' 
	,css: {
		'.sIFR-root': { 'color': '#ffffff' } 
		,'a': { 'color': '#f5e9cc', 'text-decoration': 'none' } 
		,'a:hover': { 'color': '#d5c9ac', 'text-decoration': 'none' } 
	} 
	,wmode: 'transparent' 
	,fitExactly: true 
	,tuneHeight: -5 
	,filters: {
		DropShadow: {
			knockout: false 
			,distance: 0 
			,color: '#000000' 
			,strength: 7 
			,inner: false 
			,alpha: 0.5 
		} 
	} 
});

sIFR.replace(godzilla, {
	selector: 'h3' 
	,css: {
		'.sIFR-root': { 'color': '#ffffff' } 
		,'a': { 'color': '#f5e9cc', 'text-decoration': 'none' } 
		,'a:hover': { 'color': '#d5c9ac', 'text-decoration': 'none' } 
	} 
	,wmode: 'transparent' 
	,fitExactly: true 
	,tuneHeight: -5 
	,filters: {
		DropShadow: {
			knockout: false 
			,distance: 0 
			,color: '#000000' 
			,strength: 7 
			,inner: false 
			,alpha: 0.5 
		} 
	} 
});
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;
}