
/*********************************************************************
* LiteSoft Group.
* Copyright © 2007 - 2009 LiteSoftGroup.com All Rights Reserved.
* Author: LiteSoft Group
* Websites:  http://www.LiteSoftGroup.com
* E-mail: info@litesoftgroup.com
* CMS 4.6.5
********************************************************************/

var $j = jQuery.noConflict();

$j(document).ajaxSend(function(event, request, settings) {
  if (typeof(window.AUTH_TOKEN) == "undefined") return;
  settings.data = settings.data || "";
  settings.data += (settings.data ? "&" : "") + "authenticity_token=" + encodeURIComponent(window.AUTH_TOKEN);
});

$j.ajaxSetup({'beforeSend': function(xhr) {
    xhr.setRequestHeader("Accept","text/javascript")} 
});


$j(document).ready(function() {

  $j('#neo_banner_final_break').hover(function()
  {
    $j('#neo_banner_final_break_relative').animate({height: '300px'},{queue:false,duration:300});
    $j('#neo_banner_final_break_image').animate({top: '0px'},{queue:false,duration:300});
  }, function ()
  {
    $j('#neo_banner_final_break_relative').animate({height: '75px'},{queue:false,duration:300});
    $j('#neo_banner_final_break_image').animate({top: '-175px'},{queue:false,duration:300});
  });

  $j('#neo_banner_final_break').click(function()
  {
    window.location = $j('#neo_banner_final_break_link').html();
  })
 
});
