        $(function() {
	        //if (typeof document.body.style.maxHeight != "undefined"){
            // run the code in the markup!
		        eval($('#banner')
			        .cycle({
				        fx:    'scrollLeft',
				        speed:  '750',
				        timeout: '6000'
		        }));
	        //}
        });	

        $("#banner").mouseover(function(){$('#banner').cycle('pause');});
        $("#banner").mouseout(function(){$('#banner').cycle('resume');});

        function slideBanner(num) {         	
	        $('#banner').cycle(num);
	        $('#banner').cycle('pause');
	    }
        
        
        var RSSposts;
        var RSStable;
        $(document).ready(
            function(){
            
            PageMethods.ProcessRSSItem("http://blog.fromdoppler.com/feed/", "2",callback);
            $(".tweet").getTwitter({
					userName: "doppler_",
					numTweets: 1,
					loaderText: "Cargando Tweets...",
					headingText: "",
					showHeading: true,
					showTimestamp: false,
					showProfileLink: false
				});
            });
        
        function callback(result)
        {
            $("#posts").html("<script>RSSposts = " + result + ";<\/script>");
            RSStable = '<table border="0" cellspacing="0" cellpadding="0" class="table_features">';
            for(i =0;i< RSSposts.length;i++)
            {
            RSStable += '<tr>';
            RSStable += '<td>';
            RSStable += '<h1><a href="'+ RSSposts[i][0] +'" class="noDecoration color3 size13" target="_blank">'+ RSSposts[i][1] + '</a></h1>';
            RSStable += '</td>';
            RSStable += '</tr>';
            RSStable += '<tr>';
            RSStable += '<td>';
            RSStable += '<p>'+RSSposts[i][4]+'</p>';
            RSStable += '</td>';
            RSStable += '</tr>';
            RSStable += '<tr>';
            RSStable += '<td>';
            RSStable += '<p class="size10 color9 noDecoration"><a href="'+RSSposts[i][5]+'" target="_blank">Comentarios</a>' + ' | ' + RSSposts[i][3] + ', ' + RSSposts[i][2] + '</p><br />';
            RSStable += '</td>';
            RSStable += '</tr>';
            }
            RSStable += '</table>';
            $("#RSSposts").html(RSStable);
        }
