var effects = new Array();
window.onload=function(){
		var els = document.getElementsByClassName('cool');
		for (var i=0; i<els.length; i++){
			els[i].id='cool'+i;
			effects[els[i].id]=els[i].effect('font-size', {duration: 400, transition: fx.expoOut});
			els[i].addEvent('mouseover', function(){effects[this.id].emphasize()});
			els[i].addEvent('mouseout', function(){effects[this.id].deemphasize()});
		}
	};
	fx.Style.implement({
    emphasize: function(){
        this.clearTimer();
        this.custom(parseInt(this.el.getStyle('font-size')), 24);
    },
    deemphasize: function(){
        this.clearTimer();
        this.custom(parseInt(this.el.getStyle('font-size')), 12);
		}
	});


function cascadedstyle(el, cssproperty, csspropertyNS){
if (el.currentStyle)
return el.currentStyle[cssproperty]
else if (window.getComputedStyle){
var elstyle=window.getComputedStyle(el, "")
return elstyle.getPropertyValue(csspropertyNS)
}

};




// remove the registerOverlay call to disable the controlbar
hs.registerOverlay(
  	{
    		thumbnailId: null,
    		overlayId: 'controlbar',
    		position: 'top right',
    		hideOnMouseOut: true
		}
	);
	
    hs.graphicsDir = 'highslide/graphics/';
    hs.outlineType = 'rounded-white';
    // Tell Highslide to use the thumbnail's title for captions
    hs.captionEval = 'this.thumb.title';

