(function(){var util={msieVersion:function(versionNr){var ua=window.navigator.userAgent;var msie=ua.indexOf("MSIE ");var version=!1;if(msie>0||!!navigator.userAgent.match(/Trident.*rv\:11\./))
{var versionString=ua.substring(msie+5,ua.indexOf(".",msie));version=parseInt(versionString.replace(/\D/g,''));if(typeof versionNr!=='undefined'){if(versionNr!==version){version=!1}}}
return version},highContrastEnabled:function(){var objDiv,strColor;objDiv=document.createElement('div');objDiv.style.color='rgb(31, 41, 59)';document.body.appendChild(objDiv);strColor=document.defaultView?document.defaultView.getComputedStyle(objDiv,null).color:objDiv.currentStyle.color;strColor=strColor.replace(/ /g,'');document.body.removeChild(objDiv);return strColor!=='rgb(31,41,59)'},findGetParameter:function(parameterName){var result=null,tmp=[];location.search.substr(1).split("&").forEach(function(item){tmp=item.split("=");if(tmp[0]===parameterName)result=decodeURIComponent(tmp[1])});return result},landscape:function(){if(typeof window.orientation!=='undefined'){return Math.abs(window.orientation)===90}else if(window.screen.orientation){return window.screen.orientation.type.indexOf('landscape')>=0}
return!1},portrait:function(){if(typeof window.orientation!=='undefined'){return Math.abs(window.orientation)!==90}else if(window.screen.orientation){return window.screen.orientation.type.indexOf('portrait')>=0}
return!1},keycode:{DOWN:40,LEFT:37,RIGHT:39,UP:38,SPACE:32,ENTER:13,ESC:27,TAB:9},};window.util=util})();jQuery.fn.extend({setEqualElementHeight:function(items){$(this).each(function(i,element){if(!bowser.mobile){var $items=$(this).find(items);if($(this).data('auto-height')){$items.css('height','auto')}
var maxHeight=0;$items.each(function(){if(maxHeight<$(this).outerHeight()){maxHeight=$(this).outerHeight()}});$items.css('height',maxHeight)}
$(this).addClass('ready')})},fullWidth:function(){var margin='-'+$(this).offset().left+'px';var padding=$(this).offset().left+'px';$(this).css('margin-left',margin);$(this).css('margin-right',margin);$(this).css('padding-left',padding);$(this).css('padding-right',padding)},removeStyle:function(style){var search=new RegExp(style+'[^;]+;?','g');return this.each(function(){$(this).attr('style',function(i,style){return style&&style.replace(search,'')})})}})