/* Copyright: ----------------------------------------------------------------------------------------------------------------------------------------
PrimoThemes.com, WebSharks Inc. ( http://www.primothemes.com/ )
-- Modifications: ------------------------------------------------------------------------------------------------------------------------------------
You are authorized to make any necessary modification(s) to our products to fit your purposes.
However, you may NOT re-distribute or release any modifications as GPL or otherwise.
You are also NOT allowed to delete our credit text from the top of this file.
-- Unauthorized Use: ---------------------------------------------------------------------------------------------------------------------------------
You may not place any of our products, modified or unmodified, on a diskette, CD, website or any other
medium and offer them for re-distribution or re-sale of any kind without prior written consent.
--------------------------------------------------------------------------------------------------------------------------------------------------- */
/*
Correct the bug with Opera window height.
See: http://dev.jquery.com/ticket/3046
*/
(function(jQuery)
 {
  jQuery_fn_height = jQuery.fn.height; /* Original function, broken in Opera 9.5+. */
  jQuery.fn.height = function () /* The newly corrected function with an Opera fix. */
   {
    if (this[0] == window && jQuery.browser.opera && jQuery.browser.version >= 9.5)
     {
      return window.innerHeight;
     }
    else
     {
      return jQuery_fn_height.apply (this, arguments);
     }
   };
 })(jQuery);