lpp=(function(d,w){
    d.id=document.getElementById;
    return{
        prei:function() {
            if(d.images){if(!d.MM_p)d.MM_p=new Array();
            var i,j=d.MM_p.length,a=lpp.prei.arguments; for(i=0; i<a.length; i++)
            if (a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}
            return this;
        },
        fblin:function(){
            fbl=d.createElement('iframe');
            with(fbl){
                src='http://www.facebook.com/plugins/like.php?app_id=119088588128385&href=http%253A%252F%252Fpolitecnicopitrufquen.cl%252F&send=false&layout=box_count&width=450&show_faces=false&action=like&colorscheme=light&height=90';
                id='fb-like';
                allowTransparency='yes';
                frameBorder='no';
            }
            d.id('hfly').appendChild(fbl);
            return this;
        },
        twid:function(account){
            new TWTR.Widget({
                version:2,type:'profile',rpp:3,interval:30000,width:'auto',height:200,
                theme:{shell:{background:'#FFD900',color:'#000'},tweets:{background:'#ffffff',color:'#000000',links:'#0000ff'}},
                    features:{scrollbar:true,loop:false,live:false,hashtags:true,timestamp:true,avatars:false,behavior:'all'}
            }).render().setUser(account).start();
        }
    }
})(document,window);

