<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>build/gallery-beforeunload/gallery-beforeunload-debug.js</filename>
    </added>
    <added>
      <filename>build/gallery-beforeunload/gallery-beforeunload-min.js</filename>
    </added>
    <added>
      <filename>build/gallery-beforeunload/gallery-beforeunload.js</filename>
    </added>
    <added>
      <filename>build/gallery-event-drag/gallery-event-drag-debug.js</filename>
    </added>
    <added>
      <filename>build/gallery-event-drag/gallery-event-drag-min.js</filename>
    </added>
    <added>
      <filename>build/gallery-event-drag/gallery-event-drag.js</filename>
    </added>
    <added>
      <filename>build/gallery-io-poller/gallery-io-poller-debug.js</filename>
    </added>
    <added>
      <filename>build/gallery-io-poller/gallery-io-poller-min.js</filename>
    </added>
    <added>
      <filename>build/gallery-io-poller/gallery-io-poller.js</filename>
    </added>
    <added>
      <filename>build/gallery-port/gallery-port-debug.js</filename>
    </added>
    <added>
      <filename>build/gallery-port/gallery-port-min.js</filename>
    </added>
    <added>
      <filename>build/gallery-port/gallery-port.js</filename>
    </added>
    <added>
      <filename>build/gallery-simple-editor/gallery-simple-editor-debug.js</filename>
    </added>
    <added>
      <filename>build/gallery-simple-editor/gallery-simple-editor-min.js</filename>
    </added>
    <added>
      <filename>build/gallery-simple-editor/gallery-simple-editor.js</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2363,7 +2363,7 @@ Y.extend( AccordionItem, Y.Widget, {
         
         if( this.get( RENDERED ) ){
             label = this.get( NODE_LABEL );
-            label.set( INNER_HTML, [&quot;&lt;a href='#'&gt;&quot;, params.newVal, &quot;&lt;/a&gt;&quot; ].join('') );
+            label.set( INNER_HTML, params.newVal );
         }
     },
 
@@ -2607,4 +2607,4 @@ Y.AccordionItem = AccordionItem;
 
 
 
-}, 'gallery-2009.10.27' ,{requires:['event', 'anim-easing', 'dd-constrain', 'dd-proxy', 'dd-drop', 'widget', 'widget-stdmod', 'json-parse']});
+}, 'gallery-2009.11.02-20' ,{requires:['event', 'anim-easing', 'dd-constrain', 'dd-proxy', 'dd-drop', 'widget', 'widget-stdmod', 'json-parse']});</diff>
      <filename>build/gallery-accordion/gallery-accordion-debug.js</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
 YUI.add(&quot;gallery-accordion&quot;,function(A){(function(){function M(v){M.superclass.constructor.apply(this,arguments);}var u=A.Lang,V=A.Node,Z=A.Anim,H=A.Easing,N=&quot;accordion&quot;,X=A.WidgetStdMod,s=document.compatMode==&quot;BackCompat&quot;,T=s&amp;&amp;A.UA.ie&gt;0,U=T?1:0,I=A.ClassNameManager.getClassName,W=&quot;yui-accordion-item&quot;,f=I(N,&quot;proxyel&quot;,&quot;visible&quot;),h=I(N,&quot;graggroup&quot;),b=&quot;beforeItemAdd&quot;,e=&quot;itemAdded&quot;,D=&quot;beforeItemRemove&quot;,i=&quot;itemRemoved&quot;,C=&quot;beforeItemResized&quot;,p=&quot;itemResized&quot;,d=&quot;beforeItemExpand&quot;,g=&quot;beforeItemCollapse&quot;,J=&quot;itemExpanded&quot;,m=&quot;itemCollapsed&quot;,j=&quot;beforeItemReorder&quot;,R=&quot;beforeEndItemReorder&quot;,S=&quot;itemReordered&quot;,k=&quot;default&quot;,O=&quot;animation&quot;,P=&quot;alwaysVisible&quot;,E=&quot;expanded&quot;,c=&quot;collapseOthersOnExpand&quot;,Y=&quot;items&quot;,t=&quot;contentHeight&quot;,B=&quot;iconClose&quot;,F=&quot;iconAlwaysVisible&quot;,G=&quot;stretch&quot;,r=&quot;px&quot;,a=&quot;contentBox&quot;,n=&quot;boundingBox&quot;,l=&quot;rendered&quot;,o=&quot;bodyContent&quot;,Q=&quot;children&quot;,K=&quot;parentNode&quot;,q=&quot;node&quot;,L=&quot;data&quot;;M.NAME=N;M.ATTRS={itemChosen:{value:&quot;click&quot;,validator:u.isString},items:{value:[],readOnly:true,validator:u.isArray},resizeEvent:{value:k,validator:function(v){return(u.isString(v)||u.isObject(v));}},useAnimation:{value:true,validator:u.isBoolean},animation:{value:{duration:1,easing:H.easeOutStrong},validator:function(v){return u.isObject(v)&amp;&amp;u.isNumber(v.duration)&amp;&amp;u.isFunction(v.easing);}},reorderItems:{value:true,validator:u.isBoolean},collapseOthersOnExpand:{value:true,validator:u.isBoolean}};A.extend(M,A.Widget,{initializer:function(v){this._initEvents();this.after(&quot;render&quot;,A.bind(this._afterRender,this));this._forCollapsing={};this._forExpanding={};this._animations={};},destructor:function(){var v,y,w,x;v=this.get(Y);x=v.length;for(w=x-1;w&gt;=0;w--){y=v[w];v.splice(w,1);this._removeItemHandles(y);y.destroy();}},_initEvents:function(){this.publish(b);this.publish(e);this.publish(D);this.publish(i);this.publish(C);this.publish(p);this.publish(d);this.publish(g);this.publish(J);this.publish(m);this.publish(j);this.publish(R);this.publish(S);},_itemsHandles:{},_removeItemHandles:function(x){var w,v;w=this._itemsHandles[x];for(v in w){if(w.hasOwnProperty(v)){v=w[v];v.detach();}}delete this._itemsHandles[x];},_getNodeOffsetHeight:function(x){var v,w;if(x instanceof V){if(x.hasMethod(&quot;getBoundingClientRect&quot;)){w=x.invoke(&quot;getBoundingClientRect&quot;);if(w){v=w.bottom-w.top;return v;}}else{v=x.get(&quot;offsetHeight&quot;);return A.Lang.isValue(v)?v:0;}}else{if(x){v=x.offsetHeight;return A.Lang.isValue(v)?v:0;}}return 0;},_setItemProperties:function(x,z,w){var v,y;v=x.get(P);y=x.get(E);if(z!=y){x.set(E,z,{internalCall:true});}if(w!==v){x.set(P,w,{internalCall:true});}},_setItemUI:function(w,x,v){w.markAsExpanded(x);w.markAsAlwaysVisible(v);},_afterRender:function(w){var v;v=this.get(&quot;resizeEvent&quot;);this._setUpResizing(v);this.after(&quot;resizeEventChange&quot;,A.bind(this._afterResizeEventChange,this));},_afterResizeEventChange:function(v){this._setUpResizing(v.newValue);},_onItemChosen:function(AA,AB,v){var z,x,y,w;z={};w=this.get(c);x=AA.get(P);y=AA.get(E);if(v){this.removeItem(AA);return;}else{if(AB){if(y){x=!x;y=x?true:y;this._setItemProperties(AA,y,x);this._setItemUI(AA,y,x);return;}else{this._forExpanding[AA]={&quot;item&quot;:AA,alwaysVisible:true};if(w){z[AA]={&quot;item&quot;:AA};this._storeItemsForCollapsing(z);}}}else{if(y){this._forCollapsing[AA]={&quot;item&quot;:AA};}else{this._forExpanding[AA]={&quot;item&quot;:AA,&quot;alwaysVisible&quot;:x};if(w){z[AA]={&quot;item&quot;:AA};this._storeItemsForCollapsing(z);}}}}this._processItems();},_adjustStretchItems:function(){var v=this.get(Y),w;w=this._getHeightPerStretchItem();A.Array.each(v,function(AB,AA,z){var x,AD,AC,AE,y;AE=AB.get(t);y=AB.get(E);if(AE.method===G&amp;&amp;y){AC=this._animations[AB];if(AC){AC.stop();}x=AB.getStdModNode(X.BODY);AD=this._getNodeOffsetHeight(x);if(w&lt;AD){this._processCollapsing(AB,w);}else{if(w&gt;AD){this._processExpanding(AB,w);}}}},this);return w;},_getHeightPerStretchItem:function(){var v,x,w=0;x=this.get(Y);v=this.get(n).get(&quot;clientHeight&quot;);A.Array.each(x,function(AC,AB,AA){var AD,z,AF,AE,y;AF=AC.getStdModNode(X.HEADER);AE=AC.get(t);y=this._getNodeOffsetHeight(AF);v-=y;AD=!AC.get(E);if(AD){v-=U;return;}if(AE.method===G){w++;}else{z=this._getItemContentHeight(AC);v-=z;}},this);if(w&gt;0){v/=w;}if(v&lt;0){v=0;}return v;},_getItemContentHeight:function(x){var z,w=0,v,y;z=x.get(t);if(z.method===&quot;auto&quot;){v=x.getStdModNode(X.BODY);y=v.get(Q).item(0);w=y?this._getNodeOffsetHeight(y):0;}else{if(z.method===&quot;fixed&quot;){w=z.height;}else{w=this._getHeightPerStretchItem();}}return w;},_storeItemsForCollapsing:function(w){var v;w=w||{};v=this.get(Y);A.Array.each(v,function(AB,AA,z){var y,x;y=AB.get(E);x=AB.get(P);if(y&amp;&amp;!x&amp;&amp;!w[AB]){this._forCollapsing[AB]={&quot;item&quot;:AB};}},this);},_expandItem:function(x,v){var w=x.get(P);this._processExpanding(x,v);this._setItemUI(x,true,w);},_processExpanding:function(AC,AB,v){var w,x,z,AD=false,AA,y;y=AC.getStdModNode(X.BODY);this.fire(C,{&quot;item&quot;:AC});if(y.get(&quot;clientHeight&quot;)&lt;=0){AD=true;this.fire(d,{&quot;item&quot;:AC});}if(!v&amp;&amp;this.get(&quot;useAnimation&quot;)){z=AC.get(O)||{};w=new Z({node:y,to:{&quot;height&quot;:AB}});w.on(&quot;end&quot;,A.bind(this._onExpandComplete,this,AC,AD));AA=this.get(O);w.set(&quot;duration&quot;,z.duration||AA.duration);w.set(&quot;easing&quot;,z.easing||AA.easing);x=this._animations[AC];if(x){x.stop();}AC.markAsExpanding(true);this._animations[AC]=w;w.run();}else{y.setStyle(&quot;height&quot;,AB+r);this.fire(p,{&quot;item&quot;:AC});if(AD){this.fire(J,{&quot;item&quot;:AC});}}},_onExpandComplete:function(v,w){delete this._animations[v];v.markAsExpanding(false);this.fire(p,{&quot;item&quot;:v});if(w){this.fire(J,{&quot;item&quot;:v});}},_collapseItem:function(v){this._processCollapsing(v,U);this._setItemUI(v,false,false);},_processCollapsing:function(AC,AB,v){var w,x,z,AA,y,AD=(AB===U);y=AC.getStdModNode(X.BODY);this.fire(C,{&quot;item&quot;:AC});if(AD){this.fire(g,{&quot;item&quot;:AC});}if(!v&amp;&amp;this.get(&quot;useAnimation&quot;)){z=AC.get(O)||{};w=new Z({node:y,to:{&quot;height&quot;:AB}});w.on(&quot;end&quot;,A.bind(this._onCollapseComplete,this,AC,AD));AA=this.get(O);w.set(&quot;duration&quot;,z.duration||AA.duration);w.set(&quot;easing&quot;,z.easing||AA.easing);x=this._animations[AC];if(x){x.stop();}AC.markAsCollapsing(true);this._animations[AC]=w;w.run();}else{y.setStyle(&quot;height&quot;,AB+r);
 this.fire(p,{&quot;item&quot;:AC});if(AD){this.fire(m,{&quot;item&quot;:AC});}}},_onCollapseComplete:function(v,w){delete this._animations[v];v.markAsCollapsing(false);this.fire(p,{item:v});if(w){this.fire(m,{&quot;item&quot;:v});}},_initItemDragDrop:function(w){var AA,v,z,x,y;AA=w.getStdModNode(X.HEADER);if(AA.dd){return;}z=this.get(n);x=w.get(n);v=new A.DD.Drag({node:AA,groups:[h]}).plug(A.Plugin.DDProxy,{moveOnEnd:false}).plug(A.Plugin.DDConstrained,{constrain2node:z});y=new A.DD.Drop({node:x,groups:[h]});v.on(&quot;drag:start&quot;,A.bind(this._onDragStart,this,v));v.on(&quot;drag:end&quot;,A.bind(this._onDragEnd,this,v));v.after(&quot;drag:end&quot;,A.bind(this._afterDragEnd,this,v));v.on(&quot;drag:drophit&quot;,A.bind(this._onDropHit,this,v));},_onDragStart:function(v,y){var x,w;w=this.getItem(v.get(q).get(K));x=v.get(&quot;dragNode&quot;);x.addClass(f);x.set(&quot;innerHTML&quot;,w.get(&quot;label&quot;));return this.fire(j,{&quot;item&quot;:w});},_onDragEnd:function(v,y){var x,w;x=v.get(&quot;dragNode&quot;);x.removeClass(f);x.set(&quot;innerHTML&quot;,&quot;&quot;);w=this.getItem(v.get(q).get(K));return this.fire(R,{&quot;item&quot;:w});},_afterDragEnd:function(v,y){var w,x;x=v.get(L);if(x.drophit){w=this.getItem(v.get(q).get(K));v.set(L,{drophit:false});return this.fire(S,{&quot;item&quot;:w});}return true;},_onDropHit:function(AE,AA){var z,AD,w,AC,y,v,AB,x,AF;AF=this.getItem(AE.get(q).get(K));x=this.getItem(AA.drop.get(q));if(x===AF){return false;}z=this.getItemIndex(AF);AD=this.getItemIndex(x);w=x.get(n);AC=AF.get(n);y=this.get(a);v=false;AB=this.get(Y);if(AD&lt;z){v=true;}y.removeChild(AC);if(v){y.insertBefore(AC,w);AB.splice(z,1);AB.splice(AD,0,AF);}else{y.insertBefore(AC,w.next(W));AB.splice(AD+1,0,AF);AB.splice(z,1);}AE.set(L,{drophit:true});return true;},_processItems:function(){var x,w,y,AA,v,AB,z;x=this._forCollapsing;w=this._forExpanding;this._setItemsProperties();for(z in x){if(x.hasOwnProperty(z)){y=x[z];this._collapseItem(y.item);}}AA=this._adjustStretchItems();for(z in w){if(w.hasOwnProperty(z)){y=w[z];z=y.item;v=AA;AB=z.get(t);if(AB.method!==G){v=this._getItemContentHeight(z);}this._expandItem(z,v);}}this._forCollapsing={};this._forExpanding={};},_setItemsProperties:function(){var x,w,v;x=this._forCollapsing;w=this._forExpanding;for(v in x){if(x.hasOwnProperty(v)){v=x[v];this._setItemProperties(v.item,false,false);}}for(v in w){if(w.hasOwnProperty(v)){v=w[v];this._setItemProperties(v.item,true,v.alwaysVisible);}}},_afterItemExpand:function(z){var x,y,w,v;if(z.internalCall){return;}x=z.newVal;y=z.currentTarget;w=y.get(P);v=this.get(c);if(x){this._forExpanding[y]={&quot;item&quot;:y,&quot;alwaysVisible&quot;:w};if(v){this._storeItemsForCollapsing();}}else{this._forCollapsing[y]={&quot;item&quot;:y};}this._processItems();},_afterItemAlwaysVisible:function(y){var x,v,w;if(y.internalCall){return;}v=y.newVal;x=y.currentTarget;w=x.get(E);if(v){if(w){this._setItemProperties(x,true,true);this._setItemUI(x,true,true);return;}else{this._forExpanding[x]={&quot;item&quot;:x,&quot;alwaysVisible&quot;:true};this._storeItemsForCollapsing();}}else{if(w){this._setItemUI(x,true,false);return;}else{return;}}this._processItems();},_afterContentHeight:function(AA){var y,w,v,z,x;y=AA.currentTarget;this._adjustStretchItems();if(AA.newVal.method!==G){x=y.get(E);w=this._getItemContentHeight(y);v=y.getStdModNode(X.BODY);z=this._getNodeOffsetHeight(v);if(w&lt;z){this._processCollapsing(y,w,!x);}else{if(w&gt;z){this._processExpanding(y,w,!x);}}}},_setUpResizing:function(v){if(this._resizeEventHandle){this._resizeEventHandle.detach();}if(v===k){this._resizeEventHandle=A.on(&quot;windowresize&quot;,A.bind(this._adjustStretchItems,this));}else{this._resizeEventHandle=v.sourceObject.on(v.resizeEvent,A.bind(this._adjustStretchItems,this));}},renderUI:function(){var v,w;v=this.get(a);w=v.queryAll(&quot;&gt; div.&quot;+W);w.each(function(AA,x,z){var y;if(!this.getItem(AA)){y=new A.AccordionItem({contentBox:AA});this.addItem(y);}},this);},bindUI:function(){var v,w;v=this.get(a);w=this.get(&quot;itemChosen&quot;);v.delegate(w,A.bind(this._onItemChosenEvent,this),&quot;div.yui-widget-hd&quot;);},_onItemChosenEvent:function(AA){var AC,AB,x,y,w,z,v;AC=AA.currentTarget;AB=AC.get(K);x=this.getItem(AB);y=x.get(F);w=x.get(B);z=(y===AA.target);v=(w===AA.target);this._onItemChosen(x,z,v);},addItem:function(AI,y){var AB,AG,AF,v,AD,AE,AH,AA,AC,z,x,w;AC=this.fire(b,{&quot;item&quot;:AI});if(!AC){return false;}AD=this.get(Y);AE=this.get(a);AA=AI.get(a);w=AI.get(n);if(!AA.inDoc()){if(y){v=this.getItemIndex(y);if(v&lt;0){return false;}AD.splice(v,0,AI);if(AI.get(l)){AE.insertBefore(w,y.get(n));}else{AE.insertBefore(AA,y.get(n));}}else{AD.push(AI);if(AI.get(l)){AE.insertBefore(w,null);}else{AE.insertBefore(AA,null);}}}else{z=this.get(a);x=z.get(Q);AC=x.some(function(AL,AK,AJ){if(AL===AA){AD.splice(AK,0,AI);return true;}else{return false;}},this);if(!AC){return false;}}AF=AI.get(o);if(!AF){AI.set(o,&quot;&amp;nbsp;&quot;);}if(!AI.get(l)){AI.render();}AB=AI.get(E);AG=AI.get(P);AB=AB||AG;if(AB){this._forExpanding[AI]={&quot;item&quot;:AI,&quot;alwaysVisible&quot;:AG};}else{this._forCollapsing[AI]={&quot;item&quot;:AI};}this._processItems();if(this.get(&quot;reorderItems&quot;)){this._initItemDragDrop(AI);}AH=this._itemsHandles[AI];if(!AH){AH={};}AH={&quot;expandedChange&quot;:AI.after(&quot;expandedChange&quot;,A.bind(this._afterItemExpand,this)),&quot;alwaysVisibleChange&quot;:AI.after(&quot;alwaysVisibleChange&quot;,A.bind(this._afterItemAlwaysVisible,this)),&quot;contentHeightChange&quot;:AI.after(&quot;contentHeightChange&quot;,A.bind(this._afterContentHeight,this))};this._itemsHandles[AI]=AH;this.fire(e,{&quot;item&quot;:AI});return true;},removeItem:function(w){var v,z,y=null,x;v=this.get(Y);if(u.isNumber(w)){x=w;}else{if(w instanceof A.AccordionItem){x=this.getItemIndex(w);}else{return null;}}if(x&gt;=0){this.fire(D,{item:w});y=v.splice(x,1)[0];this._removeItemHandles(y);z=y.get(n);z.remove();this._adjustStretchItems();this.fire(i,{item:w});}return y;},getItem:function(x){var v=this.get(Y),w=null;if(u.isNumber(x)){w=v[x];return(w instanceof A.AccordionItem)?w:null;}else{if(x instanceof V){A.Array.some(v,function(AC,AB,z){var y,AA;y=AC.get(a);AA=AC.get(n);if(y===x){w=AC;return true;}else{if(AA===x){w=AC;return true;}else{return false;}}},this);}}return w;},getItemIndex:function(x){var w=-1,v;if(x instanceof A.AccordionItem){v=this.get(Y);
-A.Array.some(v,function(AA,z,y){if(AA===x){w=z;return true;}else{return false;}},this);}return w;}});A.Accordion=M;}());(function(){function Z(w){Z.superclass.constructor.apply(this,arguments);}var v=A.Lang,Q=A.Base,b=A.Node,O=A.JSON,c=A.WidgetStdMod,e=&quot;accordion-item&quot;,M=A.ClassNameManager.getClassName,D=M(e,&quot;iconexpanded&quot;,&quot;expanding&quot;),t=M(e,&quot;iconexpanded&quot;,&quot;collapsing&quot;),N=M(e,&quot;icon&quot;),K=M(e,&quot;label&quot;),p=M(e,&quot;iconalwaysvisible&quot;),g=M(e,&quot;icons&quot;),n=M(e,&quot;iconexpanded&quot;),k=M(e,&quot;iconclose&quot;),P=M(e,&quot;iconclose&quot;,&quot;hidden&quot;),S=M(e,&quot;iconexpanded&quot;,&quot;on&quot;),L=M(e,&quot;iconexpanded&quot;,&quot;off&quot;),E=M(e,&quot;iconalwaysvisible&quot;,&quot;on&quot;),l=M(e,&quot;iconalwaysvisible&quot;,&quot;off&quot;),X=M(e,&quot;expanded&quot;),V=M(e,&quot;closable&quot;),i=M(e,&quot;alwaysvisible&quot;),j=M(e,&quot;contentheight&quot;),m=&quot;title&quot;,C=&quot;strings&quot;,d=&quot;contentBox&quot;,r=&quot;rendered&quot;,I=&quot;className&quot;,f=&quot;auto&quot;,J=&quot;stretch&quot;,W=&quot;fixed&quot;,T=&quot;.yui-widget-hd&quot;,Y=&quot;.&quot;,o=&quot;.yui-widget-hd &quot;+Y,s=&quot;innerHTML&quot;,u=&quot;iconsContainer&quot;,h=&quot;icon&quot;,R=&quot;nodeLabel&quot;,H=&quot;iconAlwaysVisible&quot;,a=&quot;iconExpanded&quot;,B=&quot;iconClose&quot;,q=&quot;href&quot;,U=&quot;#&quot;,G=&quot;yuiConfig&quot;,F=&quot;headerContent&quot;;Z.NAME=e;Z.ATTRS={icon:{value:null,validator:function(w){return w instanceof b;}},label:{value:&quot;&amp;#160;&quot;,validator:v.isString},nodeLabel:{value:null,validator:function(w){return w instanceof b;}},iconsContainer:{value:null,validator:function(w){return w instanceof b;}},iconExpanded:{value:null,validator:function(w){return w instanceof b;}},iconAlwaysVisible:{value:null,validator:function(w){return w instanceof b;}},iconClose:{value:null,validator:function(w){return w instanceof b;}},expanded:{value:false,validator:v.isBoolean},contentHeight:{value:{method:f},validator:function(w){if(v.isObject(w)){if(w.method===f){return true;}else{if(w.method===J){return true;}else{if(w.method===W&amp;&amp;v.isNumber(w.height)&amp;&amp;w.height&gt;=0){return true;}}}}return false;}},alwaysVisible:{value:false,validator:v.isBoolean},animation:{value:{},validator:v.isObject},strings:{value:{title_always_visible_off:&quot;Click to set always visible on&quot;,title_always_visible_on:&quot;Click to set always visible off&quot;,title_iconexpanded_off:&quot;Click to expand&quot;,title_iconexpanded_on:&quot;Click to collapse&quot;,title_iconclose:&quot;Click to close&quot;}},closable:{value:false,validator:v.isBoolean}};Z.HTML_PARSER={icon:function(w){var x,y;y=o+N;x=w.query(y);return x;},label:function(w){var y,z,x;x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.label)){return x.label;}z=o+K;y=w.query(z);return(y)?y.get(s):null;},nodeLabel:function(w){var x,y;y=o+K;x=w.query(y);return x;},iconsContainer:function(w){var y,x;x=o+g;y=w.query(x);return y;},iconAlwaysVisible:function(w){var x,y;y=o+p;x=w.query(y);return x;},iconExpanded:function(w){var y,x;x=o+n;y=w.query(x);return y;},iconClose:function(w){var y,x;x=o+k;y=w.query(x);return y;},expanded:function(w){var x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.expanded)){return x.expanded;}return w.hasClass(X);},alwaysVisible:function(w){var y,x;x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.alwaysVisible)){y=x.alwaysVisible;}else{y=w.hasClass(i);}if(v.isBoolean(y)&amp;&amp;y){this.set(&quot;expanded&quot;,true,{internalCall:true});}return y;},closable:function(w){var x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.closable)){return x.closable;}return w.hasClass(V);},contentHeight:function(AD){var y,w,AE=0,AA,x,AB,z,AC;AC=this._getConfigDOMAttribute(AD);if(AC&amp;&amp;AC.contentHeight){return AC.contentHeight;}w=AD.get(I);y=j+&quot;-&quot;;AB=w.indexOf(y,0);if(AB&gt;=0){x=w.length;AB+=y.length;w=w.substring(AB);if(w.match(/^auto\s*/g)){return{method:f};}else{if(w.match(/^stretch\s*/g)){return{method:J};}else{if(w.match(/^fixed-\d+/g)){for(AA=6,x=w.length;AA&lt;x;AA++){z=w.charAt(AA);z=parseInt(z,10);if(v.isNumber(z)){AE=(AE*10)+z;}else{break;}}return{method:W,height:AE};}}}}return null;}};Z.TEMPLATES={icon:'&lt;a class=&quot;'+N+'&quot;&gt;&lt;/a&gt;',label:'&lt;a href=&quot;#&quot; class=&quot;'+K+'&quot;&gt;&lt;/a&gt;',iconsContainer:'&lt;div class=&quot;'+g+'&quot;&gt;&lt;/div&gt;',iconExpanded:['&lt;a href=&quot;#&quot; class=&quot;',n,&quot; &quot;,L,'&quot;&gt;&lt;/a&gt;'].join(&quot;&quot;),iconAlwaysVisible:['&lt;a href=&quot;#&quot; class=&quot;',p,&quot; &quot;,l,'&quot;&gt;&lt;/a&gt;'].join(&quot;&quot;),iconClose:['&lt;a href=&quot;#&quot; class=&quot;',k,&quot; &quot;,P,'&quot;&gt;&lt;/a&gt;'].join(&quot;&quot;)};A.extend(Z,A.Widget,{_createHeader:function(){var AE,AC,AD,AA,AB,z,x,w,y;AB=this.get(h);z=this.get(R);x=this.get(a);w=this.get(H);y=this.get(B);AA=this.get(u);AD=this.get(C);AE=this.get(&quot;closable&quot;);AC=Z.TEMPLATES;if(!AB){AB=b.create(AC.icon);this.set(h,AB);}if(!z){z=b.create(AC.label);this.set(R,z);}else{if(!z.hasAttribute(q)){z.setAttribute(q,U);}}z.setContent(this.get(&quot;label&quot;));if(!AA){AA=b.create(AC.iconsContainer);this.set(u,AA);}if(!w){w=b.create(AC.iconAlwaysVisible);w.setAttribute(m,AD.title_always_visible_off);this.set(H,w);}else{if(!w.hasAttribute(q)){w.setAttribute(q,U);}}if(!x){x=b.create(AC.iconExpanded);x.setAttribute(m,AD.title_iconexpanded_off);this.set(a,x);}else{if(!x.hasAttribute(q)){x.setAttribute(q,U);}}if(!y){y=b.create(AC.iconClose);y.setAttribute(m,AD.title_iconclose);this.set(B,y);}else{if(!y.hasAttribute(q)){y.setAttribute(q,U);}}if(AE){y.removeClass(P);}else{y.addClass(P);}this._addHeaderComponents();},_addHeaderComponents:function(){var AC,x,AB,y,AA,z,w;x=this.get(h);AB=this.get(R);AA=this.get(a);z=this.get(H);w=this.get(B);y=this.get(u);AC=this.get(F);if(!AC){AC=new b(document.createDocumentFragment());AC.appendChild(x);AC.appendChild(AB);AC.appendChild(y);y.appendChild(z);y.appendChild(AA);y.appendChild(w);this.setStdModContent(c.HEADER,AC,c.REPLACE);}else{if(!AC.contains(x)){if(AC.contains(AB)){AC.insertBefore(x,AB);}else{AC.appendChild(x);}}if(!AC.contains(AB)){AC.appendChild(AB);}if(!AC.contains(y)){AC.appendChild(y);}if(!y.contains(z)){y.appendChild(z);}if(!y.contains(AA)){y.appendChild(AA);}if(!y.contains(w)){y.appendChild(w);}}},_labelChanged:function(x){var w;if(this.get(r)){w=this.get(R);w.set(s,[&quot;&lt;a href='#'&gt;&quot;,x.newVal,&quot;&lt;/a&gt;&quot;].join(&quot;&quot;));}},_closableChanged:function(z){var w,y,x;if(this.get(r)){x=this.get(d);w=o+k;y=x.query(w);if(z.newVal){y.removeClass(P);}else{y.addClass(P);}}},initializer:function(w){this.after(&quot;labelChange&quot;,A.bind(this._labelChanged,this));this.after(&quot;closableChange&quot;,A.bind(this._closableChanged,this));},destructor:function(){},renderUI:function(){this._createHeader();
-},bindUI:function(){var w;w=this.get(d);w.delegate(&quot;click&quot;,A.bind(this._onLinkClick,this),T+&quot; a&quot;);},_onLinkClick:function(w){w.preventDefault();},markAsAlwaysVisible:function(x){var y,w;y=this.get(H);w=this.get(C);if(x){if(!y.hasClass(E)){y.replaceClass(l,E);y.set(m,w.title_always_visible_on);return true;}}else{if(y.hasClass(E)){y.replaceClass(E,l);y.set(m,w.title_always_visible_off);return true;}}return false;},markAsExpanded:function(x){var w,y;y=this.get(a);w=this.get(C);if(x){if(!y.hasClass(S)){y.replaceClass(L,S);y.set(m,w.title_iconexpanded_on);return true;}}else{if(y.hasClass(S)){y.replaceClass(S,L);y.set(m,w.title_iconexpanded_off);return true;}}return false;},markAsExpanding:function(x){var w=this.get(a);if(x){if(!w.hasClass(D)){w.addClass(D);return true;}}else{if(w.hasClass(D)){w.removeClass(D);return true;}}return false;},markAsCollapsing:function(w){var x=this.get(a);if(w){if(!x.hasClass(t)){x.addClass(t);return true;}}else{if(x.hasClass(t)){x.removeClass(t);return true;}}return false;},_getConfigDOMAttribute:function(w){if(!this._parsedCfg){this._parsedCfg=w.getAttribute(G);if(this._parsedCfg){this._parsedCfg=O.parse(this._parsedCfg);}}return this._parsedCfg;}});Q.build(Z.NAME,Z,[c],{dynamic:false});A.AccordionItem=Z;}());},&quot;gallery-2009.10.27&quot;,{requires:[&quot;event&quot;,&quot;anim-easing&quot;,&quot;dd-constrain&quot;,&quot;dd-proxy&quot;,&quot;dd-drop&quot;,&quot;widget&quot;,&quot;widget-stdmod&quot;,&quot;json-parse&quot;]});
\ No newline at end of file
+A.Array.some(v,function(AA,z,y){if(AA===x){w=z;return true;}else{return false;}},this);}return w;}});A.Accordion=M;}());(function(){function Z(w){Z.superclass.constructor.apply(this,arguments);}var v=A.Lang,Q=A.Base,b=A.Node,O=A.JSON,c=A.WidgetStdMod,e=&quot;accordion-item&quot;,M=A.ClassNameManager.getClassName,D=M(e,&quot;iconexpanded&quot;,&quot;expanding&quot;),t=M(e,&quot;iconexpanded&quot;,&quot;collapsing&quot;),N=M(e,&quot;icon&quot;),K=M(e,&quot;label&quot;),p=M(e,&quot;iconalwaysvisible&quot;),g=M(e,&quot;icons&quot;),n=M(e,&quot;iconexpanded&quot;),k=M(e,&quot;iconclose&quot;),P=M(e,&quot;iconclose&quot;,&quot;hidden&quot;),S=M(e,&quot;iconexpanded&quot;,&quot;on&quot;),L=M(e,&quot;iconexpanded&quot;,&quot;off&quot;),E=M(e,&quot;iconalwaysvisible&quot;,&quot;on&quot;),l=M(e,&quot;iconalwaysvisible&quot;,&quot;off&quot;),X=M(e,&quot;expanded&quot;),V=M(e,&quot;closable&quot;),i=M(e,&quot;alwaysvisible&quot;),j=M(e,&quot;contentheight&quot;),m=&quot;title&quot;,C=&quot;strings&quot;,d=&quot;contentBox&quot;,r=&quot;rendered&quot;,I=&quot;className&quot;,f=&quot;auto&quot;,J=&quot;stretch&quot;,W=&quot;fixed&quot;,T=&quot;.yui-widget-hd&quot;,Y=&quot;.&quot;,o=&quot;.yui-widget-hd &quot;+Y,s=&quot;innerHTML&quot;,u=&quot;iconsContainer&quot;,h=&quot;icon&quot;,R=&quot;nodeLabel&quot;,H=&quot;iconAlwaysVisible&quot;,a=&quot;iconExpanded&quot;,B=&quot;iconClose&quot;,q=&quot;href&quot;,U=&quot;#&quot;,G=&quot;yuiConfig&quot;,F=&quot;headerContent&quot;;Z.NAME=e;Z.ATTRS={icon:{value:null,validator:function(w){return w instanceof b;}},label:{value:&quot;&amp;#160;&quot;,validator:v.isString},nodeLabel:{value:null,validator:function(w){return w instanceof b;}},iconsContainer:{value:null,validator:function(w){return w instanceof b;}},iconExpanded:{value:null,validator:function(w){return w instanceof b;}},iconAlwaysVisible:{value:null,validator:function(w){return w instanceof b;}},iconClose:{value:null,validator:function(w){return w instanceof b;}},expanded:{value:false,validator:v.isBoolean},contentHeight:{value:{method:f},validator:function(w){if(v.isObject(w)){if(w.method===f){return true;}else{if(w.method===J){return true;}else{if(w.method===W&amp;&amp;v.isNumber(w.height)&amp;&amp;w.height&gt;=0){return true;}}}}return false;}},alwaysVisible:{value:false,validator:v.isBoolean},animation:{value:{},validator:v.isObject},strings:{value:{title_always_visible_off:&quot;Click to set always visible on&quot;,title_always_visible_on:&quot;Click to set always visible off&quot;,title_iconexpanded_off:&quot;Click to expand&quot;,title_iconexpanded_on:&quot;Click to collapse&quot;,title_iconclose:&quot;Click to close&quot;}},closable:{value:false,validator:v.isBoolean}};Z.HTML_PARSER={icon:function(w){var x,y;y=o+N;x=w.query(y);return x;},label:function(w){var y,z,x;x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.label)){return x.label;}z=o+K;y=w.query(z);return(y)?y.get(s):null;},nodeLabel:function(w){var x,y;y=o+K;x=w.query(y);return x;},iconsContainer:function(w){var y,x;x=o+g;y=w.query(x);return y;},iconAlwaysVisible:function(w){var x,y;y=o+p;x=w.query(y);return x;},iconExpanded:function(w){var y,x;x=o+n;y=w.query(x);return y;},iconClose:function(w){var y,x;x=o+k;y=w.query(x);return y;},expanded:function(w){var x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.expanded)){return x.expanded;}return w.hasClass(X);},alwaysVisible:function(w){var y,x;x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.alwaysVisible)){y=x.alwaysVisible;}else{y=w.hasClass(i);}if(v.isBoolean(y)&amp;&amp;y){this.set(&quot;expanded&quot;,true,{internalCall:true});}return y;},closable:function(w){var x=this._getConfigDOMAttribute(w);if(x&amp;&amp;v.isValue(x.closable)){return x.closable;}return w.hasClass(V);},contentHeight:function(AD){var y,w,AE=0,AA,x,AB,z,AC;AC=this._getConfigDOMAttribute(AD);if(AC&amp;&amp;AC.contentHeight){return AC.contentHeight;}w=AD.get(I);y=j+&quot;-&quot;;AB=w.indexOf(y,0);if(AB&gt;=0){x=w.length;AB+=y.length;w=w.substring(AB);if(w.match(/^auto\s*/g)){return{method:f};}else{if(w.match(/^stretch\s*/g)){return{method:J};}else{if(w.match(/^fixed-\d+/g)){for(AA=6,x=w.length;AA&lt;x;AA++){z=w.charAt(AA);z=parseInt(z,10);if(v.isNumber(z)){AE=(AE*10)+z;}else{break;}}return{method:W,height:AE};}}}}return null;}};Z.TEMPLATES={icon:'&lt;a class=&quot;'+N+'&quot;&gt;&lt;/a&gt;',label:'&lt;a href=&quot;#&quot; class=&quot;'+K+'&quot;&gt;&lt;/a&gt;',iconsContainer:'&lt;div class=&quot;'+g+'&quot;&gt;&lt;/div&gt;',iconExpanded:['&lt;a href=&quot;#&quot; class=&quot;',n,&quot; &quot;,L,'&quot;&gt;&lt;/a&gt;'].join(&quot;&quot;),iconAlwaysVisible:['&lt;a href=&quot;#&quot; class=&quot;',p,&quot; &quot;,l,'&quot;&gt;&lt;/a&gt;'].join(&quot;&quot;),iconClose:['&lt;a href=&quot;#&quot; class=&quot;',k,&quot; &quot;,P,'&quot;&gt;&lt;/a&gt;'].join(&quot;&quot;)};A.extend(Z,A.Widget,{_createHeader:function(){var AE,AC,AD,AA,AB,z,x,w,y;AB=this.get(h);z=this.get(R);x=this.get(a);w=this.get(H);y=this.get(B);AA=this.get(u);AD=this.get(C);AE=this.get(&quot;closable&quot;);AC=Z.TEMPLATES;if(!AB){AB=b.create(AC.icon);this.set(h,AB);}if(!z){z=b.create(AC.label);this.set(R,z);}else{if(!z.hasAttribute(q)){z.setAttribute(q,U);}}z.setContent(this.get(&quot;label&quot;));if(!AA){AA=b.create(AC.iconsContainer);this.set(u,AA);}if(!w){w=b.create(AC.iconAlwaysVisible);w.setAttribute(m,AD.title_always_visible_off);this.set(H,w);}else{if(!w.hasAttribute(q)){w.setAttribute(q,U);}}if(!x){x=b.create(AC.iconExpanded);x.setAttribute(m,AD.title_iconexpanded_off);this.set(a,x);}else{if(!x.hasAttribute(q)){x.setAttribute(q,U);}}if(!y){y=b.create(AC.iconClose);y.setAttribute(m,AD.title_iconclose);this.set(B,y);}else{if(!y.hasAttribute(q)){y.setAttribute(q,U);}}if(AE){y.removeClass(P);}else{y.addClass(P);}this._addHeaderComponents();},_addHeaderComponents:function(){var AC,x,AB,y,AA,z,w;x=this.get(h);AB=this.get(R);AA=this.get(a);z=this.get(H);w=this.get(B);y=this.get(u);AC=this.get(F);if(!AC){AC=new b(document.createDocumentFragment());AC.appendChild(x);AC.appendChild(AB);AC.appendChild(y);y.appendChild(z);y.appendChild(AA);y.appendChild(w);this.setStdModContent(c.HEADER,AC,c.REPLACE);}else{if(!AC.contains(x)){if(AC.contains(AB)){AC.insertBefore(x,AB);}else{AC.appendChild(x);}}if(!AC.contains(AB)){AC.appendChild(AB);}if(!AC.contains(y)){AC.appendChild(y);}if(!y.contains(z)){y.appendChild(z);}if(!y.contains(AA)){y.appendChild(AA);}if(!y.contains(w)){y.appendChild(w);}}},_labelChanged:function(x){var w;if(this.get(r)){w=this.get(R);w.set(s,x.newVal);}},_closableChanged:function(z){var w,y,x;if(this.get(r)){x=this.get(d);w=o+k;y=x.query(w);if(z.newVal){y.removeClass(P);}else{y.addClass(P);}}},initializer:function(w){this.after(&quot;labelChange&quot;,A.bind(this._labelChanged,this));this.after(&quot;closableChange&quot;,A.bind(this._closableChanged,this));},destructor:function(){},renderUI:function(){this._createHeader();
+},bindUI:function(){var w;w=this.get(d);w.delegate(&quot;click&quot;,A.bind(this._onLinkClick,this),T+&quot; a&quot;);},_onLinkClick:function(w){w.preventDefault();},markAsAlwaysVisible:function(x){var y,w;y=this.get(H);w=this.get(C);if(x){if(!y.hasClass(E)){y.replaceClass(l,E);y.set(m,w.title_always_visible_on);return true;}}else{if(y.hasClass(E)){y.replaceClass(E,l);y.set(m,w.title_always_visible_off);return true;}}return false;},markAsExpanded:function(x){var w,y;y=this.get(a);w=this.get(C);if(x){if(!y.hasClass(S)){y.replaceClass(L,S);y.set(m,w.title_iconexpanded_on);return true;}}else{if(y.hasClass(S)){y.replaceClass(S,L);y.set(m,w.title_iconexpanded_off);return true;}}return false;},markAsExpanding:function(x){var w=this.get(a);if(x){if(!w.hasClass(D)){w.addClass(D);return true;}}else{if(w.hasClass(D)){w.removeClass(D);return true;}}return false;},markAsCollapsing:function(w){var x=this.get(a);if(w){if(!x.hasClass(t)){x.addClass(t);return true;}}else{if(x.hasClass(t)){x.removeClass(t);return true;}}return false;},_getConfigDOMAttribute:function(w){if(!this._parsedCfg){this._parsedCfg=w.getAttribute(G);if(this._parsedCfg){this._parsedCfg=O.parse(this._parsedCfg);}}return this._parsedCfg;}});Q.build(Z.NAME,Z,[c],{dynamic:false});A.AccordionItem=Z;}());},&quot;gallery-2009.11.02-20&quot;,{requires:[&quot;event&quot;,&quot;anim-easing&quot;,&quot;dd-constrain&quot;,&quot;dd-proxy&quot;,&quot;dd-drop&quot;,&quot;widget&quot;,&quot;widget-stdmod&quot;,&quot;json-parse&quot;]});
\ No newline at end of file</diff>
      <filename>build/gallery-accordion/gallery-accordion-min.js</filename>
    </modified>
    <modified>
      <diff>@@ -2363,7 +2363,7 @@ Y.extend( AccordionItem, Y.Widget, {
         
         if( this.get( RENDERED ) ){
             label = this.get( NODE_LABEL );
-            label.set( INNER_HTML, [&quot;&lt;a href='#'&gt;&quot;, params.newVal, &quot;&lt;/a&gt;&quot; ].join('') );
+            label.set( INNER_HTML, params.newVal );
         }
     },
 
@@ -2607,4 +2607,4 @@ Y.AccordionItem = AccordionItem;
 
 
 
-}, 'gallery-2009.10.27' ,{requires:['event', 'anim-easing', 'dd-constrain', 'dd-proxy', 'dd-drop', 'widget', 'widget-stdmod', 'json-parse']});
+}, 'gallery-2009.11.02-20' ,{requires:['event', 'anim-easing', 'dd-constrain', 'dd-proxy', 'dd-drop', 'widget', 'widget-stdmod', 'json-parse']});</diff>
      <filename>build/gallery-accordion/gallery-accordion.js</filename>
    </modified>
    <modified>
      <diff>@@ -28,18 +28,29 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Inspired by: http://haineault.com/media/jquery/ui-timepickr/page/
 This software is based on a concept by Maxime Haineault in code licensed under
-an MIT license. However, none of his code or implementation details were reviewed
+an MIT license. However, none of his code or implementation details will reviewed
 or used for this project.
 */
 
+
+/**
+ * A yui 3 timepicker
+ * 
+ * @module Timepicker
+ * @requires oop, event-custom, attribute, base, dom, classnamemanager, widget, event
+ */
+ 
+ 
  /**
-  * Timepicker a YUI 3 implementation of the classic jQuery
+  * a YUI 3 implementation of the classic jQuery
   * timepicker widget
   * @class Timepicker
   * @namespace Y.Saw
   * @extends Widget
   */
-  
+
+    
+
     var array       = Y.Array,
     getClassName= Y.ClassNameManager.getClassName,
     
@@ -177,14 +188,36 @@ or used for this project.
               /**
                * This method syncs the value of time object,
                * including building the strings for 12hr and 24hr
-               * also fires a 'timechange' event
+               * also fires a 'timeset' event
                * @method _syncTime
                * @protected
                *
                */
               _syncTime:function(){
-                  
-                  
+
+                  /**
+                   * Fires when a new time has been set (after the time strings)
+                   * have been built. Use this event rather than timeChange.
+                   * @event timeset
+                   * @param {Object} the time attribute object with the following attributes
+                   * &lt;dl&gt;
+                   *   &lt;dt&gt;hour&lt;/dt&gt;
+                   *   &lt;dd&gt;The 12 hour hour&lt;/dd&gt;
+                   *   &lt;dt&gt;minute&lt;/dt&gt;
+                   *   &lt;dd&gt;The minutes&lt;/dd&gt;
+                   *   &lt;dt&gt;s12hour&lt;/dt&gt;
+                   *   &lt;dd&gt;A string representing the 12 hour time, with a seperator and an am/pm indicator as defined in strings&lt;/dd&gt;
+                   *   &lt;dt&gt;s24hour&lt;/dt&gt;
+                   *   &lt;dd&gt;A string representing the 24 hour time, with the seperator defined in strings&lt;/dd&gt;
+                   * &lt;/dl&gt;
+                   */
+
+
+                   /**
+                    * Fires when a cell is clicked on
+                    * @event cellclick
+                    * @param event {Event.Facade} An Event Facade object
+                    */
                   var time = this.get('time'),
                   
                   ampm = time.ampm,
@@ -209,7 +242,7 @@ or used for this project.
                   this.set('time.s24hour', hour + seperator + minute);
                   
                   //fire time change event
-                  this.fire('timechange', this.get('time'));
+                  this.fire('timeset', this.get('time'));
               },
               
               _handleClick:function(e){
@@ -393,4 +426,4 @@ or used for this project.
     Y[NAMESPACE][CONSTRUCTOR] = Timepicker;
 
 
-}, 'gallery-2009.10.27-23' ,{requires:['oop', 'event-custom', 'attribute', 'base', 'dom', 'classnamemanager', 'widget', 'event']});
+}, 'gallery-2009.11.02-20' ,{requires:['oop', 'event-custom', 'attribute', 'base', 'dom', 'classnamemanager', 'widget', 'event']});</diff>
      <filename>build/gallery-timepicker/gallery-timepicker-debug.js</filename>
    </modified>
    <modified>
      <diff>@@ -1 +1 @@
-YUI.add(&quot;gallery-timepicker&quot;,function(A){var H=A.Array,J=A.ClassNameManager.getClassName,C=&quot;Saw&quot;,M=&quot;Timepicker&quot;,G=&quot;cell&quot;,E=&quot;hour&quot;,Q=&quot;minute&quot;,R=&quot;ampm&quot;,D=&quot;active&quot;,F=&quot;NAME&quot;,K=&quot;row&quot;,I=&quot;strings.am&quot;,O=&quot;strings.pm&quot;,P=&quot;delay&quot;,L=0,N=1;function S(U){return(U&lt;10)?&quot;0&quot;+U:U;}function T(W,V){var U=J(B[F],B[W]),X='&lt;li class=&quot;'+U+&quot; &quot;+B[G]+&quot; &quot;+B[V]+'&quot;&gt;'+W+&quot;&lt;/li&gt;&quot;;return X;}function B(U){B.superclass.constructor.apply(this,arguments);}B[F]=&quot;timepicker&quot;;B.ATTRS={time:{value:{hour:0,minute:0,ampm:L}},delay:{value:15},strings:{value:{am:&quot;AM&quot;,pm:&quot;PM&quot;,seperator:&quot;:&quot;}}};B[E]=J(B[F],E);B[Q]=J(B[F],Q);B[R]=J(B[F],R);B[E]=J(B[F],E,K);B[Q]=J(B[F],Q,K);B[G]=J(B[F],G);B[D]=J(B[F],D);A.extend(B,A.Widget,{AM:L,PM:N,_model:{ampm:{},hour:{},minute:{}},_timer:null,initializer:function(){this.set(&quot;time.ampm&quot;,L);var U=this.get(&quot;time.hour&quot;);this.set(&quot;time.hour&quot;,((U===0)?12:U));},destructor:function(){delete (this._model.ampm);delete (this._model.hour);delete (this._model.minute);},_syncTime:function(){var Y=this.get(&quot;time&quot;),V=Y.ampm,W=this.get(&quot;strings.seperator&quot;),Z=S(Y.minute),X=(V==L)?this.get(I):this.get(O);this.set(&quot;time.s12hour&quot;,((Y.hour===0)?12:Y.hour)+W+Z+X);var U=(V==N)?parseInt(Y.hour,10)+12:parseInt(Y.hour,10);if(U==24||U===0){U=Math.abs(U-12);}if(U==12&amp;&amp;V==L){U=0;}this.set(&quot;time.s24hour&quot;,U+W+Z);this.fire(&quot;timechange&quot;,this.get(&quot;time&quot;));},_handleClick:function(U){if(U.target.test(&quot;.&quot;+B[G])){this.fire(&quot;cellclick&quot;,this.get(&quot;time&quot;));}},_handleOver:function(W){var V=W.target,U=this.get(P);if(this._timer){this._timer.cancel();this._timer=null;}this._timer=A.later(U,this,this._highlight,V);},_highlight:function(U){if(U.test(&quot;.&quot;+B[G])){var V=U.get(&quot;innerHTML&quot;);if(U.hasClass(B[E])){this.set(&quot;time.hour&quot;,V);}else{if(U.hasClass(B[R])){var W=this.get(I);if(V==W){this.set(&quot;time.ampm&quot;,L);}else{this.set(&quot;time.ampm&quot;,N);}}else{this.set(&quot;time.minute&quot;,V);}}}this._syncTime();this.syncUI();},_handleOut:function(U){if(this._timer){this._timer.cancel();this._timer=null;}},renderUI:function(){var V=this.get(&quot;contentBox&quot;),U=this._model;function Z(){return V.create(&quot;&lt;ol&gt;&quot;);}var b=[];for(var X=0;X&lt;=3;X++){b[X]=Z();}function a(d,e){return V.create(T(d,e));}U[R].AM=a(this.get(I),R);U[R].PM=a(this.get(O),R);b[0].appendChild(U[R].AM);b[0].appendChild(U[R].PM);function W(k,h,e,g,j){for(var f=k;f&lt;=e;f=f+g){var d=a(f,j);U[j][f]=d;h.appendChild(d);}}W(1,b[1],12,1,E);W(0,b[2],45,15,Q);this._model[R].row=b[0];this._model[E].row=b[1];this._model[Q].row=b[2];var Y=V.create(&quot;&lt;div&gt;&quot;);H.each(b,function(c){Y.appendChild(c);});V.appendChild(Y);this.allCells=V.queryAll(&quot;li&quot;);},toggle:function(){this[(this.get(&quot;visible&quot;)?&quot;hide&quot;:&quot;show&quot;)]();this.syncUI();},bindUI:function(){var U=this.get(&quot;contentBox&quot;);U.on(&quot;click&quot;,this._handleClick,this);U.on(&quot;mouseover&quot;,this._handleOver,this);U.on(&quot;mouseout&quot;,this._handleOut,this);},syncUI:function(){var W=this.get(&quot;time&quot;);this.allCells.removeClass(B[D]);var U=this._model;var V=0;if(W.ampm==L){U.ampm.AM.addClass(B[D]);V=U.ampm.AM.getX();}else{if(W.ampm==N){U.ampm.PM.addClass(B[D]);V=U.ampm.PM.getX();}}U.minute[W.minute].addClass(B[D]);U.hour[W.hour].addClass(B[D]);U.hour.row.setX(V);U.minute.row.setX(U.hour[W.hour].getX());}});A.Base.build(B.NAME,B,{dynamic:false});A.namespace(C+&quot;.&quot;+M);A[C][M]=B;},&quot;gallery-2009.10.27-23&quot;,{requires:[&quot;oop&quot;,&quot;event-custom&quot;,&quot;attribute&quot;,&quot;base&quot;,&quot;dom&quot;,&quot;classnamemanager&quot;,&quot;widget&quot;,&quot;event&quot;]});
\ No newline at end of file
+YUI.add(&quot;gallery-timepicker&quot;,function(A){var H=A.Array,J=A.ClassNameManager.getClassName,C=&quot;Saw&quot;,M=&quot;Timepicker&quot;,G=&quot;cell&quot;,E=&quot;hour&quot;,Q=&quot;minute&quot;,R=&quot;ampm&quot;,D=&quot;active&quot;,F=&quot;NAME&quot;,K=&quot;row&quot;,I=&quot;strings.am&quot;,O=&quot;strings.pm&quot;,P=&quot;delay&quot;,L=0,N=1;function S(U){return(U&lt;10)?&quot;0&quot;+U:U;}function T(W,V){var U=J(B[F],B[W]),X='&lt;li class=&quot;'+U+&quot; &quot;+B[G]+&quot; &quot;+B[V]+'&quot;&gt;'+W+&quot;&lt;/li&gt;&quot;;return X;}function B(U){B.superclass.constructor.apply(this,arguments);}B[F]=&quot;timepicker&quot;;B.ATTRS={time:{value:{hour:0,minute:0,ampm:L}},delay:{value:15},strings:{value:{am:&quot;AM&quot;,pm:&quot;PM&quot;,seperator:&quot;:&quot;}}};B[E]=J(B[F],E);B[Q]=J(B[F],Q);B[R]=J(B[F],R);B[E]=J(B[F],E,K);B[Q]=J(B[F],Q,K);B[G]=J(B[F],G);B[D]=J(B[F],D);A.extend(B,A.Widget,{AM:L,PM:N,_model:{ampm:{},hour:{},minute:{}},_timer:null,initializer:function(){this.set(&quot;time.ampm&quot;,L);var U=this.get(&quot;time.hour&quot;);this.set(&quot;time.hour&quot;,((U===0)?12:U));},destructor:function(){delete (this._model.ampm);delete (this._model.hour);delete (this._model.minute);},_syncTime:function(){var Y=this.get(&quot;time&quot;),V=Y.ampm,W=this.get(&quot;strings.seperator&quot;),Z=S(Y.minute),X=(V==L)?this.get(I):this.get(O);this.set(&quot;time.s12hour&quot;,((Y.hour===0)?12:Y.hour)+W+Z+X);var U=(V==N)?parseInt(Y.hour,10)+12:parseInt(Y.hour,10);if(U==24||U===0){U=Math.abs(U-12);}if(U==12&amp;&amp;V==L){U=0;}this.set(&quot;time.s24hour&quot;,U+W+Z);this.fire(&quot;timeset&quot;,this.get(&quot;time&quot;));},_handleClick:function(U){if(U.target.test(&quot;.&quot;+B[G])){this.fire(&quot;cellclick&quot;,this.get(&quot;time&quot;));}},_handleOver:function(W){var V=W.target,U=this.get(P);if(this._timer){this._timer.cancel();this._timer=null;}this._timer=A.later(U,this,this._highlight,V);},_highlight:function(U){if(U.test(&quot;.&quot;+B[G])){var V=U.get(&quot;innerHTML&quot;);if(U.hasClass(B[E])){this.set(&quot;time.hour&quot;,V);}else{if(U.hasClass(B[R])){var W=this.get(I);if(V==W){this.set(&quot;time.ampm&quot;,L);}else{this.set(&quot;time.ampm&quot;,N);}}else{this.set(&quot;time.minute&quot;,V);}}}this._syncTime();this.syncUI();},_handleOut:function(U){if(this._timer){this._timer.cancel();this._timer=null;}},renderUI:function(){var V=this.get(&quot;contentBox&quot;),U=this._model;function Z(){return V.create(&quot;&lt;ol&gt;&quot;);}var b=[];for(var X=0;X&lt;=3;X++){b[X]=Z();}function a(d,e){return V.create(T(d,e));}U[R].AM=a(this.get(I),R);U[R].PM=a(this.get(O),R);b[0].appendChild(U[R].AM);b[0].appendChild(U[R].PM);function W(k,h,e,g,j){for(var f=k;f&lt;=e;f=f+g){var d=a(f,j);U[j][f]=d;h.appendChild(d);}}W(1,b[1],12,1,E);W(0,b[2],45,15,Q);this._model[R].row=b[0];this._model[E].row=b[1];this._model[Q].row=b[2];var Y=V.create(&quot;&lt;div&gt;&quot;);H.each(b,function(c){Y.appendChild(c);});V.appendChild(Y);this.allCells=V.queryAll(&quot;li&quot;);},toggle:function(){this[(this.get(&quot;visible&quot;)?&quot;hide&quot;:&quot;show&quot;)]();this.syncUI();},bindUI:function(){var U=this.get(&quot;contentBox&quot;);U.on(&quot;click&quot;,this._handleClick,this);U.on(&quot;mouseover&quot;,this._handleOver,this);U.on(&quot;mouseout&quot;,this._handleOut,this);},syncUI:function(){var W=this.get(&quot;time&quot;);this.allCells.removeClass(B[D]);var U=this._model;var V=0;if(W.ampm==L){U.ampm.AM.addClass(B[D]);V=U.ampm.AM.getX();}else{if(W.ampm==N){U.ampm.PM.addClass(B[D]);V=U.ampm.PM.getX();}}U.minute[W.minute].addClass(B[D]);U.hour[W.hour].addClass(B[D]);U.hour.row.setX(V);U.minute.row.setX(U.hour[W.hour].getX());}});A.Base.build(B.NAME,B,{dynamic:false});A.namespace(C+&quot;.&quot;+M);A[C][M]=B;},&quot;gallery-2009.11.02-20&quot;,{requires:[&quot;oop&quot;,&quot;event-custom&quot;,&quot;attribute&quot;,&quot;base&quot;,&quot;dom&quot;,&quot;classnamemanager&quot;,&quot;widget&quot;,&quot;event&quot;]});
\ No newline at end of file</diff>
      <filename>build/gallery-timepicker/gallery-timepicker-min.js</filename>
    </modified>
    <modified>
      <diff>@@ -28,18 +28,29 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Inspired by: http://haineault.com/media/jquery/ui-timepickr/page/
 This software is based on a concept by Maxime Haineault in code licensed under
-an MIT license. However, none of his code or implementation details were reviewed
+an MIT license. However, none of his code or implementation details will reviewed
 or used for this project.
 */
 
+
+/**
+ * A yui 3 timepicker
+ * 
+ * @module Timepicker
+ * @requires oop, event-custom, attribute, base, dom, classnamemanager, widget, event
+ */
+ 
+ 
  /**
-  * Timepicker a YUI 3 implementation of the classic jQuery
+  * a YUI 3 implementation of the classic jQuery
   * timepicker widget
   * @class Timepicker
   * @namespace Y.Saw
   * @extends Widget
   */
-  
+
+    
+
     var array       = Y.Array,
     getClassName= Y.ClassNameManager.getClassName,
     
@@ -177,14 +188,36 @@ or used for this project.
               /**
                * This method syncs the value of time object,
                * including building the strings for 12hr and 24hr
-               * also fires a 'timechange' event
+               * also fires a 'timeset' event
                * @method _syncTime
                * @protected
                *
                */
               _syncTime:function(){
-                  
-                  
+
+                  /**
+                   * Fires when a new time has been set (after the time strings)
+                   * have been built. Use this event rather than timeChange.
+                   * @event timeset
+                   * @param {Object} the time attribute object with the following attributes
+                   * &lt;dl&gt;
+                   *   &lt;dt&gt;hour&lt;/dt&gt;
+                   *   &lt;dd&gt;The 12 hour hour&lt;/dd&gt;
+                   *   &lt;dt&gt;minute&lt;/dt&gt;
+                   *   &lt;dd&gt;The minutes&lt;/dd&gt;
+                   *   &lt;dt&gt;s12hour&lt;/dt&gt;
+                   *   &lt;dd&gt;A string representing the 12 hour time, with a seperator and an am/pm indicator as defined in strings&lt;/dd&gt;
+                   *   &lt;dt&gt;s24hour&lt;/dt&gt;
+                   *   &lt;dd&gt;A string representing the 24 hour time, with the seperator defined in strings&lt;/dd&gt;
+                   * &lt;/dl&gt;
+                   */
+
+
+                   /**
+                    * Fires when a cell is clicked on
+                    * @event cellclick
+                    * @param event {Event.Facade} An Event Facade object
+                    */
                   var time = this.get('time'),
                   
                   ampm = time.ampm,
@@ -209,7 +242,7 @@ or used for this project.
                   this.set('time.s24hour', hour + seperator + minute);
                   
                   //fire time change event
-                  this.fire('timechange', this.get('time'));
+                  this.fire('timeset', this.get('time'));
               },
               
               _handleClick:function(e){
@@ -393,4 +426,4 @@ or used for this project.
     Y[NAMESPACE][CONSTRUCTOR] = Timepicker;
 
 
-}, 'gallery-2009.10.27-23' ,{requires:['oop', 'event-custom', 'attribute', 'base', 'dom', 'classnamemanager', 'widget', 'event']});
+}, 'gallery-2009.11.02-20' ,{requires:['oop', 'event-custom', 'attribute', 'base', 'dom', 'classnamemanager', 'widget', 'event']});</diff>
      <filename>build/gallery-timepicker/gallery-timepicker.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b2d92c1175cd70e17021322d3fcee179756689d0</id>
    </parent>
  </parents>
  <author>
    <name>YUI Builder</name>
    <email>build@yuilibrary.com</email>
  </author>
  <url>http://github.com/apm/yui3-gallery/commit/e1c4da2fceee58ce31fc55df3faf862b10eed6fe</url>
  <id>e1c4da2fceee58ce31fc55df3faf862b10eed6fe</id>
  <committed-date>2009-11-02T12:02:12-08:00</committed-date>
  <authored-date>2009-11-02T12:02:12-08:00</authored-date>
  <message>Gallery Build Tag: gallery-2009.11.02-20</message>
  <tree>c0bf5ce1a47188bf0e31ee4e205b7f9c12bcd493</tree>
  <committer>
    <name>YUI Builder</name>
    <email>build@yuilibrary.com</email>
  </committer>
</commit>
