/**
 * @author ragoncalves
  */
function setHeadlines(data) {
    IOL360W_Engine.update(data);
}
var _IOLjQueryInstalled= typeof(jQuery)=='function' ? true : false;	
var _IOLwrite=function (content){
    var prependChild = function(parent, node) {
        parent.insertBefore(node, parent.firstChild);
    }
    var decContent = decodeURIComponent(content)
    //document.writeln(decodeURIComponent(content));
    var divBarra = document.createElement("div")
    divBarra.id = "IOL360RON_barraiol"
    divBarra.innerHTML = decContent
    var bodyEl = document.getElementsByTagName("body")[0]
    prependChild(bodyEl, divBarra)

    /* http versus https */
    var urlbarra='http://barra.iol.pt/script';
    if(location.protocol=='http:') urlbarra='http://barra.iol.pt/script';
    else if(location.protocol=='https:') urlbarra='https://barra.iol.pt/script';

    document.getElementById('IOL360RON_barraiol').style.cssText='background:url('+urlbarra+'/img/bg.gif); height:24px; font-family:Arial, Tahoma, sans-serif !important; font-size:11px; color:#FFF; text-align:left; min-width:972px; position:relative;border-bottom:solid 1px #fff';
    document.getElementById('li_iol').style.cssText='padding:2px 13px 0 13px; margin:4px 0 0 1px; font-weight:bold; background:url('+urlbarra+'/img/dot.gif) repeat-y right';
    document.getElementById('li_webmail').style.cssText='padding:2px 13px 0 13px; margin:4px 0 0 1px; font-weight:bold; background:url('+urlbarra+'/img/dot.gif) repeat-y right';
    document.getElementById('li_empresas').style.cssText='padding:2px 13px 0 13px; margin:4px 0 0 1px; font-weight:bold; background:url('+urlbarra+'/img/dot.gif) repeat-y right';
    document.getElementById('li_noticias').style.cssText='padding:2px 13px 0 13px; margin:4px 0 0 1px; font-weight:bold; background:url('+urlbarra+'/img/dot.gif) repeat-y right';
    document.getElementById('logo_iol').src=urlbarra+'/img/logo.gif';
    document.getElementById('logo_iol_hp').src=urlbarra+'/img/home.gif';
}
var _IOLaddCSS=function(content){
    var cssText=decodeURIComponent(content);
    var failed = true
    try {
        var head = document.getElementsByTagName("head")[0]
        var style = document.createElement("style")
        style.type = "text/css"
        style.innerHTML = cssText
        head.appendChild(style)
        failed=false
    }
    catch (err) {
        failed = true
    }
    if(failed && cssText.indexOf('{')!=-1&&cssText.indexOf('}')!=-1){
        // Se nao ha elementos style definidos no site, criar !
        if(Number(document.styleSheets.length)==0){
            document.getElementsByTagName('head')[0].appendChild(document.createElement('style'));
        }

        var tmp=cssText.split("}");
        var etmp='';
        var x=document.styleSheets[0];
        var i=0;


        if(typeof x.cssRules!='undefined'){
            //for(i in tmp){ IE FAIL
            for(i=0;i<tmp.length;i++){
                if(tmp[i].indexOf('{')!=-1){
                    var rule = tmp[i]+'}';
                    x.insertRule(rule, x.cssRules.length);
                }
            }
        }else{
            //for(i in tmp){ IE FAIL
            for(i=0;i<tmp.length;i++){
                if(tmp[i].indexOf('{')!=-1){
                    etmp=tmp[i].split('{');
                    x.addRule(etmp[0],etmp[1]);
                }
            }
        }
    }
};
function IOL360W_Delegate(){}IOL360W_Delegate.create=function(o,f){
    var a=new Array();var l=arguments.length;for(var i=2;i<l;i++)a[i-2]=arguments[i];return function(){
        var aP=[].concat(arguments,a);f.apply(o,aP);
    }
};
IOL360W_Tween=function(obj,prop,func,begin,finish,duration,suffixe){
    this.init(obj,prop,func,begin,finish,duration,suffixe)
};
var IOL360W_t=IOL360W_Tween.prototype;
IOL360W_t.obj=new Object();
IOL360W_t.prop='';
IOL360W_t.func=function(t,b,c,d){
    return c*t/d+b;
};
IOL360W_t.begin=0;
IOL360W_t.change=0;
IOL360W_t.prevTime=0;
IOL360W_t.prevPos=0;
IOL360W_t.looping=false;
IOL360W_t._duration=0;
IOL360W_t._time=0;
IOL360W_t._pos=0;
IOL360W_t._position=0;
IOL360W_t._startTime=0;
IOL360W_t._finish=0;
IOL360W_t.name='';
IOL360W_t.suffixe='';
IOL360W_t._listeners=new Array();

IOL360W_t.setTime=function(t){
    this.prevTime=this._time;if(t>this.getDuration()){
        if(this.looping){
            this.rewind(t-this._duration);this.update();this.broadcastMessage('onMotionLooped',{
                target:this,
                type:'onMotionLooped'
            });
        }else{
            this._time=this._duration;this.update();this.stop();this.broadcastMessage('onMotionFinished',{
                target:this,
                type:'onMotionFinished'
            });
        }
    }else if(t<0){
        this.rewind();this.update();
    }else{
        this._time=t;this.update();
    }
};
IOL360W_t.getTime=function(){
    return this._time;
};
IOL360W_t.setDuration=function(d){
    this._duration=(d==null||d<=0)?100000:d;
};
IOL360W_t.getDuration=function(){
    return this._duration;
};
IOL360W_t.setPosition=function(p){
    this.prevPos=this._pos;var a=this.suffixe!=''?this.suffixe:'';this.obj[this.prop]=Math.round(p)+a;this._pos=p;this.broadcastMessage('onMotionChanged',{
        target:this,
        type:'onMotionChanged'
    });
};
IOL360W_t.getPosition=function(t){
    if(t==undefined)t=this._time;return this.func(t,this.begin,this.change,this._duration);
};
IOL360W_t.setFinish=function(f){
    this.change=f-this.begin;
};
IOL360W_t.geFinish=function(){
    return this.begin+this.change;
};
IOL360W_t.init=function(obj,prop,func,begin,finish,duration,suffixe){
    if(!arguments.length)return;this._listeners=new Array();this.addListener(this);if(suffixe)this.suffixe=suffixe;this.obj=obj;this.prop=prop;this.begin=begin;this._pos=begin;this.setDuration(duration);if(func!=null&&func!=''){
        this.func=func;
    }this.setFinish(finish);
};
IOL360W_t.start=function(){
    this.rewind();this.startEnterFrame();this.broadcastMessage('onMotionStarted',{
        target:this,
        type:'onMotionStarted'
    });
};
IOL360W_t.rewind=function(t){
    this.stop();this._time=(t==undefined)?0:t;this.fixTime();this.update();
};
IOL360W_t.fforward=function(){
    this._time=this._duration;this.fixTime();this.update();
};
IOL360W_t.update=function(){
    this.setPosition(this.getPosition(this._time));
};
IOL360W_t.startEnterFrame=function(){
    this.stopEnterFrame();this.isPlaying=true;this.onEnterFrame();
};
IOL360W_t.onEnterFrame=function(){
    if(this.isPlaying){
        this.nextFrame();setTimeout(IOL360W_Delegate.create(this,this.onEnterFrame),0);
    }
};
IOL360W_t.nextFrame=function(){
    this.setTime((this.getTimer()-this._startTime)/1000);
};
IOL360W_t.stop=function(){
    this.stopEnterFrame();this.broadcastMessage('onMotionStopped',{
        target:this,
        type:'onMotionStopped'
    });
};
IOL360W_t.stopEnterFrame=function(){
    this.isPlaying=false;
};
IOL360W_t.continueTo=function(finish,duration){
    this.begin=this._pos;this.setFinish(finish);if(this._duration!=undefined)this.setDuration(duration);this.start();
};
IOL360W_t.resume=function(){
    this.fixTime();this.startEnterFrame();this.broadcastMessage('onMotionResumed',{
        target:this,
        type:'onMotionResumed'
    });
};
IOL360W_t.yoyo=function(){
    this.continueTo(this.begin,this._time);
};
IOL360W_t.addListener=function(o){
    this.removeListener(o);return this._listeners.push(o);
};
IOL360W_t.removeListener=function(o){
    var a=this._listeners;var i=a.length;while(i--){
        if(a[i]==o){
            a.splice(i,1);return true;
        }
    }return false;
};
IOL360W_t.broadcastMessage=function(){
    var arr=new Array();for(var i=0;i<arguments.length;i++){
        arr.push(arguments[i])
    }var e=arr.shift();var a=this._listeners;var l=a.length;for(var i=0;i<l;i++){
        if(a[i][e])a[i][e].apply(a[i],arr);
    }
};
IOL360W_t.fixTime=function(){
    this._startTime=this.getTimer()-this._time*1000;
};
IOL360W_t.getTimer=function(){
    return new Date().getTime()-this._time;
};
IOL360W_backEaseIn=function(t,b,c,d,a,p){
    if(s==undefined)var s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;
};
IOL360W_backEaseOut=function(t,b,c,d,a,p){
    if(s==undefined)var s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;
};
IOL360W_backEaseInOut=function(t,b,c,d,a,p){
    if(s==undefined)var s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;
};
IOL360W_strongEaseIn=function(t,b,c,d){
    return c*(t/=d)*t*t*t*t+b;
};
IOL360W_strongEaseOut=function(t,b,c,d){
    return c*((t=t/d-1)*t*t*t*t+1)+b;
};
IOL360W_OpacityTween.prototype=new IOL360W_Tween();
IOL360W_OpacityTween.prototype.constructor=IOL360W_Tween;
IOL360W_OpacityTween.superclass=IOL360W_Tween.prototype;
function IOL360W_OpacityTween(obj,func,fromOpacity,toOpacity,duration){
    this.targetObject=obj;this.init(new Object(),'x',func,fromOpacity,toOpacity,duration);
};
var IOL360W_o=IOL360W_OpacityTween.prototype;IOL360W_o.targetObject={};IOL360W_o.onMotionChanged=function(evt){
    var v=evt.target._pos;
    var t=this.targetObject;
    t.style['opacity']=v/100;
    t.style['-moz-opacity']=v/100;
    if(typeof(t.filters)=='object'){
        if(typeof(t.filters.alpha)=='object'){
            t.filters.alpha['opacity']=v;
        }
    }
};
function IOL360W_Sequence(){
    this.children=new Array();
    this.currentChildIndex=0;
    this._listeners=new Array();
    this.nextObject=new Object();
    this.addListener(this);
};

var IOL360W_s=IOL360W_Sequence.prototype;

IOL360W_s.addChild=function(tween){
    this.children.push(tween)
};
IOL360W_s.removeChild=function(tween){
    var a=this.children;var i=a.length;while(i--){
        if(a[i]==tween){
            a.splice(i,1);return true;
        }
    }return false;
};
IOL360W_s.start=function(){
    this.rewind();this.play();this.broadcastMessage('onMotionStarted',{
        target:this,
        type:'onMotionStarted'
    });
};
IOL360W_s.next=function(){
    this.children[this.currentChildIndex].removeListener(this.nextObject);if(this.currentChildIndex<this.children.length-1){
        this.currentChildIndex++;this.play();
    }else{
        this.stop();this.broadcastMessage('onMotionFinished',{
            target:this,
            type:'onMotionFinished'
        });
    }
};
IOL360W_s.play=function(){
    this.nextObject=new Object();
    this.nextObject.onMotionFinished=IOL360W_Delegate.create(this,this.next);
    this.children[this.currentChildIndex].addListener(this.nextObject);
    this.children[this.currentChildIndex].start();
};
IOL360W_s.stop=function(){
    this.children[this.currentChildIndex].stop();this.broadcastMessage('onMotionStopped',{
        target:this,
        type:'onMotionStopped'
    });
};
IOL360W_s.rewind=function(){
    this.children[this.currentChildIndex].removeListener(this.nextObject);this.currentChildIndex=0;for(var i=0;i<this.children.length;i++){
        this.children[i].rewind();
    }
};
IOL360W_s.fforward=function(){
    this.children[this.currentChildIndex].removeListener(this.nextObject);for(var i=0;i<this.children.length;i++){
        this.children[i].fforward();
    }this.currentChildIndex=this.children.length-1;
};
IOL360W_s.resume=function(){
    this.children[this.currentChildIndex].resume();this.broadcastMessage('onMotionResumed',{
        target:this,
        type:'onMotionStopped'
    });
};
IOL360W_s.addListener=function(o){
    this.removeListener(o);return this._listeners.push(o);
};
IOL360W_s.removeListener=function(o){
    var a=this._listeners;var i=a.length;while(i--){
        if(a[i]==o){
            a.splice(i,1);return true;
        }
    }return false;
};
IOL360W_s.broadcastMessage=function(){
    var arr=new Array();for(var i=0;i<arguments.length;i++){
        arr.push(arguments[i])
    }var e=arr.shift();var a=this._listeners;var l=a.length;for(var i=0;i<l;i++){
        if(a[i][e])a[i][e].apply(a[i],arr);
    }
};
var IOL360W_Engine={
    currentnews:0,
    currentlink:0,
    news:[],
    links:[],
    runnews_s:null,
    runlinks_s:null,
    update:function(data) {
        if (this.runnews_s == null) {
            this.loadData(data)
        }
        else {
            this.runlinks_s.rewind();
            this.runlinks_s.stop();
            this.runnews_s.rewind();
            this.runnews_s.stop();
            this.news=[];
            this.links=[];
            this.loadData(data)
            this.currentnews=50000; //so that it is reset
            this.currentlink=50000;
            this.runlinks_s.start();
            this.runnews_s.start();
        }
    },
    addnews:function(news){
        this.news.push(news);
    },
    addlink:function(links){
        this.links.push(links);
    },
    nextnews:function(){
        var result='';
        var i=this.currentnews;
        if(this.news.length>0){
            this.currentnews++;
            if(this.currentnews>(this.news.length-1)){
                this.currentnews=0;
            }
            result=this.news[i];
        }
        return result;
    },
    nextlink:function(){
        var result='';
        var i=this.currentlink;
        if(this.links.length>0){
            this.currentlink++;
            if(this.currentlink>(this.links.length-1)){
                this.currentlink=0;
            }
            result=this.links[i];
        }
        //alert("i (this.currentlink): "+i+"\n\nthis.links.length: "+this.links.length+"\n\nresult.html: "+result.html);
        return result;
    },
    loadData:function(data){
        var i=null;var obj=null;if(typeof(data)=='object'){
            var _IOLnews=data[0];
            var _IOLlinks=data[1];
            //for(i in _IOLnews){
            for(i=0;i<_IOLnews.length;i++){
                obj={
                    'news':'<a href="'+_IOLnews[i]['url']+'">'+_IOLnews[i]['titulo']+'</a>',
                    'time':_IOLnews[i]['hora']
                };
                this.addnews(obj);
            }
            //for(i in _IOLlinks){
            for(i=0;i<_IOLlinks.length;i++){
                obj={
                    'html':_IOLlinks[i]['html']
                };
                this.addlink(obj);
            }
        }
    },
    actionsnews:{
        onMotionFinished:function(){
            var obj=IOL360W_Engine.nextnews();var html=obj.time+' | '+obj.news;document.getElementById('IOL360RON_news').innerHTML=html;
        }
    },
    actionslinks:{
        onMotionFinished:function(){
            var obj=IOL360W_Engine.nextlink();
            document.getElementById('IOL360RON_links').innerHTML=obj.html;
        }
    },
    anime:function(id,b,e,t,actions){
        var tmp_anime=new IOL360W_OpacityTween(document.getElementById(id),IOL360W_Tween.bounceEaseOut,b,e,t);if(actions!=null){
            tmp_anime.addListener(actions);
        }
        return tmp_anime;
    },
    runnews:function(){
        this.runnews_s=new IOL360W_Sequence();
        this.runnews_s.addChild(this.anime('IOL360RON_news',100,0,1,this.actionsnews));
        this.runnews_s.addChild(this.anime('IOL360RON_news',0,100,1,null));
        this.runnews_s.start();
    },
    runlinks:function(){
        this.runlinks_s=new IOL360W_Sequence();
        this.runlinks_s.addChild(this.anime('IOL360RON_links',100,0,1,this.actionslinks));
        this.runlinks_s.addChild(this.anime('IOL360RON_links',0,100,1,null));
        this.runlinks_s.start();
    },
    play:function(n,l){
        window.setInterval("IOL360W_Engine.runnews()",n*1000);
        window.setInterval("IOL360W_Engine.runlinks()",l*1000);
    }
};

_IOLaddCSS('%23IOL360RON_barraiol%20a%20%7Bcolor%3A%23FFF%3B%20text-decoration%3Anone%3Bfont-family%3AArial%2C%20Tahoma%2C%20sans-serif%20%21important%3B%7D%0D%0A%23IOL360RON_barraiol%20a%3Ahover%20%7Bcolor%3A%23FC0%3B%20text-decoration%3Anone%3B%20border-bottom%3Adotted%201px%20%23E2E2E2%7D%0D%0A%23IOL360RON_barraiol%20img%20%20%7Bborder%3A0%7D%0D%0A%23IOL360RON_barraiol%20ul%20%7Bwidth%3A972px%3B%20height%3A27px%3B%20margin%3A0%3B%20padding%3A0%7D%0D%0A%23IOL360RON_barraiol%20li%20%7Bfloat%3Aleft%3B%20height%3A16px%3B%20list-style%3Anone%7D%0D%0A%23IOL360RON_barraiol%20li.IOL360RON_bioln%20%7Boverflow%3Ahidden%7D%0D%0A%23IOL360RON_barraiol%20li.IOL360RON_bioln%20.IOL360RON_biolt%20%7Bdisplay%3Ablock%3B%20float%3Aleft%3B%20margin-right%3A8px%3B%7D%0D%0A%23IOL360RON_barraiol%20li.IOL360RON_bioln%20ul%20%7Bfloat%3Aleft%3B%20width%3A400px%3B%20color%3A%23E2E2E2%3B%20overflow%3Ahidden%3B%20padding-left%3A0px%3B%20font-weight%3Anormal%7D%0D%0A%23IOL360RON_barraiol%20li.IOL360RON_bioln%20li%20a%20%7Bcolor%3A%23FFE589%7D%0D%0A%23IOL360RON_barraiol%20li.IOL360RON_biold%20%7Bpadding%3A2px%2013px%200%2013px%3B%20margin%3A4px%200%200%201px%3B%20width%3A190px%3B%20overflow%3A%20hidden%3B%7D%0D%0A%23IOL360RON_barraiol%20li.IOL360RON_biold%20img%20%7Bvertical-align%3Amiddle%7D%0D%0A%23IOL360RON_barraiol%20.IOL360RON_bioll%20%7Bposition%3Aabsolute%3B%20top%3A0%3B%20right%3A0%3B%20width%3A37px%7D');
_IOLwrite('%3C%21--%3Cdiv%20id%3D%22IOL360RON_barraiol%22%3E--%3E%0D%0A%20%20%3Cul%3E%0D%0A%20%20%20%20%3Cli%20class%3D%22IOL360RON_biola%22%20id%3D%22li_iol%22%3E%3Ca%20href%3D%22http%3A%2F%2Fwww.iol.pt%22%20target%3D%22_top%22%3EIOL.pt%3C%2Fa%3E%3C%2Fli%3E%0D%0A%20%20%20%20%3Cli%20class%3D%22IOL360RON_biola%22%20id%3D%22li_webmail%22%3E%3Ca%20href%3D%22http%3A%2F%2Fwebmail.iol.pt%22%20target%3D%22_top%22%3ECorreio%3C%2Fa%3E%3C%2Fli%3E%0D%0A%20%20%20%20%3Cli%20class%3D%22IOL360RON_biola%22%20id%3D%22li_empresas%22%3E%3Ca%20href%3D%22http%3A%2F%2Fdirectorio.iol.pt%22%20target%3D%22_top%22%3EEmpresas%3C%2Fa%3E%3C%2Fli%3E%0D%0A%20%20%20%20%3Cli%20class%3D%22IOL360RON_biola%20IOL360RON_bioln%22%20id%3D%22li_noticias%22%3E%0D%0A%20%20%20%20%20%20%3C%21--%3Ca%20href%3D%22http%3A%2F%2Fwww.iol.pt%2F%22%20target%3D%22_top%22%20class%3D%22IOL360RON_biolt%22%3ENot%26iacute%3Bcias%3A%3C%2Fa%3E--%3E%0D%0A%20%20%20%20%20%20%3Ca%20href%3D%22http%3A%2F%2Fwww.iol.pt%2Fultimahora.html%22%20target%3D%22_top%22%20class%3D%22IOL360RON_biolt%22%3E%26Uacute%3Bltima%20hora%3A%3C%2Fa%3E%0D%0A%20%20%20%20%20%20%3C%21--ticker%20das%20ultimas%2015%20noticias%20da%20Ultima%20Hora%20do%20PD--%3E%0D%0A%20%20%20%20%20%20%3Cul%3E%0D%0A%20%20%20%20%20%20%20%20%3Cli%20id%3D%22IOL360RON_news%22%3E%3C%2Fli%3E%0D%0A%20%20%20%20%20%20%3C%2Ful%3E%0D%0A%20%20%20%20%3C%2Fli%3E%0D%0A%20%20%20%20%3Cli%20id%3D%22IOL360RON_links%22%20class%3D%22IOL360RON_biold%22%3E%0D%0A%20%20%20%20%3C%21--Ticher%20com%20destaques%20mais%20lento%20que%20o%20da%20UH--%3E%0D%0A%20%20%20%20%20%20%3Ca%20href%3D%22%23%22%3E%3C%21--possibilidade%20de%20colocar%20imagem--%3E%3Cimg%20id%3D%22logo_iol_hp%22%20alt%3D%22Fa%26ccedil%3Ba%20do%20IOL%20a%20sua%20homepage%22%20%2F%3EFa%26ccedil%3Ba%20do%20IOL%20a%20sua%20homepage%3C%2Fa%3E%0D%0A%20%20%20%20%3C%2Fli%3E%0D%0A%20%20%3C%2Ful%3E%0D%0A%20%20%20%20%3Cdiv%20class%3D%22IOL360RON_bioll%22%3E%0D%0A%20%20%20%20%20%20%3Ca%20href%3D%22http%3A%2F%2Fwww.iol.pt%22%20target%3D%22_top%22%3E%3Cimg%20id%3D%22logo_iol%22%20alt%3D%22iol.pt%22%20%2F%3E%3C%2Fa%3E%0D%0A%20%20%20%20%3C%2Fdiv%3E%0D%0A%3C%21--%3C%2Fdiv%3E--%3E');
_IOLobjectData=[[
  {
    "id": 1189560,
    "titulo": "Lexus IS com vers\u00E3o 200d de 150 cv",
    "url": "http://www.autoportal.iol.pt/noticias/novidades/lexus-is-com-versao-200d-de-150-cv",
    "hora": "02:22",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189559,
    "titulo": "F2: Dean Stoneman vence em Oschersleben e est\u00E1 mais perto do t\u00EDtulo",
    "url": "http://www.autoportal.iol.pt/desporto/velocidade-desporto/f2-dean-stoneman-vence-em-oschersleben-e-esta-mais-perto-do-titulo",
    "hora": "01:51",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189558,
    "titulo": "Fran\u00E7a: Federa\u00E7\u00E3o quer despedir Domenech por \u00ABfalhas graves\u00BB",
    "url": "http://www.maisfutebol.iol.pt/franca/franca-domenech-federacao-despedimento-mundial/1189558-1487.html",
    "hora": "00:31",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189544,
    "titulo": "Brasil: Far\u00EDas brilha no domingo de pesadelo de Scolari ",
    "url": "http://www.maisfutebol.iol.pt/internacional/brasil-palmeiras-cruzeiro-scolari-deco-iol/1189544-1490.html",
    "hora": "00:30",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1159922,
    "titulo": "MISSMAXMEN 2010: as fotos mais espantosas!",
    "url": "http://www.maisfutebol.iol.pt/horas-vagas/missmaxmen2010/1159922-1478.html",
    "hora": "00:29",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189557,
    "titulo": "Supersport: Eugene Laverty vence e 'acende' luta pelo t\u00EDtulo ",
    "url": "http://www.autoportal.iol.pt/desporto/velocidade-desporto/supersport-eugene-laverty-vence-e-acende-luta-pelo-titulo",
    "hora": "00:28",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1187595,
    "titulo": "Luciano Pavarotti morreu h\u00E1 tr\u00EAs anos",
    "url": "http://www.lux.iol.pt/moda-e-social/pavarotti-luciano-pavarotti-morte/1187595-4061.html",
    "hora": "00:10",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1188728,
    "titulo": "E-GOLO: agora j\u00E1 \u00E9 a doer, actualize a sua equipa!  ",
    "url": "http://www.maisfutebol.iol.pt/horas-vagas/e-golo-passatempo-esclarecimentos-duvidas-bugs-maisfutebol/1188728-1478.html",
    "hora": "00:01",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189556,
    "titulo": "Cassano j\u00E1 n\u00E3o \u00E9 \u00ABbad boy\u00BB: s\u00F3 pensa em futebol e na mulher ",
    "url": "http://www.maisfutebol.iol.pt/italia/cassano-italia-video-maisfutebol-futebol-iol/1189556-1489.html",
    "hora": "23:59",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189555,
    "titulo": "Aston Martin cancela (definitivamente) projecto Lagonda",
    "url": "http://www.autoportal.iol.pt/noticias/geral/aston-martin-cancela-definitivamente-projecto-lagonda",
    "hora": "23:56",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189553,
    "titulo": "Motociclismo: Morte de Tomizawa ensombra fim-de-semana espanhol",
    "url": "http://www.autoportal.iol.pt/desporto/velocidade-desporto/motociclismo-morte-de-tomizawa-ensombra-fim-de-semana-espanhol",
    "hora": "23:32",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189552,
    "titulo": "US Open: grande dia de Nadal e da armada espanhola ",
    "url": "http://www.maisfutebol.iol.pt/tenis/nadal-tenis-maisfutebol-us-open-iol/1189552-1454.html",
    "hora": "23:24",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189554,
    "titulo": "Ferrari prepara-se para lan\u00E7ar 599 Roadster",
    "url": "http://www.autoportal.iol.pt/noticias/tuning/ferrari-prepara-se-para-lancar-599-roadster",
    "hora": "23:20",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189533,
    "titulo": "CAN 2012 (apuramento): campe\u00E3o Egipto decepciona na estreia",
    "url": "http://www.maisfutebol.iol.pt/internacional/can-guine-cabo-verde-apuramento-resultados-angola/1189533-1490.html",
    "hora": "23:14",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  },
  {
    "id": 1189551,
    "titulo": "\u00ABCombate de Blogs\u00BB: o regresso de f\u00E9rias com um mon\u00E1rquico no \u00ABAvante\u00BB",
    "url": "http://www.tvi24.iol.pt/tecnologia/combate-de-blogs-tvi24-festa-do-avante-rodrigo-moita-de-deus/1189551-4069.html",
    "hora": "23:07",
    "totalRows": 0,
    "rowCounter": 0,
    "numElementos": 0,
    "pagina": 0,
    "numPaginas": 0
  }
],[
  {
    "html": "<a href=http://www.maisfutebol.iol.pt/horas-vagas/miss-maxmen-2010-sexy-central-models/1159023-1478.html>Queres ser a pr\u00F3xima Miss Maxmen?</a>"
  },
  {
    "html": "<a href=http://www.maisfutebol.iol.pt/horas-vagas/miss-maxmen-2010-sexy-central-models/1159023-1478.html>Queres ser a pr\u00F3xima Miss Maxmen?</a>"
  }
]];
IOL360W_Engine.loadData(_IOLobjectData);
IOL360W_Engine.play(5,10);
