/****************************************
$().ready()
- this function is triggered when all page elements have been loaded
and are ready to be manipulated. just like onload="init()"
****************************************/
$().ready(function(){
				   
//Visit Learning Path
  if($("#cs-visit-lp").length) {
    $("#cs-visit-lp").pngfix();
    $("#cs-visit-lp").hover(function() {
        $(this).addClass('cs-visit-lp-but-over');
    }, function() {
        $(this).removeClass('cs-visit-lp-but-over');
    }).click(function() {
    	window.open("http://www.leapfrog.com/learningpath"); return false;
    	//document.location.href ="http://www.leapfrog.com/learningpath";
    });       
  }	

});

$(window).bind('load', function() {
  $.preloadImages("..img/but-visit-lp-on.png");
});
	
