﻿
(function(){
    var m=typeof fainfo_mode=='string'?fainfo_mode:'';
    var h=66;
    var w=62;
    if(m=='horizontal'){
        h=20;w=180;
    }
    else if(m=='icon'){
        h=16;w=16;
    }
    var url=typeof fainfo_url=='string'?fainfo_url:(typeof FAINFO_URL=='string'?FAINFO_URL:window.location.href);
    document.write("<iframe src='http://fai.informazione.it/rpostart.aspx?u="+ encodeURIComponent(url)+
        (typeof fainfo_title=='string'?('&t='+encodeURIComponent(fainfo_title)):'')+
        (typeof fainfo_description=='string'?('&d='+encodeURIComponent(fainfo_description)):'')+
        (typeof fainfo_section=='string'?('&s='+encodeURIComponent(fainfo_section)):'')+
        (typeof fainfo_multimedia=='string'?('&mu='+encodeURIComponent(fainfo_multimedia)):'')+
        (typeof fainfo_bgcolor=='string'?('&c='+encodeURIComponent(fainfo_bgcolor)):'')+
        (m?('&m='+m):'')+"' height='"+h+"' width='"+w+"' frameborder='0' scrolling='no'></iframe>");}
  )()
            
   

