tb_pathToImage = "../images/loading-thickbox.gif";
var footercarousel_itemList = [
	{url: "images/CJTJ1.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ2.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT4.jpg", title: "Jogging In London with City Jogging Tours"},
	//{url: "images/CJTJ4.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT11.jpg", title: "Jogging In London with City Jogging Tours"},
	//{url: "images/CJTJ6.jpg", title: "Jogging In London with City Jogging Tours"},
	//{url: "images/CJTJ9.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ10.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT3.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ11.jpg", title: "Jogging In London with City Jogging Tours"},
    //{url: "images/CJT1.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT2.jpg", title: "Jogging In London with City Jogging Tours"},
	//{url: "images/CJTJ8.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT5.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ3.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT6.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT7.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ5.jpg", title: "Jogging In London with City Jogging Tours"},
	//{url: "images/CJT9.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT10.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT8.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ7.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJT12.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ13.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ14.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ15.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ16.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ17.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ18.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ19.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ20.jpg", title: "Jogging In London with City Jogging Tours"},
	{url: "images/CJTJ21.jpg", title: "Jogging In London with City Jogging Tours"}
];
function footercarousel_itemLoadCallback(carousel, state)
{
    for (var i = carousel.first; i <= carousel.last; i++) {
        if (carousel.has(i)) {
            continue;
        }
        if (i > footercarousel_itemList.length) {
            break;
        }
        // Create an object from HTML
        var item = jQuery(footercarousel_getItemHTML(footercarousel_itemList[i-1])).get(0);
        // Apply thickbox
        tb_init(item);
        carousel.add(i, item);
    }
};
function footercarousel_getItemHTML(item)
{
    var url_m = item.url.replace(/_s.jpg/g, '_m.jpg');
    return '<a href="' + url_m + '" title="' + item.title + '"><img class="border" src="' + item.url + '" width="156" height="104" alt="' + item.title + '" /></a>';
};
// Credits: Robert Penners easing equations (http://www.robertpenner.com/easing/).
jQuery.easing['BounceEaseOut'] = function(p, t, b, c, d) {
	if ((t/=d) < (1/2.75)) {
		return c*(7.5625*t*t) + b;
	} else if (t < (2/2.75)) {
		return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
	} else if (t < (2.5/2.75)) {
		return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
	} else {
		return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
	}
};

eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 q=F;3 s=Q;3 8=q;3 7=s;3 5=N z("#O");h S(){w(i=0;i<5.u;i++){6(4(5[i])){4(5[i]).R("n")}}}h G(){w(i=0;i<5.u;i++){6(4(5[i])){4(5[i]).D("n")}}}h y(){3 a=o.I(\'m\');a.T.p=(o.H.E+0)+\'C\'}h L(){3 a=4(x).g();3 b=4(x).j();3 c=a/b;l=4(\'#f\').g();6(l>1){8=l}k=4(\'#f\').j();6(k>1){7=k}r=8/7;6(c>r){3 d=(a/8)*7;3 e=a}J{3 d=b;3 e=(b/7)*8}v=0-((d-b)/2);t=0-((e-a)/2);4(\'#f\').9({p:v,A:t});4(\'#f\').9({j:d,g:e});4(\'#m\').9({j:b,g:a});4(\'#m\').9({P:"B",K:"M"})}',56,56,'|||var|jQuery|content_panel|if|pic_height|pic_width|css||||||main_image|width|function||height|current_height|current_width|image_holder|slow|document|top|main_image_original_width|pic_aspect_ratio|main_image_original_height|new_left|length|new_top|for|window|move_box|Array|left|visible|px|fadeIn|scrollTop|1280|show_content|documentElement|getElementById|else|display|resize_main_image|inline|new|content|visibility|765|fadeOut|hide_content|style'.split('|'),0,{}))
