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

sIFR.useStyleCheck = true; 

sIFR.activate(Duepuntozero); 

sIFR.replace(Duepuntozero, {
	selector: '#menu ul li.active' 
	,css: {	'.sIFR-root' : { 'color': '#009245' }
		,'a': { 'color': '#005A8C', 'text-decoration': 'none' }
		,'a:hover': { 'color': '#005A8C', 'text-decoration': 'none' }
	} 
	,wmode: 'transparent' 
	,fixWrap: true 
	,fitExactly: true 
	,forceWidth: true 
	,tuneHeight: -8
}); 

sIFR.replace(Duepuntozero, {
	selector: '#menu ul li' 
	,css: {	'.sIFR-root' : { 'color': '#009245' }
		,'a': { 'color': '#009245', 'text-decoration': 'none' }
		,'a:hover': { 'color': '#005A8C', 'text-decoration': 'none' }
	} 
	,wmode: 'transparent' 
	,fixWrap: true 
	,fitExactly: true 
	,forceWidth: true 
	,tuneHeight: -8
}); 

sIFR.replace(Duepuntozero, {
	selector: 'h2' 
	,css: {'.sIFR-root' : { 'color': '#009245' }, 'em': { 'font-style': 'normal' }} 
	,wmode: 'transparent' 
	,fixWrap: true 
	,fitExactly: true 
	,forceWidth: true 
	,tuneHeight: -8

}); 

sIFR.replace(Duepuntozero, {
	selector: 'h1' 
	,css: {	'.sIFR-root' : { 'color': '#009245' }
		,'em' : { 'font-style': 'normal' }
		,'a' : { 'color': '#009245' }
	} 
	,wmode: 'transparent' 
	,fixWrap: true 
	,fitExactly: true 
	,forceWidth: true 
	,tuneHeight: -8
}); 


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;
}