/*
  @project  CreativeConstructor 2.0 jQuery prograssive enhancement
  @name jquery.page.js
  @author lukasz.tyrala
  @version  0.1
  @description  Requires jQuery (1.3+ branch recomended)
*/

jq(document).ready(function(){

  jq(".flash").click(function(){
    jq(this).slideUp();
  });

  jq("input.tgg").inputHover();

  jq(".toolbar").wrapContent('inner');

  jq(".header").multiNav();


  /**
   * Global handler for ajax unauthorized responses
   */
  jq(this).ajaxComplete(function(event, request, options){
    if(request.status == 403) window.location = window.location
  });

}); // /document.ready

