/* Copyright (c) 2009, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 3.0.0 build: 1549 */ (function(){var _instances={},_startTime=new Date().getTime(),p,i,add=function(){if(window.addEventListener){return function(el,type,fn,capture){el.addEventListener(type,fn,(!!capture));};}else if(window.attachEvent){return function(el,type,fn){el.attachEvent("on"+type,fn);};}else{return function(){};}}(),remove=function(){if(window.removeEventListener){return function(el,type,fn,capture){el.removeEventListener(type,fn,!!capture);};}else if(window.detachEvent){return function(el,type,fn){el.detachEvent("on"+type,fn);};}else{return function(){};}}(),globalListener=function(){YUI.Env.windowLoaded=true;YUI.Env.DOMReady=true;remove(window,'load',globalListener);},_APPLY_TO_WHITE_LIST={'io.xdrReady':1,'io.start':1,'io.success':1,'io.failure':1},SLICE=Array.prototype.slice;if(typeof YUI==='undefined'||!YUI){YUI=function(o1,o2,o3,o4,o5){var Y=this,a=arguments,i,l=a.length;if(!(Y instanceof YUI)){return new YUI(o1,o2,o3,o4,o5);}else{Y._init();for(i=0;i-1){v='test';} Y.version=v;Y.Env={mods:{},cdn:'http://yui.yahooapis.com/'+v+'/build/',bootstrapped:false,_idx:0,_used:{},_attached:{},_yidx:0,_uidx:0,_loaded:{}};Y.Env._loaded[v]={};if(YUI.Env){Y.Env._yidx=(++YUI.Env._yidx);Y.Env._guidp=('yui_'+v+'-'+Y.Env._yidx+'-'+_startTime).replace(/\./g,'_');Y.id=Y.stamp(Y);_instances[Y.id]=Y;} Y.constructor=YUI;Y.config={win:window||{},doc:document,debug:true,useBrowserConsole:true,throwFail:true,base:function(){var b,nodes,i,match;nodes=document.getElementsByTagName('script');for(i=0;i1)){r=2;}}catch(e){}}} return r;};YArray.each=(Native.forEach)?function(a,f,o){Native.forEach.call(a||[],f,o||Y);return Y;}:function(a,f,o){var l=(a&&a.length)||0,i;for(i=0;ii)?v[i]:true;} return o;};YArray.indexOf=(Native.indexOf)?function(a,val){return Native.indexOf.call(a,val);}:function(a,val){for(var i=0;i-1);};O.owns=function(o,k){return(o.hasOwnProperty(k));};O.each=function(o,f,c,proto){var s=c||Y,i;for(i in o){if(proto||o.hasOwnProperty(i)){f.call(s,o[i],i,o);}} return Y;};O.getValue=function(o,path){var p=Y.Array(path),l=p.length,i;for(i=0;o!==UNDEFINED&&i=0){for(i=0;ref!==UNDEFINED&&i