var PartenamutTheme = function () {var $ = jQuery;return {init: function() {var instance = this;instance.dropDownMenu();instance.handleLastChild();},handleLastChild: function () {var instance = this;$('#footer ul li:last').addClass('last-child');},dropDownMenu: function() {$(".parent-nav-item").hoverIntent({interval: 25,timeout: 0,over: function () {var instance = $(this);var child = $('.child-menu', this);instance.addClass("init");child.slideDown(100);},out: function () {var instance = $(this);var child = $('.child-menu', this);child.slideUp(50);instance.removeClass("init");}});}};}();jQuery(document).ready(/*This function gets loaded when all the HTML, not including the portlets, isloaded.*/function() {PartenamutTheme.init();});Liferay.Portlet.ready(/*This function gets loaded after each and every portlet on the page.portletId: the current portlet's idjQueryObj: the jQuery wrapped object of the current portlet*/function(portletId, jQueryObj) {});jQuery(document).last(/*This function gets loaded when everything, including the portlets, is onthe page.*/function() {});/*  Prototype JavaScript framework, version 1.6.0.2 *  (c) 2005-2008 Sam Stephenson * *  Prototype is freely distributable under the terms of an MIT-style license. *  For details, see the Prototype web site: http://www.prototypejs.org/ * *--------------------------------------------------------------------------*/Object.extend = function(destination, source) {  for (var property in source)    destination[property] = source[property];  return destination;};Object.extend(String.prototype, {endsWith: function(pattern) {var d = this.length - pattern.length;return d >= 0 && this.lastIndexOf(pattern) === d;}});