﻿var didYouKnow = {
    timeout : null,
    showRollover : function() {
        clearTimeout(this.timeout);
        if ($('didYouKnowRolloverItem').style.display == 'none') {
            this.timeout = setTimeout(function() { new Effect.BlindDown('didYouKnowRolloverItem', {queue: {position: 'end', scope:'didYouKnowScope', limit: 1} }) }, 50);
        }
    },
    hideRollover : function() {
        if ($('didYouKnowRolloverItem').style.display == 'none') {
            clearTimeout(this.timeout);
        }
        else {
            this.timeout = setTimeout(function(){ new Effect.BlindUp('didYouKnowRolloverItem', {queue: {position: 'end',  scope:'didYouKnowScope', limit: 1} }) }, 100);
        }
    }    
}