(function(){
//if(!window.google){document.write('<script type="text/javascript" src="http://www.google.com/jsapi/?key='+window.GAPI_KEY+'"></'+'script>');document.write('<script type="text/javascript">google.load("feeds","1");</'+'script>');}
//else if(!window.google.feeds){document.write('<script type="text/javascript">google.load("feeds","1");</script>');}
if(!window.GFslideShow){document.write('<script type="text/javascript" src="http://www.google.com/uds/solutions/slideshow/gfslideshow.js"></script>');}
function aa(a,b,c,d){if(!google||!google.feeds){return ac(2,'Google Feeds API not loaded');}if(!window.GFslideShow){return ac(3,'GFslideShow.js has not been loaded');}if(typeof(a)=='string'){a=[a]}if(typeof(b)=='undefined'){return ac(a[0],'No feed URLs provided');}if(typeof(c)!='object'){c={linkTarget:'_self',displayTime:5000,transitionTime:1000,scaleImages:true,feedLoadCallback:function(a){if(a.error){ae(a.error);}}};}if(typeof(d)!='number'){d=0;}var all=[],ad=function(ba,bb,bc){return function(){while(bb.firstChild){bb.removeChild(bb.firstChild);}var bd,be;if(bc.showImageTitle){bd=document.createElement('div'),be=document.createElement('div');bb.appendChild(bd);be.className='gfs-imageTitle';bb.appendChild(be);bd.style.height=(ag(bb,'height')-be.offsetHeight)+'px';}if(bc.showImageTitle){bc.transitionCallback=function(a,b){be.innerHTML=a.title;};}if(bc.linkURL){ah(bb,'mouseover',function(){this.style.cursor='pointer';window.status=bc.linkURL;});ah(bb,'mouseout',function(){this.style.cursor='default';window.status='';});ah(bb,'click',function(){window.open(bc.linkURL,bc.link_target||"_self");});}window.jeremy.jCBGFSL.slideshows.push(new GFslideShow(ba,bd?bd:bb,bc));};};for(var z=0;z<a.length;z++){var j=ab(a[z]);for(var y=0;y<j.length;y++){var e=j[y],f=y;while(f>=b[a[z]].length){f-=b[a[z]].length;}var g=b[a[z]][f];setTimeout(ad(typeof(g)=='object'&&g.url?g.url:g,e,typeof(g)=='object'&&g.options?g.options:c),d*y);f++;}}return all;}
function ab(a){var b=document.getElementsByTagName('*'),z=[];for(var c=0;c<b.length;c++){var d=b[c];if(d.className.match(new RegExp("(\\s|^)"+a+"(\\s|$)"))){z.push(d);}}return z;}
function ac(a,b){alert('Unable to initiate slideshows in class '+a+': '+b+'.');return 0;}
function ae(a){alert('Unable to initiate slideshow (Code: '+a.code+'): '+a.message);return 0;}
function af(a,b){if(!window.jeremy){window.jeremy={};};if(!window.jeremy.jCBGFSL){window.jeremy.jCBGFSL={};}window.jeremy.jCBGFSL[a]=b;}
function ag(a,b){var c;if(a.currentStyle){c=a.currentStyle[b];}else{try{c=document.defaultView.getComputedStyle(a,null).getPropertyValue(b.replace(/[A-Z]/g,function(c,d){return "-"+d.toLowerCase();}));}catch(e){c=a.style[b];}}return c?parseInt(c):0;}
function ah(a,b,c){if(a.addEventListener){a.addEventListener(b,c,0);}else if (a.attachEvent){a.attachEvent('on'+b,c);}else{a['on'+b]=c;}};
af("jCBGFSL",aa);af("slideshows",[]);
})();
