$(function(){});if(!Gridmaps){var Gridmaps={};}
Gridmaps.global=function(){return{positionFooter:function(){placeFooter();$(window).scroll(placeFooter).resize(placeFooter);function placeFooter(){var docHeight=$(document.body).height()-$("#sticky-footer-push").height();if(docHeight<$(window).height()){var diff=$(window).height()-docHeight;if(!$("#sticky-footer-push").length>0){$("#footer").before('<div id="sticky-footer-push"></div>');}
$("#sticky-footer-push").height(diff);}}},configureForIe:function(){if($.browser.msie){$("button").click(function(){this.blur();});}},applyQTipToTitles:function(title){var attr="a[title]";if(title){attr="a[title^='"+title+"']";}
$(attr).qtip({style:{name:'cream',tip:true,width:{max:400,min:0},border:{radius:5}},position:{corner:{target:'topLeft',tooltip:'bottomRight'}}});},newWindow:function(path){var newWindowName=""+new Date().getTime();var newBrowserWindow=window.open(path,newWindowName,'toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=800,height=600');return false;},pageInitFront:function(){this.applyQTipToTitles();this.positionFooter();this.configureForIe();}}}();