function isArray(n){return n!=null&&typeof n=="object"&&typeof n.length=="number"&&(n.length==0||defined(n[0]))}function isObject(n){return n!=null&&typeof n=="object"&&defined(n.constructor)&&n.constructor==Object&&!defined(n.nodeName)}function defined(n){return typeof n!="undefined"}function map(n){var u,r,t,i=[];for(typeof n=="string"&&(n=new Function("$_",n)),u=1;u<arguments.length;u++)if(t=arguments[u],isArray(t))for(r=0;r<t.length;r++)i[i.length]=n(t[r]);else if(isObject(t))for(r in t)i[i.length]=n(t[r]);else i[i.length]=n(t);return i}function setDefaultValues(n,t){if(defined(n)&&n!=null||(n={}),!defined(t)||t==null)return n;for(var i in t)defined(n[i])||(n[i]=t[i]);return n}var Util;(function(n){function t(i,r,u,f){function l(){r.timeout&&(o.cycleTimeout=setTimeout(function(){t(i,r,0,!r.rev)},r.timeout))}var c,h;if(!r.busy){var o=i[0].parentNode,s=i[r.currSlide],e=i[r.nextSlide];(o.cycleTimeout!==0||u)&&(u||!o.cyclePause?(r.before.length&&n.each(r.before,function(n,t){t.apply(e,[s,e,r,f])}),c=function(){n.each(r.after,function(n,t){t.apply(e,[s,e,r,f])});l()},r.nextSlide!=r.currSlide&&(r.busy=1,n.fn.cycle.custom(s,e,r,c)),h=r.nextSlide+1==i.length,r.nextSlide=h?0:r.nextSlide+1,r.currSlide=h?i.length-1:r.nextSlide-1):l())}}function i(n,i,r){var u=n[0].parentNode,f=u.cycleTimeout;return f&&(clearTimeout(f),u.cycleTimeout=0),i.nextSlide=i.currSlide+r,i.nextSlide<0?i.nextSlide=n.length-1:i.nextSlide>=n.length&&(i.nextSlide=0),t(n,i,1,r>=0),!1}var r="Lite-1.5";n.fn.cycle=function(r){return this.each(function(){var u,l,c,h,a,s;r=r||{};this.cycleTimeout&&clearTimeout(this.cycleTimeout);this.cycleTimeout=0;this.cyclePause=0;var f=n(this),e=r.slideExpr?n(r.slideExpr,this):f.children(),o=e.get();if(o.length<2){window.console&&console.log("terminating; too few slides: "+o.length);return}if(u=n.extend({},n.fn.cycle.defaults,r||{},n.metadata?f.metadata():n.meta?f.data():{}),l=n.isFunction(f.data)?f.data(u.metaAttr):null,l&&(u=n.extend(u,l)),u.before=u.before?[u.before]:[],u.after=u.after?[u.after]:[],u.after.unshift(function(){u.busy=0}),c=this.className,u.width=parseInt((c.match(/w:(\d+)/)||[])[1])||u.width,u.height=parseInt((c.match(/h:(\d+)/)||[])[1])||u.height,u.timeout=parseInt((c.match(/t:(\d+)/)||[])[1])||u.timeout,f.css("position")=="static"&&f.css("position","relative"),u.width&&f.width(u.width),u.height&&u.height!="auto"&&f.height(u.height),h=0,e.css({position:"absolute",top:0}).each(function(t){n(this).css("z-index",o.length-t)}),n(o[h]).css("opacity",1).show(),u.fit&&u.width&&e.width(u.width),u.fit&&u.height&&u.height!="auto"&&e.height(u.height),u.pause&&f.hover(function(){this.cyclePause=1},function(){this.cyclePause=0}),a=n.fn.cycle.transitions[u.fx],a&&a(f,e,u),e.each(function(){var t=n(this);this.cycleH=u.fit&&u.height?u.height:t.height();this.cycleW=u.fit&&u.width?u.width:t.width()}),u.cssFirst&&n(e[h]).css(u.cssFirst),u.timeout)for(u.speed.constructor==String&&(u.speed={slow:600,fast:200}[u.speed]||400),u.sync||(u.speed=u.speed/2);u.timeout-u.speed<250;)u.timeout+=u.speed;u.speedIn=u.speed;u.speedOut=u.speed;u.slideCount=o.length;u.currSlide=h;u.nextSlide=1;s=e[h];u.before.length&&u.before[0].apply(s,[s,s,u,!0]);u.after.length>1&&u.after[1].apply(s,[s,s,u,!0]);u.click&&!u.next&&(u.next=u.click);u.next&&n(u.next).unbind("click.cycle").bind("click.cycle",function(){return i(o,u,u.rev?-1:1)});u.prev&&n(u.prev).unbind("click.cycle").bind("click.cycle",function(){return i(o,u,u.rev?1:-1)});u.timeout&&(this.cycleTimeout=setTimeout(function(){t(o,u,0,!u.rev)},u.timeout+(u.delay||0)))})};n.fn.cycle.custom=function(t,i,r,u){var e=n(t),o=n(i),f;o.css(r.cssBefore);f=function(){o.animate(r.animIn,r.speedIn,r.easeIn,u)};e.animate(r.animOut,r.speedOut,r.easeOut,function(){e.css(r.cssAfter);r.sync||f()});r.sync&&f()};n.fn.cycle.transitions={fade:function(n,t,i){t.not(":eq(0)").hide();i.cssBefore={opacity:0,display:"block"};i.cssAfter={display:"none"};i.animOut={opacity:0};i.animIn={opacity:1}},fadeout:function(t,i,r){r.before.push(function(t,i,r,u){n(t).css("zIndex",r.slideCount+(u===!0?1:0));n(i).css("zIndex",r.slideCount+(u===!0?0:1))});i.not(":eq(0)").hide();r.cssBefore={opacity:1,display:"block",zIndex:1};r.cssAfter={display:"none",zIndex:0};r.animOut={opacity:0}}};n.fn.cycle.ver=function(){return r};n.fn.cycle.defaults={animIn:{},animOut:{},fx:"fade",after:null,before:null,cssBefore:{},cssAfter:{},delay:0,fit:0,height:"auto",metaAttr:"cycle",next:null,pause:0,prev:null,speed:1e3,slideExpr:null,sync:1,timeout:4e3}})(jQuery),function(n){n.fn.placeholder=function(){typeof document.createElement("input").placeholder=="undefined"&&n("[placeholder]").focus(function(){var t=n(this);t.val()==t.attr("placeholder")&&(t.val(""),t.removeClass("placeholder"))}).blur(function(){var t=n(this);(t.val()==""||t.val()==t.attr("placeholder"))&&(t.addClass("placeholder"),t.val(t.attr("placeholder")))}).blur().parents("form").submit(function(){n(this).find("[placeholder]").each(function(){var t=n(this);t.val()==t.attr("placeholder")&&t.val("")})})}}(jQuery);Util={$VERSION:1.06};Array.prototype.contains=function(n){var t,i;if(!(i=this.length))return!1;for(t=0;t<i;t++)if(n==this[t])return!0};var DOM=function(){var n={};return n.getParentByTagName=function(n,t){if(n==null)return null;if(isArray(t)){for(t=map("return $_.toUpperCase()",t);n=n.parentNode;)if(n.nodeName&&t.contains(n.nodeName))return n}else for(t=t.toUpperCase();n=n.parentNode;)if(n.nodeName&&t==n.nodeName)return n;return null},n.removeNode=function(n){if(n!=null&&n.parentNode&&n.parentNode.removeChild){for(var t in n)typeof n[t]=="function"&&(n[t]=null);return n.parentNode.removeChild(n),!0}return!1},n.getOuterWidth=function(n){return defined(n.offsetWidth)?n.offsetWidth:null},n.getOuterHeight=function(n){return defined(n.offsetHeight)?n.offsetHeight:null},n.resolve=function(){for(var n,t=[],i,r=0;r<arguments.length;r++)if(n=arguments[r],n==null){if(arguments.length==1)return null;t[t.length]=null}else if(typeof n=="string"){if(document.getElementById?n=document.getElementById(n):document.all&&(n=document.all[n]),arguments.length==1)return n;t[t.length]=n}else if(isArray(n))for(i=0;i<n.length;i++)t[t.length]=n[i];else if(isObject(n))for(i in n)t[t.length]=n[i];else{if(arguments.length==1)return n;t[t.length]=n}return t},n.$=n.resolve,n}(),CSS=function(){var n={};return n.rgb2hex=function(n){var i;if(typeof n!="string"||!defined(n.match))return null;if(i=n.match(/^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*/),i==null)return n;for(var r=+i[1]<<16|+i[2]<<8|+i[3],t="";r!=0;)t="0123456789abcdef".charAt(r&15)+t,r>>>=4;while(t.length<6)t="0"+t;return"#"+t},n.hyphen2camel=function(n){var t;if(!defined(n)||n==null)return null;if(n.indexOf("-")<0)return n;var r="",i=null,u=n.length;for(t=0;t<u;t++)i=n.charAt(t),r+=i!="-"?i:n.charAt(++t).toUpperCase();return r},n.hasClass=function(n,t){if(!defined(n)||n==null||!RegExp)return!1;var i=new RegExp("(^|\\s)"+t+"(\\s|$)");return typeof n=="string"?i.test(n):typeof n=="object"&&n.className?i.test(n.className):!1},n.addClass=function(t,i){return typeof t!="object"||t==null||!defined(t.className)?!1:t.className==null||t.className==""?(t.className=i,!0):n.hasClass(t,i)?!0:(t.className=t.className+" "+i,!0)},n.removeClass=function(t,i){if(typeof t!="object"||t==null||!defined(t.className)||t.className==null||!n.hasClass(t,i))return!1;var r=new RegExp("(^|\\s+)"+i+"(\\s+|$)");return t.className=t.className.replace(r," "),!0},n.replaceClass=function(t,i,r){return typeof t!="object"||t==null||!defined(t.className)||t.className==null?!1:(n.removeClass(t,i),n.addClass(t,r),!0)},n.getStyle=function(t,i){if(t==null)return null;var r=null,u=n.hyphen2camel(i);return i=="float"?(r=n.getStyle(t,"cssFloat"),r==null&&(r=n.getStyle(t,"styleFloat"))):t.currentStyle&&defined(t.currentStyle[u])?r=t.currentStyle[u]:window.getComputedStyle?r=window.getComputedStyle(t,null).getPropertyValue(i):t.style&&defined(t.style[u])&&(r=t.style[u]),/^\s*rgb\s*\(/.test(r)&&(r=n.rgb2hex(r)),/^#/.test(r)&&(r=r.toLowerCase()),r},n.get=n.getStyle,n.setStyle=function(t,i,r){return t==null||!defined(t.style)||!defined(i)||i==null||!defined(r)?!1:(i=="float"?(t.style.cssFloat=r,t.style.styleFloat=r):i=="opacity"?(t.style["-moz-opacity"]=r,t.style["-khtml-opacity"]=r,t.style.opacity=r,defined(t.style.filter)&&(t.style.filter="alpha(opacity="+r*100+")")):t.style[n.hyphen2camel(i)]=r,!0)},n.set=n.setStyle,n.uniqueIdNumber=1e3,n.createId=function(t){if(defined(t)&&t!=null&&defined(t.id)&&t.id!=null&&t.id!="")return t.id;for(var i=null;i==null||document.getElementById(i)!=null;)i="ID_"+n.uniqueIdNumber++;return defined(t)&&t!=null&&(!defined(t.id)||t.id=="")&&(t.id=i),i},n}(),Event=function(){var n={};return n.resolve=function(n){return!defined(n)&&defined(window.event)&&(n=window.event),n},n.add=function(n,t,i,r){return n.addEventListener?(n.addEventListener(t,i,r),!0):n.attachEvent?(n.attachEvent("on"+t,i),!0):!1},n.getMouseX=function(t){return(t=n.resolve(t),defined(t.pageX))?t.pageX:defined(t.clientX)?t.clientX+Screen.getScrollLeft():null},n.getMouseY=function(t){return(t=n.resolve(t),defined(t.pageY))?t.pageY:defined(t.clientY)?t.clientY+Screen.getScrollTop():null},n.cancelBubble=function(t){t=n.resolve(t);typeof t.stopPropagation=="function"&&t.stopPropagation();defined(t.cancelBubble)&&(t.cancelBubble=!0)},n.stopPropagation=n.cancelBubble,n.preventDefault=function(t){t=n.resolve(t);typeof t.preventDefault=="function"&&t.preventDefault();defined(t.returnValue)&&(t.returnValue=!1)},n}(),Screen=function(){var n={};return n.getBody=function(){if(document.body)return document.body;if(document.getElementsByTagName){var n=document.getElementsByTagName("BODY");if(n!=null&&n.length>0)return n[0]}return null},n.getScrollTop=function(){return document.documentElement&&defined(document.documentElement.scrollTop)&&document.documentElement.scrollTop>0?document.documentElement.scrollTop:document.body&&defined(document.body.scrollTop)?document.body.scrollTop:null},n.getScrollLeft=function(){return document.documentElement&&defined(document.documentElement.scrollLeft)&&document.documentElement.scrollLeft>0?document.documentElement.scrollLeft:document.body&&defined(document.body.scrollLeft)?document.body.scrollLeft:null},n.zero=function(n){return!defined(n)||isNaN(n)?0:n},n.getDocumentWidth=function(){var t=0,i=n.getBody(),r,u;return document.documentElement&&(!document.compatMode||document.compatMode=="CSS1Compat")?(r=parseInt(CSS.get(i,"marginRight"),10)||0,u=parseInt(CSS.get(i,"marginLeft"),10)||0,t=Math.max(i.offsetWidth+u+r,document.documentElement.clientWidth)):t=Math.max(i.clientWidth,i.scrollWidth),(isNaN(t)||t==0)&&(t=n.zero(self.innerWidth)),t},n.getDocumentHeight=function(){var t=n.getBody(),u=defined(self.innerHeight)&&!isNaN(self.innerHeight)?self.innerHeight:0,i,r;return document.documentElement&&(!document.compatMode||document.compatMode=="CSS1Compat")?(i=parseInt(CSS.get(t,"marginTop"),10)||0,r=parseInt(CSS.get(t,"marginBottom"),10)||0,Math.max(t.offsetHeight+i+r,document.documentElement.clientHeight,document.documentElement.scrollHeight,n.zero(self.innerHeight))):Math.max(t.scrollHeight,t.clientHeight,n.zero(self.innerHeight))},n.getViewportWidth=function(){return document.documentElement&&(!document.compatMode||document.compatMode=="CSS1Compat")?document.documentElement.clientWidth:document.compatMode&&document.body?document.body.clientWidth:n.zero(self.innerWidth)},n.getViewportHeight=function(){if(window.opera||!document.documentElement||document.compatMode&&document.compatMode!="CSS1Compat"){if(document.compatMode&&!window.opera&&document.body)return document.body.clientHeight}else return document.documentElement.clientHeight;return n.zero(self.innerHeight)},n}(),Sort=function(){var n={};return n.AlphaNumeric=function(n,t){return n==t?0:n<t?-1:1},n.Default=n.AlphaNumeric,n.NumericConversion=function(n){return typeof n!="number"&&(typeof n=="string"?(n=parseFloat(n.replace(/,/g,"")),(isNaN(n)||n==null)&&(n=0)):n=0),n},n.Numeric=function(t,i){return n.NumericConversion(t)-n.NumericConversion(i)},n.IgnoreCaseConversion=function(n){return n==null&&(n=""),(""+n).toLowerCase()},n.IgnoreCase=function(t,i){return n.AlphaNumeric(n.IgnoreCaseConversion(t),n.IgnoreCaseConversion(i))},n.CurrencyConversion=function(t){return typeof t=="string"&&(t=t.replace(/^[^\d\.]/,"")),n.NumericConversion(t)},n.Currency=function(t,i){return n.Numeric(n.CurrencyConversion(t),n.CurrencyConversion(i))},n.DateConversion=function(n){function t(n){function i(n){return n=+n,n<50?n+=2e3:n<100&&(n+=1900),n}var t;return(t=n.match(/(\d{2,4})-(\d{1,2})-(\d{1,2})/))?i(t[1])*1e4+t[2]*100+ +t[3]:(t=n.match(/(\d{1,2})[\/-](\d{1,2})[\/-](\d{2,4})/))?i(t[3])*1e4+t[1]*100+ +t[2]:99999999}return t(n)},n.Date=function(t,i){return n.Numeric(n.DateConversion(t),n.DateConversion(i))},n}(),Position=function(){function t(n){if(document.getElementById&&document.getElementById(n)!=null)return document.getElementById(n);if(document.all&&document.all[n]!=null)return document.all[n];if(document.anchors&&document.anchors.length&&document.anchors.length>0&&document.anchors[0].x)for(var t=0;t<document.anchors.length;t++)if(document.anchors[t].name==n)return document.anchors[t]}var n={};return n.$VERSION=1,n.set=function(n,i,r){if(typeof n=="string"&&(n=t(n)),n==null||!n.style)return!1;if(typeof i=="object"){var u=i;i=u.left;r=u.top}return n.style.left=i+"px",n.style.top=r+"px",!0},n.get=function(n){var r,i,o;if(typeof n=="string"&&(n=t(n)),n==null)return null;var u=0,f=0,s=0,h=0,e=null;for(e=n.offsetParent,r=n,i=n;i.parentNode!=null;)i=i.parentNode,i.offsetParent==null||(o=!0,!0&&window.opera&&(i==r.parentNode||i.nodeName=="TR")&&(o=!1),o&&(i.scrollTop&&i.scrollTop>0&&(f-=i.scrollTop),i.scrollLeft&&i.scrollLeft>0&&(u-=i.scrollLeft))),i==e&&(u+=n.offsetLeft,i.clientLeft&&i.nodeName!="TABLE"&&(u+=i.clientLeft),f+=n.offsetTop,i.clientTop&&i.nodeName!="TABLE"&&(f+=i.clientTop),n=i,n.offsetParent==null&&(n.offsetLeft&&(u+=n.offsetLeft),n.offsetTop&&(f+=n.offsetTop)),e=n.offsetParent);return r.offsetWidth&&(s=r.offsetWidth),r.offsetHeight&&(h=r.offsetHeight),{left:u,top:f,width:s,height:h}},n.getCenter=function(n){var t=this.get(n);return t==null?null:(t.left=t.left+t.width/2,t.top=t.top+t.height/2,t)},n}(),Popup=function(n,t){if(this.div=defined(n)?n:null,this.index=Popup.maxIndex++,this.ref="Popup.objects["+this.index+"]",Popup.objects[this.index]=this,typeof this.div=="string"&&(Popup.objectsById[this.div]=this),defined(this.div)&&this.div!=null&&defined(this.div.id)&&(Popup.objectsById[this.div.id]=this.div.id),defined(t)&&t!=null&&typeof t=="object")for(var i in t)this[i]=t[i];return this};Popup.maxIndex=0;Popup.objects={};Popup.objectsById={};Popup.minZIndex=101;Popup.screenClass="PopupScreen";Popup.iframeClass="PopupIframe";Popup.screenIframeClass="PopupScreenIframe";Popup.hideAll=function(){var t,n;for(t in Popup.objects)n=Popup.objects[t],!n.modal&&n.autoHide&&n.hide()};Event.add(document,"mouseup",Popup.hideAll,!1);Popup.show=function(n,t,i,r,u){var f,e;if(defined(n)?f=new Popup(n):(f=new Popup,f.destroyDivOnHide=!0),defined(t)&&(f.reference=DOM.resolve(t)),defined(i)&&(f.position=i),defined(r)&&r!=null&&typeof r=="object")for(e in r)f[e]=r[e];return typeof u=="boolean"&&(f.modal=u),f.destroyObjectsOnHide=!0,f.show(),f};Popup.showModal=function(n,t,i,r){Popup.show(n,t,i,r,!0)};Popup.get=function(n){return defined(Popup.objectsById[n])?Popup.objectsById[n]:null};Popup.hide=function(n){var t=Popup.get(n);t!=null&&t.hide()};Popup.prototype.content=null;Popup.prototype.className="PopupDiv";Popup.prototype.style=null;Popup.prototype.width=null;Popup.prototype.height=null;Popup.prototype.top=null;Popup.prototype.left=null;Popup.prototype.offsetLeft=0;Popup.prototype.offsetTop=0;Popup.prototype.constrainToScreen=!0;Popup.prototype.autoHide=!0;Popup.prototype.useIframeShim=!1;/*@cc_on@if(@_win32)Popup.prototype.useIframeShim=!0;@end@*/Popup.prototype.iframe=null;Popup.prototype.position=null;Popup.prototype.reference=null;Popup.prototype.modal=!1;Popup.prototype.destroyDivOnHide=!1;Popup.prototype.destroyObjectsOnHide=!1;Popup.prototype.screen=null;Popup.prototype.screenIframeShim=null;Popup.prototype.screenOpacity=.4;Popup.prototype.screenColor="#cccccc";Popup.prototype.show=function(n,t){if(this.modal=this.modal||typeof t=="boolean"&&t,defined(n)&&n!=null&&typeof n=="object")for(var i in n)this[i]=n[i];this.div=DOM.resolve(this.div);CSS.setStyle(this.div,"position","absolute");this.div==null&&(this.div=this.createDiv());this.content!=null&&(this.div.innerHTML=this.content,this.content=null);this.className!=null&&(this.div.className=this.className);this.style!=null&&this.applyStyle();this.width!=null&&(this.div.style.width=this.width+"px",this.div.style.overflowX="auto");this.height!=null&&(this.div.style.height=this.height+"px",this.div.style.overflowY="auto");this.transition();this.div.onclick=function(n){Event.cancelBubble(Event.resolve(n))};this.div.onmouseup=this.div.onclick;this.modal&&this.div.focus&&this.div.focus()};Popup.prototype.transition=function(){this.modal&&this.addScreen();CSS.setStyle(this.div,"visibility","hidden");CSS.setStyle(this.div,"display","block");this.setPosition();this.useIframeShim&&this.addIframeShim();this.div.style.zIndex=Popup.minZIndex++;CSS.setStyle(this.div,"display","block");CSS.setStyle(this.div,"visibility","visible")};Popup.prototype.showModal=function(n){this.show(n,!0)};Popup.prototype.applyStyle=function(){if(this.div!=null&&this.style!=null&&typeof this.style=="object")for(var n in this.style)this.div.style[n]=this.style[n]};Popup.prototype.hide=function(){this.destroyDivOnHide?(DOM.removeNode(this.div),this.div=null,delete Popup.objects[this.id]):this.div!=null&&CSS.setStyle(this.div,"display","none");this.destroyObjectsOnHide?(DOM.removeNode(this.iframe),DOM.removeNode(this.screen),DOM.removeNode(this.screenIframeShim)):(this.iframe!=null&&(this.iframe.style.display="none"),this.screen!=null&&(this.screen.style.display="none"),this.screenIframeShim!=null&&(this.screenIframeShim.style.display="none"))};Popup.prototype.setTop=function(n){this.div.style.top=n+"px"};Popup.prototype.setLeft=function(n){this.div.style.left=n+"px"};Popup.prototype.getTop=function(){return parseInt(CSS.getStyle(this.div,"top"),10)};Popup.prototype.getLeft=function(){return parseInt(CSS.getStyle(this.div,"left"),10)};Popup.prototype.setPosition=function(){var n;if(this.position!=null){if(n=this.position.match(/^(\S+)\s+(\S+)/),n!=null&&n.length==3){var t=n[1],i=n[2],r=this.reference;r==null&&(r=Screen.getBody());var c=Position.get(r),u=c.top,f=c.left,e=DOM.getOuterWidth(r),o=DOM.getOuterHeight(r),s=DOM.getOuterWidth(this.div),h=DOM.getOuterHeight(this.div),l=Screen.getScrollLeft(),a=Screen.getScrollTop();t=="above"?this.setTop(u-h+this.offsetTop):t=="top"?this.setTop(u+this.offsetTop):t=="center"?this.setTop(u+o/2-h/2+this.offsetTop):t=="bottom"?this.setTop(u+o-h+this.offsetTop):t=="below"&&this.setTop(u+o+this.offsetTop);i=="adjacent-left"?this.setLeft(f-s+this.offsetLeft):i=="left"?this.setLeft(f+this.offsetLeft):i=="center"?this.setLeft(f+e/2-s/2+this.offsetLeft):i=="right"?this.setLeft(f+e-s+this.offsetLeft):i=="adjacent-right"&&this.setLeft(f+e+this.offsetLeft)}}else this.top==null&&this.left==null?this.center():(this.top==null&&(this.top=0),this.left==null&&(this.left=0),this.div.style.top=this.top+this.offsetTop+"px",this.div.style.left=this.left+this.offsetLeft+"px");this.constrainToScreen&&this.fitToScreen()};Popup.prototype.appendToBody=function(n){var t=Screen.getBody();t&&t.appendChild&&t.appendChild(n)};Popup.prototype.createDiv=function(){if(document.createElement){var n=document.createElement("DIV");return n.style.position="absolute",n.style.display="block",n.style.visibility="hidden",this.appendToBody(n),n}return alert("ERROR: Couldn't create DIV element in Popup.prototype.createDiv()"),null};Popup.prototype.createIframe=function(){if(document.createElement){var n=document.createElement("IFRAME");return n.style.position="absolute",n.style.display="block",n.style.visibility="hidden",n.style.background="none",this.appendToBody(n),n}alert("ERROR: Couldn't create IFRAME object in Popup.prototype.createIframe()")};Popup.prototype.addIframeShim=function(){this.iframe==null&&(this.iframe=this.createIframe());this.iframe.className=Popup.iframeClass;CSS.setStyle(this.iframe,"top",this.getTop()+"px");CSS.setStyle(this.iframe,"left",this.getLeft()+"px");CSS.setStyle(this.iframe,"width",DOM.getOuterWidth(this.div)+"px");CSS.setStyle(this.iframe,"height",DOM.getOuterHeight(this.div)+"px");CSS.setStyle(this.iframe,"zIndex",Popup.minZIndex++);CSS.setStyle(this.iframe,"opacity",0);CSS.setStyle(this.iframe,"visibility","visible");CSS.setStyle(this.iframe,"display","block")};Popup.prototype.addScreen=function(){this.screen==null&&(this.screen=this.createDiv(),this.screen.style.top="0px",this.screen.style.left="0px",this.screen.style.backgroundColor=this.screenColor,this.screen.className=Popup.screenClass,CSS.setStyle(this.screen,"opacity",this.screenOpacity),this.screen.onclick=function(n){Event.cancelBubble(Event.resolve(n))});this.screenIframeShim==null&&(this.screenIframeShim=this.createIframe(),this.screenIframeShim.style.top="0px",this.screenIframeShim.style.left="0px",this.screenIframeShim.className=Popup.screenIframeClass,CSS.setStyle(this.screenIframeShim,"opacity",0));this.screen.style.width=Screen.getDocumentWidth()+"px";this.screen.style.height=Screen.getDocumentHeight()+"px";this.screenIframeShim.style.width=Screen.getDocumentWidth()+"px";this.screenIframeShim.style.height=Screen.getDocumentHeight()+"px";this.screenIframeShim.style.zIndex=Popup.minZIndex++;this.screenIframeShim.style.visibility="visible";this.screenIframeShim.style.display="block";this.screen.style.zIndex=Popup.minZIndex++;this.screen.style.visibility="visible";this.screen.style.display="block"};Popup.prototype.fitToScreen=function(){var u=DOM.getOuterWidth(this.div),f=DOM.getOuterHeight(this.div),n=this.getTop(),t=this.getLeft(),e=Screen.getViewportWidth(),o=Screen.getViewportHeight(),i=Screen.getScrollLeft(),r=Screen.getScrollTop();n-r+f>o&&(n=n-(n+f-(r+o)),this.div.style.top=n+"px");t-i+u>e&&(t=t-(t+u-(i+e)),this.div.style.left=t+"px");n<r&&(this.div.style.top=r+"px");t<i&&(this.div.style.left=i+"px")};Popup.prototype.center=function(){var n=DOM.getOuterWidth(this.div),t=DOM.getOuterHeight(this.div),i,r;isNaN(n)&&(n=0);isNaN(t)&&(t=0);i=Screen.getViewportWidth();r=Screen.getViewportHeight();i!=null&&r!=null&&(t=(r-t)/2,n=(i-n)/2);t+=Screen.getScrollTop();n+=Screen.getScrollLeft();this.div.style.top=t+this.offsetTop+"px";this.div.style.left=n+this.offsetLeft+"px"};$(document).ready(function(){$.fn.placeholder();$(".locations .label").click(function(){return $("#location-list").slideToggle("500"),!1});$("nav.main a").click(function(){if($(this).hasClass("gclink"))window.location=$(this).attr("href");else return $("#drop-nav").slideToggle("500"),!1});$("#rotate").cycle({fx:"custom",cssBefore:{left:360},animIn:{left:0},animOut:{left:-360}});$("#home-rotate").cycle({fx:"custom",cssBefore:{left:1282},animIn:{left:0},animOut:{left:-1282},timeout:8e3})})