        jQuery(document).ready(function () {   
            GetRssFeed("http://bit.ly/iQW7f8", 20);
        });
       
        function GetRssFeed(url, limit) {
            try {
                //Create Google Feed API address
                var api = "http://ajax.googleapis.com/ajax/services/feed/load?v=1.0&callback=?&q=" + encodeURIComponent(url);
                api += "&num=" + limit;
                api += "&output=json_xml"
                var frame = jQuery("#footer div.box div.carousel div.frame");

                //Load data url
                jQuery.getJSON(api, function (d) {
                    //var jsonString = JSON.stringify(d.responseData.xmlString);
                    jQuery(d.responseData.feed.entries).each(function () {
                        var $item = this
                        var link = $item.link; //$item.find('link').text();
                        var description = $item.content;
                        var title = $item.title;
                        //Reg matching
                        var myregexp = new RegExp("http://thumbs[\\s\\S]*.jpg?");
                        var match = myregexp.exec(description);
                        if (match != null) {
                            var lidata = jQuery('<li style="width:80px;"><a target="_blank" href="' + link + '"><img border="0" title="' + title + '" alt="' + title + '" src="' + match + '" /></a></li>');
                            jQuery(frame).find("ul").append(lidata);
                        }
                    });
					
					jQuery("#footer div.box div.carousel").cyclingGall({
						slideEl: '.frame>div>ul',
						autoSlide: false,
						step:4
					})

                });
            } catch (e) { }
        };
