﻿/*
 * jQuery UI 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
(function(a,b){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.4",plugin:{add:function(e,f,h){var g=a.ui[e].prototype;for(var d in h){g.plugins[d]=g.plugins[d]||[];g.plugins[d].push([f,h[d]])}},call:function(f,g,d){var h=f.plugins[g];if(!h||!f.element[0].parentNode){return}for(var e=0;e<h.length;e++){if(f.options[h[e][0]]){h[e][1].apply(f.element,d)}}}},contains:function(d,e){return document.compareDocumentPosition?d.compareDocumentPosition(e)&16:d!==e&&d.contains(e)},hasScroll:function(e,d){if(a(e).css("overflow")==="hidden"){return false}var g=(d&&d==="left")?"scrollLeft":"scrollTop",f=false;if(e[g]>0){return true}e[g]=1;f=(e[g]>0);e[g]=0;return f},isOverAxis:function(f,d,e){return(f>d)&&(f<(d+e))},isOver:function(i,h,f,e,d,g){return a.ui.isOverAxis(i,f,d)&&a.ui.isOverAxis(h,e,g)},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({_focus:a.fn.focus,focus:function(d,e){return typeof d==="number"?this.each(function(){var f=this;setTimeout(function(){a(f).focus();if(e){e.call(f)}},d)}):this._focus.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none")},scrollParent:function(){var d;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){d=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{d=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!d.length?a(document):d},zIndex:function(g){if(g!==b){return this.css("zIndex",g)}if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"));if(!isNaN(f)&&f!=0){return f}}d=d.parent()}}return 0}});a.each(["Width","Height"],function(d,e){var h=e==="Width"?["Left","Right"]:["Top","Bottom"],j=e.toLowerCase(),f={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function g(k,m,i,l){a.each(h,function(){m-=parseFloat(a.curCSS(k,"padding"+this,true))||0;if(i){m-=parseFloat(a.curCSS(k,"border"+this+"Width",true))||0}if(l){m-=parseFloat(a.curCSS(k,"margin"+this,true))||0}});return m}a.fn["inner"+e]=function(i){if(i===b){return f["inner"+e].call(this)}return this.each(function(){a.style(this,j,g(this,i)+"px")})};a.fn["outer"+e]=function(k,i){if(typeof k!=="number"){return f["outer"+e].call(this,k)}return this.each(function(){a.style(this,j,g(this,k,true,i)+"px")})}});function c(d){return !a(d).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(d,e,f){return !!a.data(d,f[3])},focusable:function(d){var h=d.nodeName.toLowerCase(),i=a.attr(d,"tabindex");if("area"===h){var f=d.parentNode,g=f.name,e;if(!d.href||!g||f.nodeName.toLowerCase()!=="map"){return false}e=a("img[usemap=#"+g+"]")[0];return !!e&&c(e)}return(/input|select|textarea|button|object/.test(h)?!d.disabled:"a"==h?d.href||!isNaN(i):!isNaN(i))&&c(d)},tabbable:function(d){var e=a.attr(d,"tabindex");return(isNaN(e)||e>=0)&&a(d).is(":focusable")}})})(jQuery142);
/*
 * jQuery UI Widget 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(a,c){var b=a.fn.remove;a.fn.remove=function(e,d){return this.each(function(){if(!d){if(!e||a.filter(e,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return b.call(a(this),e,d)})};a.widget=function(g,d,i){var h=g.split(".")[0],f;g=g.split(".")[1];f=h+"-"+g;if(!i){i=d;d=a.Widget}a.expr[":"][f]=function(j){return !!a.data(j,g)};a[h]=a[h]||{};a[h][g]=function(k,j){if(arguments.length){this._createWidget(k,j)}};var e=new d();e.options=a.extend(true,{},e.options);a[h][g].prototype=a.extend(true,e,{namespace:h,widgetName:g,widgetEventPrefix:a[h][g].prototype.widgetEventPrefix||g,widgetBaseClass:f},i);a.widget.bridge(g,a[h][g])};a.widget.bridge=function(d,e){a.fn[d]=function(h){var g=typeof h==="string",f=Array.prototype.slice.call(arguments,1),i=this;h=!g&&f.length?a.extend.apply(null,[true,h].concat(f)):h;if(g&&h.substring(0,1)==="_"){return i}if(g){this.each(function(){var j=a.data(this,d),k=j&&a.isFunction(j[h])?j[h].apply(j,f):j;if(k!==j&&k!==c){i=k;return false}})}else{this.each(function(){var j=a.data(this,d);if(j){if(h){j.option(h)}j._init()}else{a.data(this,d,new e(h,this))}})}return i}};a.Widget=function(e,d){if(arguments.length){this._createWidget(e,d)}};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(e,d){a.data(d,this.widgetName,this);this.element=a(d);this.options=a.extend(true,{},this.options,a.metadata&&a.metadata.get(d)[this.widgetName],e);var f=this;this.element.bind("remove."+this.widgetName,function(){f.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(d,g){var e=d,f=this;if(arguments.length===0){return a.extend({},f.options)}if(typeof d==="string"){if(g===c){return this.options[d]}e={};e[d]=g}a.each(e,function(h,i){f._setOption(h,i)});return f},_setOption:function(d,e){this.options[d]=e;if(d==="disabled"){this.widget()[e?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",e)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(j,f,e){var d=this.options[j];f=a.Event(f);f.type=(j===this.widgetEventPrefix?j:this.widgetEventPrefix+j).toLowerCase();e=e||{};if(f.originalEvent){for(var g=a.event.props.length,h;g;){h=a.event.props[--g];f[h]=f.originalEvent[h]}}this.element.trigger(f,e);return !(a.isFunction(d)&&d.call(this.element[0],f,e)===false||f.isDefaultPrevented())}}})(jQuery142);
/*
 * jQuery UI Mouse 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *   jquery.ui.widget.js
 */
(function(a,b){a.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var c=this;this.element.bind("mousedown."+this.widgetName,function(d){return c._mouseDown(d)}).bind("click."+this.widgetName,function(d){if(c._preventClickEvent){c._preventClickEvent=false;d.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(e){e.originalEvent=e.originalEvent||{};if(e.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(e));this._mouseDownEvent=e;var f=this,c=(e.which==1),d=(typeof this.options.cancel=="string"?a(e.target).parents().add(e.target).filter(this.options.cancel).length:false);if(!c||d||!this._mouseCapture(e)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){f.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)){this._mouseStarted=(this._mouseStart(e)!==false);if(!this._mouseStarted){e.preventDefault();return true}}this._mouseMoveDelegate=function(g){return f._mouseMove(g)};this._mouseUpDelegate=function(g){return f._mouseUp(g)};a(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(a.browser.safari||e.preventDefault());e.originalEvent.mouseHandled=true;return true},_mouseMove:function(c){if(a.browser.msie&&!c.button){return this._mouseUp(c)}if(this._mouseStarted){this._mouseDrag(c);return c.preventDefault()}if(this._mouseDistanceMet(c)&&this._mouseDelayMet(c)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,c)!==false);(this._mouseStarted?this._mouseDrag(c):this._mouseUp(c))}return !this._mouseStarted},_mouseUp:function(c){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(c.target==this._mouseDownEvent.target);this._mouseStop(c)}return false},_mouseDistanceMet:function(c){return(Math.max(Math.abs(this._mouseDownEvent.pageX-c.pageX),Math.abs(this._mouseDownEvent.pageY-c.pageY))>=this.options.distance)},_mouseDelayMet:function(c){return this.mouseDelayMet},_mouseStart:function(c){},_mouseDrag:function(c){},_mouseStop:function(c){},_mouseCapture:function(c){return true}})})(jQuery142);(function(a,b){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!(/^(?:r|a|f)/).test(this.element.css("position"))){this.element[0].style.position="relative"}(this.options.addClasses&&this.element.addClass("ui-draggable"));(this.options.disabled&&this.element.addClass("ui-draggable-disabled"));this._mouseInit()},destroy:function(){if(!this.element.data("draggable")){return}this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled");this._mouseDestroy();return this},_mouseCapture:function(c){var d=this.options;if(this.helper||d.disabled||a(c.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(c);if(!this.handle){return false}return true},_mouseStart:function(c){var d=this.options;this.helper=this._createHelper(c);this._cacheHelperProportions();if(a.ui.ddmanager){a.ui.ddmanager.current=this}this._cacheMargins();this.cssPosition=this.helper.css("position");this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left};a.extend(this.offset,{click:{left:c.pageX-this.offset.left,top:c.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(c);this.originalPageX=c.pageX;this.originalPageY=c.pageY;(d.cursorAt&&this._adjustOffsetFromHelper(d.cursorAt));if(d.containment){this._setContainment()}if(this._trigger("start",c)===false){this._clear();return false}this._cacheHelperProportions();if(a.ui.ddmanager&&!d.dropBehaviour){a.ui.ddmanager.prepareOffsets(this,c)}this.helper.addClass("ui-draggable-dragging");this._mouseDrag(c,true);return true},_mouseDrag:function(c,d){this.position=this._generatePosition(c);this.positionAbs=this._convertPositionTo("absolute");if(!d){var e=this._uiHash();if(this._trigger("drag",c,e)===false){this._mouseUp({});return false}this.position=e.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}if(a.ui.ddmanager){a.ui.ddmanager.drag(this,c)}return false},_mouseStop:function(d){var c=false;if(a.ui.ddmanager&&!this.options.dropBehaviour){c=a.ui.ddmanager.drop(this,d)}if(this.dropped){c=this.dropped;this.dropped=false}if(!this.element[0]||!this.element[0].parentNode){return false}if((this.options.revert=="invalid"&&!c)||(this.options.revert=="valid"&&c)||this.options.revert===true||(a.isFunction(this.options.revert)&&this.options.revert.call(this.element,c))){var e=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(e._trigger("stop",d)!==false){e._clear()}})}else{if(this._trigger("stop",d)!==false){this._clear()}}return false},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(c){var d=!this.options.handle||!a(this.options.handle,this.element).length?true:false;a(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==c.target){d=true}});return d},_createHelper:function(c){var e=this.options;var d=a.isFunction(e.helper)?a(e.helper.apply(this.element[0],[c])):(e.helper=="clone"?this.element.clone():this.element);if(!d.parents("body").length){d.appendTo((e.appendTo=="parent"?this.element[0].parentNode:e.appendTo))}if(d[0]!=this.element[0]&&!(/(fixed|absolute)/).test(d.css("position"))){d.css("position","absolute")}return d},_adjustOffsetFromHelper:function(c){if(typeof c=="string"){c=c.split(" ")}if(a.isArray(c)){c={left:+c[0],top:+c[1]||0}}if("left" in c){this.offset.click.left=c.left+this.margins.left}if("right" in c){this.offset.click.left=this.helperProportions.width-c.right+this.margins.left}if("top" in c){this.offset.click.top=c.top+this.margins.top}if("bottom" in c){this.offset.click.top=this.helperProportions.height-c.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var c=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])){c.left+=this.scrollParent.scrollLeft();c.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)){c={top:0,left:0}}return{top:c.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:c.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var c=this.element.position();return{top:c.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:c.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.element.css("marginLeft"),10)||0),top:(parseInt(this.element.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e=this.options;if(e.containment=="parent"){e.containment=this.helper[0].parentNode}if(e.containment=="document"||e.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(e.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(a(e.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(e.containment)&&e.containment.constructor!=Array){var c=a(e.containment)[0];if(!c){return}var d=a(e.containment).offset();var f=(a(c).css("overflow")!="hidden");this.containment=[d.left+(parseInt(a(c).css("borderLeftWidth"),10)||0)+(parseInt(a(c).css("paddingLeft"),10)||0)-this.margins.left,d.top+(parseInt(a(c).css("borderTopWidth"),10)||0)+(parseInt(a(c).css("paddingTop"),10)||0)-this.margins.top,d.left+(f?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css("borderLeftWidth"),10)||0)-(parseInt(a(c).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,d.top+(f?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css("borderTopWidth"),10)||0)-(parseInt(a(c).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}else{if(e.containment.constructor==Array){this.containment=e.containment}}},_convertPositionTo:function(c,g){if(!g){g=this.position}var e=c=="absolute"?1:-1;var f=this.options,h=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(h[0].tagName);return{top:(g.top+this.offset.relative.top*e+this.offset.parent.top*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:h.scrollTop()))*e)),left:(g.left+this.offset.relative.left*e+this.offset.parent.left*e-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:h.scrollLeft())*e))}},_generatePosition:function(c){var e=this.options,h=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(h[0].tagName);var f=c.pageX;var g=c.pageY;if(this.originalPosition){if(this.containment){if(c.pageX-this.offset.click.left<this.containment[0]){f=this.containment[0]+this.offset.click.left}if(c.pageY-this.offset.click.top<this.containment[1]){g=this.containment[1]+this.offset.click.top}if(c.pageX-this.offset.click.left>this.containment[2]){f=this.containment[2]+this.offset.click.left}if(c.pageY-this.offset.click.top>this.containment[3]){g=this.containment[3]+this.offset.click.top}}if(e.grid){var j=this.originalPageY+Math.round((g-this.originalPageY)/e.grid[1])*e.grid[1];g=this.containment?(!(j-this.offset.click.top<this.containment[1]||j-this.offset.click.top>this.containment[3])?j:(!(j-this.offset.click.top<this.containment[1])?j-e.grid[1]:j+e.grid[1])):j;var d=this.originalPageX+Math.round((f-this.originalPageX)/e.grid[0])*e.grid[0];f=this.containment?(!(d-this.offset.click.left<this.containment[0]||d-this.offset.click.left>this.containment[2])?d:(!(d-this.offset.click.left<this.containment[0])?d-e.grid[0]:d+e.grid[0])):d}}return{top:(g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:h.scrollTop())))),left:(f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:h.scrollLeft())))}},_clear:function(){this.helper.removeClass("ui-draggable-dragging");if(this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval){this.helper.remove()}this.helper=null;this.cancelHelperRemoval=false},_trigger:function(d,c,e){e=e||this._uiHash();a.ui.plugin.call(this,d,[c,e]);if(d=="drag"){this.positionAbs=this._convertPositionTo("absolute")}return a.Widget.prototype._trigger.call(this,d,c,e)},plugins:{},_uiHash:function(c){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});a.extend(a.ui.draggable,{version:"1.8.4"});a.ui.plugin.add("draggable","connectToSortable",{start:function(c,f){var d=a(this).data("draggable"),e=d.options,g=a.extend({},f,{item:d.element});d.sortables=[];a(e.connectToSortable).each(function(){var h=a.data(this,"sortable");if(h&&!h.options.disabled){d.sortables.push({instance:h,shouldRevert:h.options.revert});h._refreshItems();h._trigger("activate",c,g)}})},stop:function(c,e){var d=a(this).data("draggable"),f=a.extend({},e,{item:d.element});a.each(d.sortables,function(){if(this.instance.isOver){this.instance.isOver=0;d.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert){this.instance.options.revert=true}this.instance._mouseStop(c);this.instance.options.helper=this.instance.options._helper;if(d.options.helper=="original"){this.instance.currentItem.css({top:"auto",left:"auto"})}}else{this.instance.cancelHelperRemoval=false;this.instance._trigger("deactivate",c,f)}})},drag:function(d,g){var e=a(this).data("draggable"),f=this;var c=function(q){var i=this.offset.click.top,h=this.offset.click.left;var k=this.positionAbs.top,j=this.positionAbs.left;var l=q.height,p=q.width;var n=q.top,m=q.left;return a.ui.isOver(k+i,j+h,n,m,l,p)};a.each(e.sortables,function(h){this.instance.positionAbs=e.positionAbs;this.instance.helperProportions=e.helperProportions;this.instance.offset.click=e.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=a(f).clone().appendTo(this.instance.element).data("sortable-item",true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return g.helper[0]};d.target=this.instance.currentItem[0];this.instance._mouseCapture(d,true);this.instance._mouseStart(d,true,true);this.instance.offset.click.top=e.offset.click.top;this.instance.offset.click.left=e.offset.click.left;this.instance.offset.parent.left-=e.offset.parent.left-this.instance.offset.parent.left;this.instance.offset.parent.top-=e.offset.parent.top-this.instance.offset.parent.top;e._trigger("toSortable",d);e.dropped=this.instance.element;e.currentItem=e.element;this.instance.fromOutside=e}if(this.instance.currentItem){this.instance._mouseDrag(d)}}else{if(this.instance.isOver){this.instance.isOver=0;this.instance.cancelHelperRemoval=true;this.instance.options.revert=false;this.instance._trigger("out",d,this.instance._uiHash(this.instance));this.instance._mouseStop(d,true);this.instance.options.helper=this.instance.options._helper;this.instance.currentItem.remove();if(this.instance.placeholder){this.instance.placeholder.remove()}e._trigger("fromSortable",d);e.dropped=false}}})}});a.ui.plugin.add("draggable","cursor",{start:function(c,f){var e=a("body"),d=a(this).data("draggable").options;if(e.css("cursor")){d._cursor=e.css("cursor")}e.css("cursor",d.cursor)},stop:function(c,e){var d=a(this).data("draggable").options;if(d._cursor){a("body").css("cursor",d._cursor)}}});a.ui.plugin.add("draggable","iframeFix",{start:function(c,e){var d=a(this).data("draggable").options;a(d.iframeFix===true?"iframe":d.iframeFix).each(function(){a('<div class="ui-draggable-iframeFix" style="background: #fff;"></div>').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(a(this).offset()).appendTo("body")})},stop:function(c,d){a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)})}});a.ui.plugin.add("draggable","opacity",{start:function(c,f){var e=a(f.helper),d=a(this).data("draggable").options;if(e.css("opacity")){d._opacity=e.css("opacity")}e.css("opacity",d.opacity)},stop:function(c,e){var d=a(this).data("draggable").options;if(d._opacity){a(e.helper).css("opacity",d._opacity)}}});a.ui.plugin.add("draggable","scroll",{start:function(c,e){var d=a(this).data("draggable");if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){d.overflowOffset=d.scrollParent.offset()}},drag:function(c,g){var d=a(this).data("draggable"),e=d.options,f=false;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!="HTML"){if(!e.axis||e.axis!="x"){if((d.overflowOffset.top+d.scrollParent[0].offsetHeight)-c.pageY<e.scrollSensitivity){d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed}else{if(c.pageY-d.overflowOffset.top<e.scrollSensitivity){d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed}}}if(!e.axis||e.axis!="y"){if((d.overflowOffset.left+d.scrollParent[0].offsetWidth)-c.pageX<e.scrollSensitivity){d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed}else{if(c.pageX-d.overflowOffset.left<e.scrollSensitivity){d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed}}}}else{if(!e.axis||e.axis!="x"){if(c.pageY-a(document).scrollTop()<e.scrollSensitivity){f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed)}else{if(a(window).height()-(c.pageY-a(document).scrollTop())<e.scrollSensitivity){f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed)}}}if(!e.axis||e.axis!="y"){if(c.pageX-a(document).scrollLeft()<e.scrollSensitivity){f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed)}else{if(a(window).width()-(c.pageX-a(document).scrollLeft())<e.scrollSensitivity){f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed)}}}}if(f!==false&&a.ui.ddmanager&&!e.dropBehaviour){a.ui.ddmanager.prepareOffsets(d,c)}}});a.ui.plugin.add("draggable","snap",{start:function(c,f){var d=a(this).data("draggable"),e=d.options;d.snapElements=[];a(e.snap.constructor!=String?(e.snap.items||":data(draggable)"):e.snap).each(function(){var h=a(this);var g=h.offset();if(this!=d.element[0]){d.snapElements.push({item:this,width:h.outerWidth(),height:h.outerHeight(),top:g.top,left:g.left})}})},drag:function(g,w){var k=a(this).data("draggable"),p=k.options;var f=p.snapTolerance;var x=w.offset.left,y=x+k.helperProportions.width,z=w.offset.top,A=z+k.helperProportions.height;for(var j=k.snapElements.length-1;j>=0;j--){var m=k.snapElements[j].left,q=m+k.snapElements[j].width,u=k.snapElements[j].top,c=u+k.snapElements[j].height;if(!((m-f<x&&x<q+f&&u-f<z&&z<c+f)||(m-f<x&&x<q+f&&u-f<A&&A<c+f)||(m-f<y&&y<q+f&&u-f<z&&z<c+f)||(m-f<y&&y<q+f&&u-f<A&&A<c+f))){if(k.snapElements[j].snapping){(k.options.snap.release&&k.options.snap.release.call(k.element,g,a.extend(k._uiHash(),{snapItem:k.snapElements[j].item})))}k.snapElements[j].snapping=false;continue}if(p.snapMode!="inner"){var v=Math.abs(u-A)<=f;var e=Math.abs(c-z)<=f;var n=Math.abs(m-y)<=f;var s=Math.abs(q-x)<=f;if(v){w.position.top=k._convertPositionTo("relative",{top:u-k.helperProportions.height,left:0}).top-k.margins.top}if(e){w.position.top=k._convertPositionTo("relative",{top:c,left:0}).top-k.margins.top}if(n){w.position.left=k._convertPositionTo("relative",{top:0,left:m-k.helperProportions.width}).left-k.margins.left}if(s){w.position.left=k._convertPositionTo("relative",{top:0,left:q}).left-k.margins.left}}var h=(v||e||n||s);if(p.snapMode!="outer"){var v=Math.abs(u-z)<=f;var e=Math.abs(c-A)<=f;var n=Math.abs(m-x)<=f;var s=Math.abs(q-y)<=f;if(v){w.position.top=k._convertPositionTo("relative",{top:u,left:0}).top-k.margins.top}if(e){w.position.top=k._convertPositionTo("relative",{top:c-k.helperProportions.height,left:0}).top-k.margins.top}if(n){w.position.left=k._convertPositionTo("relative",{top:0,left:m}).left-k.margins.left}if(s){w.position.left=k._convertPositionTo("relative",{top:0,left:q-k.helperProportions.width}).left-k.margins.left}}if(!k.snapElements[j].snapping&&(v||e||n||s||h)){(k.options.snap.snap&&k.options.snap.snap.call(k.element,g,a.extend(k._uiHash(),{snapItem:k.snapElements[j].item})))}k.snapElements[j].snapping=(v||e||n||s||h)}}});a.ui.plugin.add("draggable","stack",{start:function(c,g){var f=a(this).data("draggable").options;var d=a.makeArray(a(f.stack)).sort(function(h,i){return(parseInt(a(h).css("zIndex"),10)||0)-(parseInt(a(i).css("zIndex"),10)||0)});if(!d.length){return}var e=parseInt(d[0].style.zIndex)||0;a(d).each(function(h){this.style.zIndex=e+h});this[0].style.zIndex=e+d.length}});a.ui.plugin.add("draggable","zIndex",{start:function(c,f){var e=a(f.helper),d=a(this).data("draggable").options;if(e.css("zIndex")){d._zIndex=e.css("zIndex")}e.css("zIndex",d.zIndex)},stop:function(c,e){var d=a(this).data("draggable").options;if(d._zIndex){a(e.helper).css("zIndex",d._zIndex)}}})})(jQuery142);Cufon.replace("article h1, .specials h3, .specials h4, footer h4, #temp, #emailSignUpText, #emailSignupText, .widgetCTA .widgetCTAHeaders, .widgetCTA .widgetCTADescription, h2, #mainNavLinks>li>a, ",{hover:true,fontFamily:"Century Gothic"});
/*@cc_on(function(p,e){var q=e.createElement("div");q.innerHTML="<z>i</z>";q.childNodes.length!==1&&function(){function r(a,b){if(g[a])g[a].styleSheet.cssText+=b;else{var c=s[l],d=e[j]("style");d.media=a;c.insertBefore(d,c[l]);g[a]=d;r(a,b)}}function t(a,b){for(var c=new RegExp("\\b("+m+")\\b(?!.*[;}])","gi"),d=function(k){return".iepp_"+k},h=-1;++h<a.length;){b=a[h].media||b;t(a[h].imports,b);r(b,a[h].cssText.replace(c,d))}}for(var s=e.documentElement,i=e.createDocumentFragment(),g={},m="abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/ /g, '|'),
n=m.split("|"),f=[],o=-1,l="firstChild",j="createElement";++o<n.length;){e[j](n[o]);i[j](n[o])}i=i.appendChild(e[j]("div"));p.attachEvent("onbeforeprint",function(){for(var a,b=e.getElementsByTagName("*"),c,d,h=new RegExp("^"+m+"$","i"),k=-1;++k<b.length;)if((a=b[k])&&(d=a.nodeName.match(h))){c=new RegExp("^\\s*<"+d+"(.*)\\/"+d+">\\s*$","i");i.innerHTML=a.outerHTML.replace(/\r|\n/g," ").replace(c,a.currentStyle.display=="block"?"<div$1/div>":"<span$1/span>");c=i.childNodes[0];c.className+=" iepp_"+
d;c=f[f.length]=[a,c];a.parentNode.replaceChild(c[1],c[0])}t(e.styleSheets,"all")});p.attachEvent("onafterprint",function(){for(var a=-1,b;++a<f.length;)f[a][1].parentNode.replaceChild(f[a][0],f[a][1]);for(b in g)s[l].removeChild(g[b]);g={};f=[]})}()})(this,document);@*/
(function(a){a.fn.jCarouselLite=function(e){e=a.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:false,auto:null,speed:200,easing:null,vertical:false,circular:true,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},e||{});return this.each(function(){var n=false,f=e.vertical?"top":"left",o=e.vertical?"height":"width";var h=a(this),r=a("#carouselContainer",h),q=a(".widgetCTA",r),p=q.size(),t=e.visible;if(e.circular){r.prepend(q.slice(p-t-1+1).clone()).append(q.slice(0,t).clone());e.start+=t}var l=a(".widgetCTA",r),k=l.size(),g=e.start;h.css("visibility","visible");l.css({overflow:"hidden","float":e.vertical?"none":"left"});r.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"});h.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var m=e.vertical?c(l):d(l);var s=m*k;var i=m*t;l.css({width:l.width(),height:l.height()});r.css(o,s+"px").css(f,-(g*m));h.css(o,i+"px");if(e.btnPrev){a(e.btnPrev).click(function(){return j(g-e.scroll)})}if(e.btnNext){a(e.btnNext).click(function(){return j(g+e.scroll)})}if(e.btnGo){a.each(e.btnGo,function(v,w){a(w).click(function(){return j(e.circular?e.visible+v:v)})})}if(e.mouseWheel&&h.mousewheel){h.mousewheel(function(w,v){return v>0?j(g-e.scroll):j(g+e.scroll)})}if(e.auto){setInterval(function(){j(g+e.scroll)},e.auto+e.speed)}function u(){return l.slice(g).slice(0,t)}function j(v){if(!n){if(e.beforeStart){e.beforeStart.call(this,u())}if(e.circular){if(v<=e.start-t-1){r.css(f,-((k-(t*2))*m)+"px");g=v==e.start-t-1?k-(t*2)-1:k-(t*2)-e.scroll}else{if(v>=k-t+1){r.css(f,-((t)*m)+"px");g=v==k-t+1?t+1:t+e.scroll}else{g=v}}}else{if(v<0||v>k-t){return}else{g=v}}n=true;r.animate(f=="left"?{left:-(g*m)}:{top:-(g*m)},e.speed,e.easing,function(){if(e.afterEnd){e.afterEnd.call(this,u())}n=false});if(!e.circular){a(e.btnPrev+","+e.btnNext).removeClass("disabled");a((g-e.scroll<0&&e.btnPrev)||(g+e.scroll>k-t&&e.btnNext)||[]).addClass("disabled")}}return false}})};function b(e,f){return parseInt(a.css(e[0],f))||0}function d(e){return e[0].offsetWidth+b(e,"marginLeft")+b(e,"marginRight")}function c(e){return e[0].offsetHeight+b(e,"marginTop")+b(e,"marginBottom")}})(jQuery);(function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(f,e){d.fx.step[e]=function(g){if(g.state==0){g.start=b(g.elem,e);g.end=c(g.end)}g.elem.style[e]="rgb("+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(",")+")"}});function c(e){var f;if(e&&e.constructor==Array&&e.length==3){return e}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e)){return[parseInt(f[1]),parseInt(f[2]),parseInt(f[3])]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(e)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(e)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(e)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}return a[d.trim(e).toLowerCase()]}function b(g,e){var f;do{f=d.curCSS(g,e);if(f!=""&&f!="transparent"||d.nodeName(g,"body")){break}e="backgroundColor"}while(g=g.parentNode);return c(f)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0]}})(jQuery);(function(d){var a="Lite-1.0";d.fn.cycle=function(e){return this.each(function(){e=e||{};if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=0;this.cyclePause=0;var i=d(this);var j=e.slideExpr?d(e.slideExpr,this):i.children();var g=j.get();if(g.length<2){if(window.console&&window.console.log){window.console.log("terminating; too few slides: "+g.length)}return}var h=d.extend({},d.fn.cycle.defaults,e||{},d.metadata?i.metadata():d.meta?i.data():{});h.before=h.before?[h.before]:[];h.after=h.after?[h.after]:[];h.after.unshift(function(){h.busy=0});var f=this.className;h.width=parseInt((f.match(/w:(\d+)/)||[])[1])||h.width;h.height=parseInt((f.match(/h:(\d+)/)||[])[1])||h.height;h.timeout=parseInt((f.match(/t:(\d+)/)||[])[1])||h.timeout;if(i.css("position")=="static"){i.css("position","relative")}if(h.width){i.width(h.width)}if(h.height&&h.height!="auto"){i.height(h.height)}var k=0;j.css({position:"absolute",top:0,left:0}).hide().each(function(m){d(this).css("z-index",g.length-m)});d(g[k]).css("opacity",1).show();if(d.browser.msie){g[k].style.removeAttribute("filter")}if(h.fit&&h.width){j.width(h.width)}if(h.fit&&h.height&&h.height!="auto"){j.height(h.height)}if(h.pause){i.hover(function(){this.cyclePause=1},function(){this.cyclePause=0})}d.fn.cycle.transitions.fade(i,j,h);j.each(function(){var m=d(this);this.cycleH=(h.fit&&h.height)?h.height:m.height();this.cycleW=(h.fit&&h.width)?h.width:m.width()});j.not(":eq("+k+")").css({opacity:0});if(h.cssFirst){d(j[k]).css(h.cssFirst)}if(h.timeout){if(h.speed.constructor==String){h.speed={slow:600,fast:200}[h.speed]||400}if(!h.sync){h.speed=h.speed/2}while((h.timeout-h.speed)<250){h.timeout+=h.speed}}h.speedIn=h.speed;h.speedOut=h.speed;h.slideCount=g.length;h.currSlide=k;h.nextSlide=1;var l=j[k];if(h.before.length){h.before[0].apply(l,[l,l,h,true])}if(h.after.length>1){h.after[1].apply(l,[l,l,h,true])}if(h.click&&!h.next){h.next=h.click}if(h.next){d(h.next).bind("click",function(){return c(g,h,h.rev?-1:1)})}if(h.prev){d(h.prev).bind("click",function(){return c(g,h,h.rev?1:-1)})}if(h.timeout){this.cycleTimeout=setTimeout(function(){b(g,h,0,!h.rev)},h.timeout+(h.delay||0))}})};function b(j,e,i,k){if(e.busy){return}var h=j[0].parentNode,m=j[e.currSlide],l=j[e.nextSlide];if(h.cycleTimeout===0&&!i){return}if(i||!h.cyclePause){if(e.before.length){d.each(e.before,function(n,o){o.apply(l,[m,l,e,k])})}var f=function(){if(d.browser.msie){this.style.removeAttribute("filter")}d.each(e.after,function(n,o){o.apply(l,[m,l,e,k])})};if(e.nextSlide!=e.currSlide){e.busy=1;d.fn.cycle.custom(m,l,e,f)}var g=(e.nextSlide+1)==j.length;e.nextSlide=g?0:e.nextSlide+1;e.currSlide=g?j.length-1:e.nextSlide-1}if(e.timeout){h.cycleTimeout=setTimeout(function(){b(j,e,0,!e.rev)},e.timeout)}}function c(e,f,i){var h=e[0].parentNode,g=h.cycleTimeout;if(g){clearTimeout(g);h.cycleTimeout=0}f.nextSlide=f.currSlide+i;if(f.nextSlide<0){f.nextSlide=e.length-1}else{if(f.nextSlide>=e.length){f.nextSlide=0}}b(e,f,1,i>=0);return false}d.fn.cycle.custom=function(k,h,i,e){var j=d(k),g=d(h);g.css({opacity:0});var f=function(){g.animate({opacity:1},i.speedIn,i.easeIn,e)};j.animate({opacity:0},i.speedOut,i.easeOut,function(){j.css({display:"none"});if(!i.sync){f()}});if(i.sync){f()}};d.fn.cycle.transitions={fade:function(f,g,e){g.not(":eq(0)").css("opacity",0);e.before.push(function(){d(this).show()})}};d.fn.cycle.ver=function(){return a};d.fn.cycle.defaults={timeout:4000,speed:1000,next:null,prev:null,before:null,after:null,height:"auto",sync:1,fit:0,pause:0,delay:0,slideExpr:null}})(jQuery);$(document).ready(function(){jQuery142("#pageid8454 #headerImg .imageWidget").draggable({axis:"y"});var b=$("#subNav ul  > li ");if(b.length<1){$("#subNav").css({display:"none"})}$.expr[":"].external=function(c){return !c.href.match(/^mailto\:/)&&!c.href.match(/^javascript/)&&!c.href.match(/^http\:\/\/www.vizergy.com/)&&(c.hostname!=location.hostname)};$("article a:external, article a[href*=.pdf], article a[href*=.doc], article a[href*=.docx]").addClass("external").click(function(){window.open(this.href);return false});$("article a[href*=.pdf]").addClass("pdf");$("article a[href*=.doc], article a[href*=.docx]").addClass("doc");$(".sitemapWidget ul").addClass("sitemapUL");$("article ul:not(.sitemapWidget):not(.noFloat):not(.sitemapUL)").each(function(){var e=$(this).children().size();if(e>=6){var d=this;$(d).wrap("<div class='colContainer'><div class='twoCols'></div></div>");var c=$(d).parent().parent();$(c).append("<div class='twoCols next'><ul></ul></div>");var f=$(".twoCols:last ul",c);var g=$(d).children().slice(Math.ceil(e/2));$(f).append(g);$("div.colContainer").next().addClass("clear");if($(this).hasClass("noStyle")){$(this).parent().parent().find(".twoCols.next ul").addClass("noStyle")}}});$(".socialToolbarWidget").prependTo(".marketingPhoneShell");$(".btnViewDetails").click(function(){$(this).parent().parent().find(".hideMe").slideToggle()});$("#ctaContainer").jCarouselLite({btnNext:"#btnNext",btnPrev:"#btnPrev",visible:3});$("#address").prepend("<h4>Contact Info</h4>");$("#btnNext").hover(function(){$(this).animate({borderLeftColor:"#32483a"},500)},function(){$(this).animate({borderLeftColor:"#79A189"},1000)});$("#btnPrev").hover(function(){$(this).animate({borderRightColor:"#32483a"},500)},function(){$(this).animate({borderRightColor:"#79A189"},1000)});$(".roomSuiteCycle").cycle();$("#address").append("<span class='email'>Email: <a href='mailto:reservations@twobunchpalms.com'>reservations@twobunchpalms.com</a></span>");$("footer .container").append("<div id='meepMeep'></div>");$.fn.pause=function(c){$(this).animate({dummy:1},c);return this};function a(d){var f=window.event?event:d;var g=f.charCode?f.charCode:f.keyCode;var c=String.fromCharCode(g);if(f.ctrlKey){if(c=="m"){$("#meepMeep").toggle()}}}document.onkeypress=a;$("#sash").appendTo("#headerImg")});
