 // JavaScript Document
window.addEvent('domready', function() {
	/* Hover Tips 2 (compare page) */
	var Tips2 = new Tips($$('.Tips2'), {
		initialize:function(){
			this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
		},
		onShow: function(toolTip) {
			this.fx.start(1);
		},
		onHide: function(toolTip) {
			this.fx.start(0);
		}
	});
	

	$$( '.moreInfoWrapper' ).each(function(item){
		var thisSlider = new Fx.Slide( item.getElement( '.moreInfo' ), { duration: 500 } );
		thisSlider.hide();
		item.getElement( '.divToggle' ).addEvent( 'click', function(){ thisSlider.toggle(); } );
	} );

 }); // END window.addEvent('domready', function()
 
 
function show(next){
    var stURL = 'http://'+location.host+'/images/arrowup.gif';
    var togl = document.getElementById('feat'+next);
    if (togl.src == stURL){
        togl.src = "images/arrowdown.gif";
    } else {
        togl.src = "images/arrowup.gif";
    }
}