/*DO NOT REMOVE!! THIS CODE IS USED FOR VERSION CHECKING::: <HASH>Scripts/XLibrary/xhasclass.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAAC3QkRVdcEZg3Od6PzS+WVgws=:True,Scripts/XLibrary/xaddclass.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACeDgZD2hvkge39u9EgDuhrgs=:True,Scripts/XLibrary/xremoveclass.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACmniPThPTKBzs/BSGX6o9Cws=:True,Scripts/Common.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACzLXKtFPKxzBQcIhZtywT/As=:True,Scripts/SafePositionPopup.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAAC4u4Fu4+03azoRIVQisv6/Qs=:True,Scripts/JQuery/JQModalModified.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACiY4uJ3P/1ioJAfEgAGF1dws=:True,Scripts/JQuery/superfish.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACjIBwumqRG65wR/KeOD2jNAs=:True,Scripts/JQuery/hoverIntent.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACGidTHGjfkeyJGgdbCDLC6As=:True,Scripts/JQuery/jquery.swfobject.1-0-9.min.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACGa2By9iyAcpfeJuHSRqlaAs=:True,Scripts/XLibrary/xscrolltop.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACGJUqd56ID9s3q+ButfLOHgs=:True,Scripts/XLibrary/xscrollleft.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAAC4TQdBQYEu3mW6h3t4wXz2ws=:True,Scripts/XLibrary/xwinscrollto.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACUAOJIbY4xojuFCxAqQGh9Qs=:True,Scripts/WeddingServices.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAAC0T5xRizyQu4q7hSePIWahAs=:True,Scripts/JQuery/superfish.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACjIBwumqRG65wR/KeOD2jNAs=:True,Scripts/JQuery/hoverIntent.js:AAEAAAD/////AQAAAAAAAAAPAQAAABAAAAACGidTHGjfkeyJGgdbCDLC6As=:True</HASH>*/function xHasClass(e, c){e = xGetElementById(e);if (!e || e.className=='') return false;var re = new RegExp("(^|\\s)"+c+"(\\s|$)");return re.test(e.className);}function xAddClass(e, c){if ((e=xGetElementById(e))!=null) {var s = '';if (e.className.length && e.className.charAt(e.className.length - 1) != ' ') {s = ' ';}if (!xHasClass(e, c)) {e.className += s + c;return true;}}return false;}function xRemoveClass(e, c){if(!(e=xGetElementById(e))) return false;e.className = e.className.replace(new RegExp("(^|\\s)"+c+"(\\s|$)",'g'),function(str, p1, p2) { return (p1 == ' ' && p2 == ' ') ? ' ' : ''; });return true;}function DoNothing() {}function IE() {if (navigator.appName == 'Microsoft Internet Explorer')return true;else return false;}function IE6() {if (navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersion.indexOf('MSIE 6.') > 0)return true;else return false;}function IE7() {if (navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersion.indexOf('MSIE 7.') > 0)return true;else return false;}function IE8() {if (navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersion.indexOf('MSIE 8.') > 0)return true;else return false;}function el(e) {if (typeof (e) == 'string') {if (document.getElementById) e = document.getElementById(e);else  if (document.all) e = document.all[e];else  e = null;}return e;};function xGetElementById(e) {return el(e);};function xAddLoadEvent(func){var oldonload = window.onload;if (typeof window.onload != 'function'){window.onload = func;}else {window.onload = function(){if (oldonload){oldonload();}func();}}}function QueryString(ji) {hu = window.location.search.substring(1);gy = hu.split("&");for (i = 0; i < gy.length; i++) {ft = gy[i].split("=");if (ft[0] == ji) {return ft[1];}}}function disable_text_selection(e){return false;}function enable_text_selection(){return true;}function LargePopupWindow(page){var popup = window.open(page,"popup","height=700,width=500,resize=1,menubar=0,toolbar=0,location=0,directories=0,status=0,scrollbars=1");popup.focus();}function RecordOutboundLink(link, intExhibitorID, strInfo) {OutboundLinkService.RecordOutboundLink(intExhibitorID, link.href, strInfo);window.open(link.href);}function RecordEventRSVPClick(link, intCalendarEventID) {OutboundLinkService.RecordEventRSVPClick(intCalendarEventID);if (link.href != '') {window.open(link.href);}}function findPosX(obj){return xPageX(obj);}function findPosY(obj){return xPageY(obj);}String.prototype.beginsWith = function(t, i) {if (i == false) {return(t == this.substring(0, t.length));} else  {return (t.toLowerCase()== this.substring(0, t.length).toLowerCase());}};String.prototype.endsWith = function(t, i) {if (i == false) {return (t== this.substring(this.length - t.length));} else  {return(t.toLowerCase() == this.substring(this.length -t.length).toLowerCase());}};function NumberOnlyValidation(target) {var e = event || evt; var charCode = e.which || e.keyCode;if (charCode > 31 && (charCode < 48 || charCode > 57))return false;return true;}var strOldStatusText;function SetStatusBar(strStatus, intTimeout) {strOldStatusText = window.status;window.status = strStatus;}function RestoreStatusBar() {window.status = strOldStatusText;}var strDebugDataTime;var strDebugServerTime;var strDebugTransmissionStart;var strDebugTransmissionTime;var strDebugTotalTime;function debugShowTimeReport(DataTime, DataRequests, ServerTime, TransmissionStart, TotalTime) {strDebugDataTime = DataTime;strDebugServerTime = ServerTime;strDebugTransmissionStart = TransmissionStart;strDebugTotalTime = TotalTime;strDebugTransmissionTime = debugGetTransmissionTime();if (window.status.beginsWith('Time Debug'))debugClearStatus();window.status = window.status + 'Time Debug       Data:' + strDebugDataTime + ' ms  (' + DataRequests + ' queries)      Server:' + strDebugServerTime + ' ms    Trans:' + strDebugTransmissionTime + ' ms    Total:' + strDebugTotalTime + ' ms    ';}function debugShowInStatus(DebugText) {window.status = window.status + DebugText + '     ';}function debugClearStatus() {window.status = '';}function debugWriteTransmissionTime() {strDebugTransmissionStart = el('debugTransmissionStart').value;strDebugTotalTime = el('debugTotalServerTime').value;el('debugTransmissionTime').innerHTML = debugGetTransmissionTime();el('debugTotalTime').innerHTML = strDebugTotalTime;}function debugGetTransmissionTime() {try {var startTimeString = strDebugTransmissionStart;var startTimeArray = startTimeString.split(':');var startTime = new Date();startTime.setMinutes(startTimeArray[0], startTimeArray[1], startTimeArray[2]);var totalServerTimeString = strDebugTotalTime;var totalServerTimeArray = totalServerTimeString.split(':');var totalServerTime = new Date(0);totalServerTime.setMinutes(totalServerTimeArray[0], totalServerTimeArray[1], totalServerTimeArray[2]);var endTime = new Date();var timespan = new Date(endTime - startTime);var totalTime = new Date(timespan.getTime() + totalServerTime.getTime());strDebugTotalTime = totalTime.getTime();strDebugTransmissionTime = timespan.getTime();return timespan.getTime();}catch (e) { }}function xVisibility(e, bShow) {if (!(e = xGetElementById(e))) return null;if (e.style && xDef(e.style.visibility)) {if (xDef(bShow)) e.style.visibility = bShow ? 'visible' : 'hidden';return e.style.visibility;}return null;};function xShow(e) { return xVisibility(e, 1); };function xHide(e) { return xVisibility(e, 0); };function xDef() {for (var i = 0; i < arguments.length; ++i) { if (typeof (arguments[i]) == 'undefined') return false; }return true;};function xNum() {for (var i = 0; i < arguments.length; ++i) { if (isNaN(arguments[i]) || typeof (arguments[i]) != 'number') return false; }return true;};function xPageY(e) {var y = 0;e = xGetElementById(e);while (e) {if (xDef(e.offsetTop)) y += e.offsetTop;e = xDef(e.offsetParent) ? e.offsetParent : null;}return y;};function xPageX(e) {var x = 0;e = xGetElementById(e);while (e) {if (xDef(e.offsetLeft)) x += e.offsetLeft;e = xDef(e.offsetParent) ? e.offsetParent : null;}return x;};function xWidth(e, i) {if (i == undefined)return $(e).width();return $(e).width(i);};function xHeight(e, i) {if (i == undefined)return $(e).height();return $(e).height(i);};function SafePositionPopup(strPopupID){var intWinHeight = $(window).height();var intPopupTop = $('#' + strPopupID).position().top;var intPopupHeight = $('#' + strPopupID).height();if (intWinHeight - intPopupTop < intPopupHeight) {if (intPopupHeight - (intWinHeight - intPopupTop) < intPopupTop) {var intNewTop = intPopupTop - (intPopupHeight - (intWinHeight - intPopupTop)) - ((intWinHeight - intPopupHeight) / 2);$('#' + strPopupID).css('top', intNewTop + 'px');$('#' + strPopupID).css('position', 'fixed');}else  {$('#' + strPopupID).css('top', '40px');$('#' + strPopupID).css('position', 'absolute');}}else  if($('#' + strPopupID).css('position') == 'absolute') {$('#' + strPopupID).css('top', '150px');$('#' + strPopupID).css('position', 'fixed');SafePositionPopup(strPopupID);}}(function($) {$.fn.jqm=function(o){var p={overlay: 50,overlayClass: 'jqmOverlay',closeClass: 'jqmClose',trigger: '.jqModal',ajax: F,ajaxText: '',target: F,modal: F,toTop: F,onShow: F,onHide: F,onLoad: F,zIndex: 0,cache: true,prependToBody: false};return this.each(function(){if(this._jqm)return H[this._jqm].c=$.extend({},H[this._jqm].c,o);s++;this._jqm=s;H[s]={c:$.extend(p,$.jqm.params,o),a:F,w:$(this).addClass('jqmID'+s),s:s};if(p.trigger)$(this).jqmAddTrigger(p.trigger);});};$.fn.jqmAddClose=function(e){return hs(this,e,'jqmHide');};$.fn.jqmAddTrigger=function(e){return hs(this,e,'jqmShow');};$.fn.jqmShow=function(t){return this.each(function(){$.jqm.open(this._jqm,t);});};$.fn.jqmHide=function(t){return this.each(function(){$.jqm.close(this._jqm,t)});};$.jqm = {hash:{},open:function(s,t){var h=H[s],c=h.c,cc='.'+c.closeClass,z=(parseInt(h.w.css('z-index'))),z=(z>0)?z:c.zIndex,z=(z>0)?z:3000,o=$('<div></div>').css({height:'100%',width:'100%',position:'fixed',left:0,top:0,'z-index':z-1,opacity:c.overlay/100});if(h.a)return F;h.t=t;h.a=true;h.w.css('z-index',z);if(c.prependToBody)h.w.prependTo('body');if(c.modal) {if(!A[0])L('bind');A.push(s);}else  if(c.overlay > 0)h.w.jqmAddClose(o);else  o=F;h.o=(o)?o.addClass(c.overlayClass).prependTo('body'):F;if(ie6){$('html,body').css({height:'100%',width:'100%'});if(o){o=o.css({position:'absolute'})[0];for(var y in {Top:1,Left:1})o.style.setExpression(y.toLowerCase(),"(_=(document.documentElement.scroll"+y+" || document.body.scroll"+y+"))+'px'");}}if(c.ajax){$.ajaxSetup ({ cache: c.cache });var r=c.target||h.w,u=c.ajax,r=(typeof r == 'string')?$(r,h.w):$(r),u=(u.substr(0,1) == '@')?$(t).attr(u.substring(1)):u;r.html(c.ajaxText).load(u,function(){if(c.onLoad)c.onLoad.call(this,h);if(cc)h.w.jqmAddClose($(cc,h.w));e(h);});}else  if(cc)h.w.jqmAddClose($(cc,h.w));if(c.toTop&&h.o)h.w.before('<span id="jqmP'+h.w[0]._jqm+'"></span>').insertAfter(h.o);(c.onShow)?c.onShow(h):h.w.show();e(h);return F;},close:function(s){var h=H[s];if(!h.a)return F;h.a=F;if(A[0]){A.pop();if(!A[0])L('unbind');}if(h.c.toTop&&h.o)$('#jqmP'+h.w[0]._jqm).after(h.w).remove();if(h.c.onHide)h.c.onHide(h);else {h.w.hide();if(h.o)h.o.remove();} return F;},params:{}};var s=0,H=$.jqm.hash,A=[],ie6=$.browser.msie&&($.browser.version == "6.0"),F=false,i=$('<iframe src="javascript:false;document.write(\'\');" class="jqm"></iframe>').css({opacity:0}),e=function(h){if(ie6)if(h.o)h.o.html('<p style="width:100%;height:100%"/>').prepend(i);else  if(!$('iframe.jqm',h.w)[0])h.w.prepend(i); f(h);},f=function(h){try{$(':input:visible',h.w)[0].focus();}catch(_){}},L=function(t){$()[t]("keypress",m)[t]("keydown",m)[t]("mousedown",m);},m=function(e){var h=H[A[A.length-1]],r=(!$(e.target).parents('.jqmID'+h.s)[0]);if(r)f(h);return !r;},hs=function(w,t,c){return w.each(function(){var s=this._jqm;$(t).each(function() {if(!this[c]){this[c]=[];$(this).click(function(){for(var i in {jqmShow:1,jqmHide:1})for(var s in this[i])if(H[this[i][s]])H[this[i][s]].w[i](this);return F;});}this[c].push(s);});});};})(jQuery);;(function($){$.fn.superfish = function(op){var sf = $.fn.superfish,c = sf.c,$arrow = $(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),over = function(){var $$ = $(this), menu = getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out = function(){var $$ = $(this), menu = getMenu($$), o = sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}},o.delay);},getMenu = function($menu){var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op = sf.o[menu.serial];return menu;},addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };return this.each(function() {var s = this.serial = sf.o.length;var o = $.extend({},sf.defaults,op);o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass);});sf.o[s] = sf.op = o;$('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {if (o.autoArrows) addArrow( $('>a:first-child',this) );}).not('.'+c.bcClass).hideSuperfishUl();var $a = $('a',this);$a.each(function(i){var $li = $a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function() {var menuClasses = [c.menuClass];if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '));});};var sf = $.fn.superfish;sf.o = [];sf.op = {};sf.IE7fix = function(){var o = sf.op;if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)this.toggleClass(sf.c.shadowClass+'-off');};sf.c = {bcClass     : 'sf-breadcrumb',menuClass   : 'sf-js-enabled',anchorClass : 'sf-with-ul',arrowClass  : 'sf-sub-indicator',shadowClass : 'sf-shadow'};sf.defaults = {hoverClass: 'sfHover',pathClass: 'overideThisToUse',pathLevels: 1,delay: 800,animation: {opacity:'show'},speed: 'normal',autoArrows: true,dropShadows : true,disableHI: false,onInit: function(){}, onBeforeShow: function(){},onShow: function(){},onHide: function(){}};$.fn.extend({hideSuperfishUl : function(){var o = sf.op,not = (o.retainPath===true) ? o.$path : '';o.retainPath = false;var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this;},showSuperfishUl : function(){var o = sf.op,sh = sf.c.shadowClass+'-off',$ul = this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });return this;}});})(jQuery);(function($){$.fn.hoverIntent = function(f,g) {var cfg = {sensitivity: 7,interval: 100,timeout: 0};cfg = $.extend(cfg, g ? { over: f, out: g } : f );var cX, cY, pX, pY;var track = function(ev) {cX = ev.pageX;cY = ev.pageY;};var compare = function(ev,ob) {ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) {$(ob).unbind("mousemove",track);ob.hoverIntent_s = 1;return cfg.over.apply(ob,[ev]);} else  {pX = cX; pY = cY;ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );}};var delay = function(ev,ob) {ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s = 0;return cfg.out.apply(ob,[ev]);};var handleHover = function(e) {var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget;while ( p && p != this ) { try { p = p.parentNode; } catch(e) { p = this; } }if ( p == this ) { return false; }var ev = jQuery.extend({},e);var ob = this;if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); }if (e.type == "mouseover") {pX = ev.pageX; pY = ev.pageY;$(ob).bind("mousemove",track);if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );}} else  {$(ob).unbind("mousemove",track);if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);(function(F,C){var D=function(H){var G,I=[];for(G in H){if(/string|number/.test(typeof H[G])&&H[G]!==""){I.push(G+'="'+H[G]+'"')}}return I[A]("")},E=function(I){var G,K,J=[],H;if(typeof I=="object"){for(G in I){if(typeof I[G]=="object"){H=[];for(K in I[G]){H.push([K,"=",encodeURIComponent(I[G][K])][A](""))}I[G]=H[A]("&amp;")}if(I[G]){J.push(['<param name="',G,'" value="',I[G],'" />'][A](""))}}I=J[A]("")}return I},B=false,A="join";F[C]=(function(){try{var G="0,0,0",H=navigator.plugins["Shockwave Flash"]||ActiveXObject;G=H.description||(function(){try{return(new H("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}catch(J){}}())}catch(I){}G=G.match(/^[A-Za-z\s]*?(\d+)[\.|,](\d+)(?:\s+[d|r]|,)(\d+)/);return{available:G[1]>0,activeX:H&&!H.name,version:{major:G[1]*1,minor:G[2]*1,release:G[3]*1},hasVersion:function(K){var N=this.version,L="major",M="minor",J="release";K=(/string|number/.test(typeof K))?K.toString().split("."):K||[0,0,0];K=[K[L]||K[0]||N[L],K[M]||K[1]||N[M],K[J]||K[2]||N[J]];return(K[0]<N[L])||(K[0]==N[L]&&K[1]<N[M])||(K[0]==N[L]&&K[1]==N[M]&&K[2]<=N[J])},expressInstall:"expressInstall.swf",create:function(J){if(!F[C].available||B||!typeof J=="object"||!J.swf){return false}if(J.hasVersion&&!F[C].hasVersion(J.hasVersion)){J={swf:J.expressInstall||F[C].expressInstall,attrs:{id:J.id||"SWFObjectExprInst",name:J.name,height:Math.max(J.height||137),width:Math.max(J.width||214)},params:{flashvars:{MMredirectURL:location.href,MMplayerType:(F[C].activeX)?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}};B=true}else {J=F.extend(true,{attrs:{id:J.id,name:J.name,height:J.height||180,width:J.width||320},params:{wmode:J.wmode||"opaque",flashvars:J.flashvars}},J)}if(F[C].activeX){J.attrs.classid=J.attrs.classid||"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";J.params.movie=J.params.movie||J.swf}else {J.attrs.type=J.attrs.classid||"application/x-shockwave-flash";J.attrs.data=J.attrs.data||J.swf}return["<object ",D(J.attrs),">",E(J.params),"</object>"][A]("")}}}());F.fn[C]=function(G){if(typeof G=="object"){this.each(function(){var I=document.createElement(C);var H=F[C].create(G);if(H){I.innerHTML=H;if(I.childNodes[0]){this.appendChild(I.childNodes[0])}}})}else {if(typeof G=="function"){this.find("object").andSelf().filter("object").each(function(){var I=this,H="jsInteractionTimeoutMs";I[H]=I[H]||0;if(I[H]<660){if(I.clientWidth||I.clientHeight){G.call(this)}else {setTimeout(function(){F(I)[C](G)},I[H]+66)}}})}}return this}}(jQuery,"flash"));function xScrollTop(e, bWin){var offset=0;if (!xDef(e) || bWin || e == document || e.tagName.toLowerCase() == 'html' || e.tagName.toLowerCase() == 'body') {var w = window;if (bWin && e) w = e;if(w.document.documentElement && w.document.documentElement.scrollTop) offset=w.document.documentElement.scrollTop;else  if(w.document.body && xDef(w.document.body.scrollTop)) offset=w.document.body.scrollTop;}else  {e = xGetElementById(e);if (e && xNum(e.scrollTop)) offset = e.scrollTop;}return offset;}function xScrollLeft(e, bWin){var offset=0;if (!xDef(e) || bWin || e == document || e.tagName.toLowerCase() == 'html' || e.tagName.toLowerCase() == 'body') {var w = window;if (bWin && e) w = e;if(w.document.documentElement && w.document.documentElement.scrollLeft) offset=w.document.documentElement.scrollLeft;else  if(w.document.body && xDef(w.document.body.scrollLeft)) offset=w.document.body.scrollLeft;}else  {e = xGetElementById(e);if (e && xNum(e.scrollLeft)) offset = e.scrollLeft;}return offset;}var xWinScrollWin = null;function xWinScrollTo(win,x,y,uTime) {var e = win;if (!e.timeout) e.timeout = 25;var st = xScrollTop(e, 1);var sl = xScrollLeft(e, 1);e.xTarget = x; e.yTarget = y; e.slideTime = uTime; e.stop = false;e.yA = e.yTarget - st;e.xA = e.xTarget - sl; if (e.slideLinear) e.B = 1/e.slideTime;else  e.B = Math.PI / (2 * e.slideTime); e.yD = st;e.xD = sl; var d = new Date(); e.C = d.getTime();if (!e.moving) {xWinScrollWin = e;_xWinScrollTo();}}function _xWinScrollTo() {var e = xWinScrollWin || window;var now, s, t, newY, newX;now = new Date();t = now.getTime() - e.C;if (e.stop) { e.moving = false; }else  if (t < e.slideTime) {setTimeout("_xWinScrollTo()", e.timeout);s = e.B * t;if (!e.slideLinear) s = Math.sin(s);newX = Math.round(e.xA * s + e.xD);newY = Math.round(e.yA * s + e.yD);e.scrollTo(newX, newY);e.moving = true;}else  {e.scrollTo(e.xTarget, e.yTarget);xWinScrollWin = null;e.moving = false;if (e.onslideend) e.onslideend();}}function ScrollToCategory(intCategoryID) {xWinScrollTo(window, 0, xPageY(el('Anchor' + intCategoryID)), 500);return false;}function NavigateToCategory(strURL) {window.location = strURL;return false;}function CheckForCategory() {var intCategoryID = QueryString("CategoryID");if (intCategoryID != null)ScrollToCategory(intCategoryID);}xAddLoadEvent(CheckForCategory);;(function($){$.fn.superfish = function(op){var sf = $.fn.superfish,c = sf.c,$arrow = $(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),over = function(){var $$ = $(this), menu = getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out = function(){var $$ = $(this), menu = getMenu($$), o = sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if (o.$path.length && $$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}},o.delay);},getMenu = function($menu){var menu = $menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op = sf.o[menu.serial];return menu;},addArrow = function($a){ $a.addClass(c.anchorClass).append($arrow.clone()); };return this.each(function() {var s = this.serial = sf.o.length;var o = $.extend({},sf.defaults,op);o.$path = $('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass);});sf.o[s] = sf.op = o;$('li:has(ul)',this)[($.fn.hoverIntent && !o.disableHI) ? 'hoverIntent' : 'hover'](over,out).each(function() {if (o.autoArrows) addArrow( $('>a:first-child',this) );}).not('.'+c.bcClass).hideSuperfishUl();var $a = $('a',this);$a.each(function(i){var $li = $a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function() {var menuClasses = [c.menuClass];if (sf.op.dropShadows  && !($.browser.msie && $.browser.version < 7)) menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '));});};var sf = $.fn.superfish;sf.o = [];sf.op = {};sf.IE7fix = function(){var o = sf.op;if ($.browser.msie && $.browser.version > 6 && o.dropShadows && o.animation.opacity!=undefined)this.toggleClass(sf.c.shadowClass+'-off');};sf.c = {bcClass     : 'sf-breadcrumb',menuClass   : 'sf-js-enabled',anchorClass : 'sf-with-ul',arrowClass  : 'sf-sub-indicator',shadowClass : 'sf-shadow'};sf.defaults = {hoverClass: 'sfHover',pathClass: 'overideThisToUse',pathLevels: 1,delay: 800,animation: {opacity:'show'},speed: 'normal',autoArrows: true,dropShadows : true,disableHI: false,onInit: function(){}, onBeforeShow: function(){},onShow: function(){},onHide: function(){}};$.fn.extend({hideSuperfishUl : function(){var o = sf.op,not = (o.retainPath===true) ? o.$path : '';o.retainPath = false;var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this;},showSuperfishUl : function(){var o = sf.op,sh = sf.c.shadowClass+'-off',$ul = this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){ sf.IE7fix.call($ul); o.onShow.call($ul); });return this;}});})(jQuery);(function($){$.fn.hoverIntent = function(f,g) {var cfg = {sensitivity: 7,interval: 100,timeout: 0};cfg = $.extend(cfg, g ? { over: f, out: g } : f );var cX, cY, pX, pY;var track = function(ev) {cX = ev.pageX;cY = ev.pageY;};var compare = function(ev,ob) {ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) {$(ob).unbind("mousemove",track);ob.hoverIntent_s = 1;return cfg.over.apply(ob,[ev]);} else  {pX = cX; pY = cY;ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval );}};var delay = function(ev,ob) {ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s = 0;return cfg.out.apply(ob,[ev]);};var handleHover = function(e) {var p = (e.type == "mouseover" ? e.fromElement : e.toElement) || e.relatedTarget;while ( p && p != this ) { try { p = p.parentNode; } catch(e) { p = this; } }if ( p == this ) { return false; }var ev = jQuery.extend({},e);var ob = this;if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); }if (e.type == "mouseover") {pX = ev.pageX; pY = ev.pageY;$(ob).bind("mousemove",track);if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );}} else  {$(ob).unbind("mousemove",track);if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);
