/***********************
* Adobe Edge Composition Actions
*
* Edit this file with caution, being careful to preserve 
* function signatures and comments starting with 'Edge' to maintain the 
* ability to interact with these actions from within Adobe Edge
*
***********************/
(function($, Edge, compId){
var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes

//Edge symbol: 'stage'
(function(symbolName) {

Symbol.bindElementAction(compId, symbolName, "${_box}", "mouseover", function(e) {
// play the timeline from the current position
this.play();
// insert code for mouse enter here
});
//Edge binding end

Symbol.bindElementAction(compId, symbolName, "${_box}", "mouseout", function(e) {
// play the timeline in reverse from its current location
this.playReverse();

});
//Edge binding end

})("stage");
//Edge symbol end:'stage'

})(jQuery, jQuery.Edge, "EDGE-189804988");


function SlideOutHeart(){
    jQuery('.PageContestLink').animate({'left':'-150px'}, 'fast');
}

function SlideInHeart(){
    jQuery('.PageContestLink').animate({'left':'0px'}, 'fast');
}

jQuery(document).ready(function(){
    if (jQuery(window).width() < 1300)
    {
	jQuery('.PageContestLink').mouseenter(SlideInHeart);
	jQuery('.PageContestLink').mouseleave(SlideOutHeart);
	setTimeout('SlideOutHeart()', 2000);
    }
});
