// combines several scripts including jquery.cluetip, oomph, greybox
//greybox
AJS={BASE_URL:"",drag_obj:null,drag_elm:null,_drop_zones:[],_cur_pos:null,getScrollTop:function(){var t;if(document.documentElement&&document.documentElement.scrollTop){t=document.documentElement.scrollTop;}else{if(document.body){t=document.body.scrollTop;}}
return t;},addClass:function(){var _2=AJS.forceArray(arguments);var _3=_2.pop();var _4=function(o){if(!new RegExp("(^|\\s)"+_3+"(\\s|$)").test(o.className)){o.className+=(o.className?" ":"")+_3;}};AJS.map(_2,function(_6){_4(_6);});},setStyle:function(){var _7=AJS.forceArray(arguments);var _8=_7.pop();var _9=_7.pop();AJS.map(_7,function(_a){_a.style[_9]=AJS.getCssDim(_8);});},extend:function(_b){var _c=new this("no_init");for(k in _b){var _d=_c[k];var _e=_b[k];if(_d&&_d!=_e&&typeof _e=="function"){_e=this._parentize(_e,_d);}
_c[k]=_e;}
return new AJS.Class(_c);},log:function(o){if(window.console){console.log(o);}else{var div=AJS.$("ajs_logger");if(!div){div=AJS.DIV({id:"ajs_logger","style":"color: green; position: absolute; left: 0"});div.style.top=AJS.getScrollTop()+"px";AJS.ACN(AJS.getBody(),div);}
AJS.setHTML(div,""+o);}},setHeight:function(){var _11=AJS.forceArray(arguments);_11.splice(_11.length-1,0,"height");AJS.setStyle.apply(null,_11);},_getRealScope:function(fn,_13){_13=AJS.$A(_13);var _14=fn._cscope||window;return function(){var _15=AJS.$FA(arguments).concat(_13);return fn.apply(_14,_15);};},documentInsert:function(elm){if(typeof(elm)=="string"){elm=AJS.HTML2DOM(elm);}
document.write("<span id=\"dummy_holder\"></span>");AJS.swapDOM(AJS.$("dummy_holder"),elm);},getWindowSize:function(doc){doc=doc||document;var _18,_19;if(self.innerHeight){_18=self.innerWidth;_19=self.innerHeight;}else{if(doc.documentElement&&doc.documentElement.clientHeight){_18=doc.documentElement.clientWidth;_19=doc.documentElement.clientHeight;}else{if(doc.body){_18=doc.body.clientWidth;_19=doc.body.clientHeight;}}}
return{"w":_18,"h":_19};},flattenList:function(_1a){var r=[];var _1c=function(r,l){AJS.map(l,function(o){if(o==null){}else{if(AJS.isArray(o)){_1c(r,o);}else{r.push(o);}}});};_1c(r,_1a);return r;},isFunction:function(obj){return(typeof obj=="function");},setEventKey:function(e){e.key=e.keyCode?e.keyCode:e.charCode;if(window.event){e.ctrl=window.event.ctrlKey;e.shift=window.event.shiftKey;}else{e.ctrl=e.ctrlKey;e.shift=e.shiftKey;}
switch(e.key){case 63232:e.key=38;break;case 63233:e.key=40;break;case 63235:e.key=39;break;case 63234:e.key=37;break;}},removeElement:function(){var _22=AJS.forceArray(arguments);AJS.map(_22,function(elm){AJS.swapDOM(elm,null);});},_unloadListeners:function(){if(AJS.listeners){AJS.map(AJS.listeners,function(elm,_25,fn){AJS.REV(elm,_25,fn);});}
AJS.listeners=[];},join:function(_27,_28){try{return _28.join(_27);}
catch(e){var r=_28[0]||"";AJS.map(_28,function(elm){r+=_27+elm;},1);return r+"";}},getIndex:function(elm,_2c,_2d){for(var i=0;i<_2c.length;i++){if(_2d&&_2d(_2c[i])||elm==_2c[i]){return i;}}
return-1;},isIn:function(elm,_30){var i=AJS.getIndex(elm,_30);if(i!=-1){return true;}else{return false;}},isArray:function(obj){return obj instanceof Array;},setLeft:function(){var _33=AJS.forceArray(arguments);_33.splice(_33.length-1,0,"left");AJS.setStyle.apply(null,_33);},appendChildNodes:function(elm){if(arguments.length>=2){AJS.map(arguments,function(n){if(AJS.isString(n)){n=AJS.TN(n);}
if(AJS.isDefined(n)){elm.appendChild(n);}},1);}
return elm;},getElementsByTagAndClassName:function(_36,_37,_38,_39){var _3a=[];if(!AJS.isDefined(_38)){_38=document;}
if(!AJS.isDefined(_36)){_36="*";}
var els=_38.getElementsByTagName(_36);var _3c=els.length;var _3d=new RegExp("(^|\\s)"+_37+"(\\s|$)");for(i=0,j=0;i<_3c;i++){if(_3d.test(els[i].className)||_37==null){_3a[j]=els[i];j++;}}
if(_39){return _3a[0];}else{return _3a;}},isOpera:function(){return(navigator.userAgent.toLowerCase().indexOf("opera")!=-1);},isString:function(obj){return(typeof obj=="string");},hideElement:function(elm){var _40=AJS.forceArray(arguments);AJS.map(_40,function(elm){elm.style.display="none";});},setOpacity:function(elm,p){elm.style.opacity=p;elm.style.filter="alpha(opacity="+p*100+")";},insertBefore:function(elm,_45){_45.parentNode.insertBefore(elm,_45);return elm;},setWidth:function(){var _46=AJS.forceArray(arguments);_46.splice(_46.length-1,0,"width");AJS.setStyle.apply(null,_46);},createArray:function(v){if(AJS.isArray(v)&&!AJS.isString(v)){return v;}else{if(!v){return[];}else{return[v];}}},isDict:function(o){var _49=String(o);return _49.indexOf(" Object")!=-1;},isMozilla:function(){return(navigator.userAgent.toLowerCase().indexOf("gecko")!=-1&&navigator.productSub>=20030210);},removeEventListener:function(elm,_4b,fn,_4d){var _4e="ajsl_"+_4b+fn;if(!_4d){_4d=false;}
fn=elm[_4e]||fn;if(elm["on"+_4b]==fn){elm["on"+_4b]=elm[_4e+"old"];}
if(elm.removeEventListener){elm.removeEventListener(_4b,fn,_4d);if(AJS.isOpera()){elm.removeEventListener(_4b,fn,!_4d);}}else{if(elm.detachEvent){elm.detachEvent("on"+_4b,fn);}}},callLater:function(fn,_50){var _51=function(){fn();};window.setTimeout(_51,_50);},setTop:function(){var _52=AJS.forceArray(arguments);_52.splice(_52.length-1,0,"top");AJS.setStyle.apply(null,_52);},_createDomShortcuts:function(){var _53=["ul","li","td","tr","th","tbody","table","input","span","b","a","div","img","button","h1","h2","h3","h4","h5","h6","br","textarea","form","p","select","option","optgroup","iframe","script","center","dl","dt","dd","small","pre","i"];var _54=function(elm){AJS[elm.toUpperCase()]=function(){return AJS.createDOM.apply(null,[elm,arguments]);};};AJS.map(_53,_54);AJS.TN=function(_56){return document.createTextNode(_56);};},addCallback:function(fn){this.callbacks.unshift(fn);},bindMethods:function(_58){for(var k in _58){var _5a=_58[k];if(typeof(_5a)=="function"){_58[k]=AJS.$b(_5a,_58);}}},partial:function(fn){var _5c=AJS.$FA(arguments);_5c.shift();return function(){_5c=_5c.concat(AJS.$FA(arguments));return fn.apply(window,_5c);};},isNumber:function(obj){return(typeof obj=="number");},getCssDim:function(dim){if(AJS.isString(dim)){return dim;}else{return dim+"px";}},isIe:function(){return(navigator.userAgent.toLowerCase().indexOf("msie")!=-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1);},removeClass:function(){var _5f=AJS.forceArray(arguments);var cls=_5f.pop();var _61=function(o){o.className=o.className.replace(new RegExp("\\s?"+cls,"g"),"");};AJS.map(_5f,function(elm){_61(elm);});},setHTML:function(elm,_65){elm.innerHTML=_65;return elm;},map:function(_66,fn,_68,_69){var i=0,l=_66.length;if(_68){i=_68;}
if(_69){l=_69;}
for(i;i<l;i++){var val=fn(_66[i],i);if(val!=undefined){return val;}}},addEventListener:function(elm,_6e,fn,_70,_71){var _72="ajsl_"+_6e+fn;if(!_71){_71=false;}
AJS.listeners=AJS.$A(AJS.listeners);if(AJS.isIn(_6e,["keypress","keydown","keyup","click"])){var _73=fn;fn=function(e){AJS.setEventKey(e);return _73.apply(window,arguments);};}
var _75=AJS.isIn(_6e,["submit","load","scroll","resize"]);var _76=AJS.$A(elm);AJS.map(_76,function(_77){if(_70){var _78=fn;fn=function(e){AJS.REV(_77,_6e,fn);return _78.apply(window,arguments);};}
if(_75){var _7a=_77["on"+_6e];var _7b=function(){if(_7a){fn(arguments);return _7a(arguments);}else{return fn(arguments);}};_77[_72]=_7b;_77[_72+"old"]=_7a;elm["on"+_6e]=_7b;}else{_77[_72]=fn;if(_77.attachEvent){_77.attachEvent("on"+_6e,fn);}else{if(_77.addEventListener){_77.addEventListener(_6e,fn,_71);}}
AJS.listeners.push([_77,_6e,fn]);}});},preloadImages:function(){AJS.AEV(window,"load",AJS.$p(function(_7c){AJS.map(_7c,function(src){var pic=new Image();pic.src=src;});},arguments));},forceArray:function(_7f){var r=[];AJS.map(_7f,function(elm){r.push(elm);});return r;},update:function(l1,l2){for(var i in l2){l1[i]=l2[i];}
return l1;},getBody:function(){return AJS.$bytc("body")[0];},HTML2DOM:function(_85,_86){var d=AJS.DIV();d.innerHTML=_85;if(_86){return d.childNodes[0];}else{return d;}},getElement:function(id){if(AJS.isString(id)||AJS.isNumber(id)){return document.getElementById(id);}else{return id;}},showElement:function(){var _89=AJS.forceArray(arguments);AJS.map(_89,function(elm){elm.style.display="";});},bind:function(fn,_8c,_8d){fn._cscope=_8c;return AJS._getRealScope(fn,_8d);},createDOM:function(_8e,_8f){var i=0,_91;var elm=document.createElement(_8e);var _93=_8f[0];if(AJS.isDict(_8f[i])){for(k in _93){_91=_93[k];if(k=="style"||k=="s"){elm.style.cssText=_91;}else{if(k=="c"||k=="class"||k=="className"){elm.className=_91;}else{elm.setAttribute(k,_91);}}}
i++;}
if(_93==null){i=1;}
for(var j=i;j<_8f.length;j++){var _91=_8f[j];if(_91){var _95=typeof(_91);if(_95=="string"||_95=="number"){_91=AJS.TN(_91);}
elm.appendChild(_91);}}
return elm;},swapDOM:function(_96,src){_96=AJS.getElement(_96);var _98=_96.parentNode;if(src){src=AJS.getElement(src);_98.replaceChild(src,_96);}else{_98.removeChild(_96);}
return src;},isDefined:function(o){return(o!="undefined"&&o!=null);}};AJS.$=AJS.getElement;AJS.$$=AJS.getElements;AJS.$f=AJS.getFormElement;AJS.$p=AJS.partial;AJS.$b=AJS.bind;AJS.$A=AJS.createArray;AJS.DI=AJS.documentInsert;AJS.ACN=AJS.appendChildNodes;AJS.RCN=AJS.replaceChildNodes;AJS.AEV=AJS.addEventListener;AJS.REV=AJS.removeEventListener;AJS.$bytc=AJS.getElementsByTagAndClassName;AJS.$AP=AJS.absolutePosition;AJS.$FA=AJS.forceArray;AJS.addEventListener(window,"unload",AJS._unloadListeners);AJS._createDomShortcuts();AJS.Class=function(_9a){var fn=function(){if(arguments[0]!="no_init"){return this.init.apply(this,arguments);}};fn.prototype=_9a;AJS.update(fn,AJS.Class.prototype);return fn;};AJS.Class.prototype={extend:function(_9c){var _9d=new this("no_init");for(k in _9c){var _9e=_9d[k];var cur=_9c[k];if(_9e&&_9e!=cur&&typeof cur=="function"){cur=this._parentize(cur,_9e);}
_9d[k]=cur;}
return new AJS.Class(_9d);},implement:function(_a0){AJS.update(this.prototype,_a0);},_parentize:function(cur,_a2){return function(){this.parent=_a2;return cur.apply(this,arguments);};}};script_loaded=true;AJS.fx={_shades:{0:"ffffff",1:"ffffee",2:"ffffdd",3:"ffffcc",4:"ffffbb",5:"ffffaa",6:"ffff99"},highlight:function(_1,_2){var _3=new AJS.fx.Base();_3.elm=AJS.$(_1);_3.options.duration=600;_3.setOptions(_2);AJS.update(_3,{increase:function(){if(this.now==7){_1.style.backgroundColor="#fff";}else{_1.style.backgroundColor="#"+AJS.fx._shades[Math.floor(this.now)];}}});return _3.custom(6,0);},fadeIn:function(_4,_5){_5=_5||{};if(!_5.from){_5.from=0;AJS.setOpacity(_4,0);}
if(!_5.to){_5.to=1;}
var s=new AJS.fx.Style(_4,"opacity",_5);return s.custom(_5.from,_5.to);},fadeOut:function(_7,_8){_8=_8||{};if(!_8.from){_8.from=1;}
if(!_8.to){_8.to=0;}
_8.duration=300;var s=new AJS.fx.Style(_7,"opacity",_8);return s.custom(_8.from,_8.to);},setWidth:function(_a,_b){var s=new AJS.fx.Style(_a,"width",_b);return s.custom(_b.from,_b.to);},setHeight:function(_d,_e){var s=new AJS.fx.Style(_d,"height",_e);return s.custom(_e.from,_e.to);}};AJS.fx.Base=new AJS.Class({init:function(_10){this.options={onStart:function(){},onComplete:function(){},transition:AJS.fx.Transitions.sineInOut,duration:500,wait:true,fps:50};AJS.update(this.options,_10);AJS.bindMethods(this);},setOptions:function(_11){AJS.update(this.options,_11);},step:function(){var _12=new Date().getTime();if(_12<this.time+this.options.duration){this.cTime=_12-this.time;this.setNow();}else{setTimeout(AJS.$b(this.options.onComplete,this,[this.elm]),10);this.clearTimer();this.now=this.to;}
this.increase();},setNow:function(){this.now=this.compute(this.from,this.to);},compute:function(_13,to){var _15=to-_13;return this.options.transition(this.cTime,_13,_15,this.options.duration);},clearTimer:function(){clearInterval(this.timer);this.timer=null;return this;},_start:function(_16,to){if(!this.options.wait){this.clearTimer();}
if(this.timer){return;}
setTimeout(AJS.$p(this.options.onStart,this.elm),10);this.from=_16;this.to=to;this.time=new Date().getTime();this.timer=setInterval(this.step,Math.round(1000/this.options.fps));return this;},custom:function(_18,to){return this._start(_18,to);},set:function(to){this.now=to;this.increase();return this;},setStyle:function(elm,_1c,val){if(this.property=="opacity"){AJS.setOpacity(elm,val);}else{AJS.setStyle(elm,_1c,val);}}});AJS.fx.Style=AJS.fx.Base.extend({init:function(elm,_1f,_20){this.parent();this.elm=elm;this.setOptions(_20);this.property=_1f;},increase:function(){this.setStyle(this.elm,this.property,this.now);}});AJS.fx.Styles=AJS.fx.Base.extend({init:function(elm,_22){this.parent();this.elm=AJS.$(elm);this.setOptions(_22);this.now={};},setNow:function(){for(p in this.from){this.now[p]=this.compute(this.from[p],this.to[p]);}},custom:function(obj){if(this.timer&&this.options.wait){return;}
var _24={};var to={};for(p in obj){_24[p]=obj[p][0];to[p]=obj[p][1];}
return this._start(_24,to);},increase:function(){for(var p in this.now){this.setStyle(this.elm,p,this.now[p]);}}});AJS.fx.Transitions={linear:function(t,b,c,d){return c*t/d+b;},sineInOut:function(t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;}};script_loaded=true;var GB_CURRENT=null;GB_hide=function(cb){GB_CURRENT.hide(cb);};GreyBox=new AJS.Class({init:function(_2){this.use_fx=AJS.fx;this.type="page";this.overlay_click_close=false;this.salt=0;this.root_dir=GB_ROOT_DIR;this.callback_fns=[];this.reload_on_close=false;this.src_loader=this.root_dir+"loader_frame.html";var _3=window.location.hostname.indexOf("www");var _4=this.src_loader.indexOf("www");if(_3!=-1&&_4==-1){this.src_loader=this.src_loader.replace("://","://www.");}
if(_3==-1&&_4!=-1){this.src_loader=this.src_loader.replace("://www.","://");}
this.show_loading=true;AJS.update(this,_2);},addCallback:function(fn){if(fn){this.callback_fns.push(fn);}},show:function(_6){GB_CURRENT=this;this.url=_6;var _7=[AJS.$bytc("object"),AJS.$bytc("select")];AJS.map(AJS.flattenList(_7),function(_8){_8.style.visibility="hidden";});this.createElements();return false;},hide:function(cb){var me=this;AJS.callLater(function(){var _b=me.callback_fns;if(_b!=[]){AJS.map(_b,function(fn){fn();});}
me.onHide();if(me.use_fx){var _d=me.overlay;AJS.fx.fadeOut(me.overlay,{onComplete:function(){AJS.removeElement(_d);_d=null;},duration:300});AJS.removeElement(me.g_window);}else{AJS.removeElement(me.g_window,me.overlay);}
me.removeFrame();AJS.REV(window,"scroll",_GB_setOverlayDimension);AJS.REV(window,"resize",_GB_update);var _e=[AJS.$bytc("object"),AJS.$bytc("select")];AJS.map(AJS.flattenList(_e),function(_f){_f.style.visibility="visible";});GB_CURRENT=null;if(me.reload_on_close){window.location.reload();}
if(AJS.isFunction(cb)){cb();}},10);},update:function(){this.setOverlayDimension();this.setFrameSize();this.setWindowPosition();},createElements:function(){this.initOverlay();this.g_window=AJS.DIV({"id":"GB_window"});AJS.hideElement(this.g_window);AJS.getBody().insertBefore(this.g_window,this.overlay.nextSibling);this.initFrame();this.initHook();this.update();var me=this;if(this.use_fx){AJS.fx.fadeIn(this.overlay,{duration:300,to:0.7,onComplete:function(){me.onShow();AJS.showElement(me.g_window);me.startLoading();}});}else{AJS.setOpacity(this.overlay,0.7);AJS.showElement(this.g_window);this.onShow();this.startLoading();}
AJS.AEV(window,"scroll",_GB_setOverlayDimension);AJS.AEV(window,"resize",_GB_update);},removeFrame:function(){try{AJS.removeElement(this.iframe);}
catch(e){}
this.iframe=null;},startLoading:function(){this.iframe.src=this.src_loader+"?s="+this.salt++;AJS.showElement(this.iframe);},setOverlayDimension:function(){var _11=AJS.getWindowSize();if(AJS.isMozilla()||AJS.isOpera()){AJS.setWidth(this.overlay,"100%");}else{AJS.setWidth(this.overlay,_11.w);}
var _12=Math.max(AJS.getScrollTop()+_11.h,AJS.getScrollTop()+this.height);if(_12<AJS.getScrollTop()){AJS.setHeight(this.overlay,_12);}else{AJS.setHeight(this.overlay,AJS.getScrollTop()+_11.h);}},initOverlay:function(){this.overlay=AJS.DIV({"id":"GB_overlay"});if(this.overlay_click_close){AJS.AEV(this.overlay,"click",GB_hide);}
AJS.setOpacity(this.overlay,0);AJS.getBody().insertBefore(this.overlay,AJS.getBody().firstChild);},initFrame:function(){if(!this.iframe){var d={"name":"GB_frame","class":"GB_frame","frameBorder":0};if(AJS.isIe()){d.src="javascript:false;document.write(\"\");";}
this.iframe=AJS.IFRAME(d);this.middle_cnt=AJS.DIV({"class":"content"},this.iframe);this.top_cnt=AJS.DIV();this.bottom_cnt=AJS.DIV();AJS.ACN(this.g_window,this.top_cnt,this.middle_cnt,this.bottom_cnt);}},onHide:function(){},onShow:function(){},setFrameSize:function(){},setWindowPosition:function(){},initHook:function(){}});_GB_update=function(){if(GB_CURRENT){GB_CURRENT.update();}};_GB_setOverlayDimension=function(){if(GB_CURRENT){GB_CURRENT.setOverlayDimension();}};AJS.preloadImages(GB_ROOT_DIR+"indicator.gif");script_loaded=true;var GB_SETS={};function decoGreyboxLinks(){var as=AJS.$bytc("a");AJS.map(as,function(a){if(a.getAttribute("href")&&a.getAttribute("rel")){var rel=a.getAttribute("rel");if(rel.indexOf("gb_")==0){var _17=rel.match(/\w+/)[0];var _18=rel.match(/\[(.*)\]/)[1];var _19=0;var _1a={"caption":a.title||"","url":a.href};if(_17=="gb_pageset"||_17=="gb_imageset"){if(!GB_SETS[_18]){GB_SETS[_18]=[];}
GB_SETS[_18].push(_1a);_19=GB_SETS[_18].length;}
if(_17=="gb_pageset"){a.onclick=function(){GB_showFullScreenSet(GB_SETS[_18],_19);return false;};}
if(_17=="gb_imageset"){a.onclick=function(){GB_showImageSet(GB_SETS[_18],_19);return false;};}
if(_17=="gb_image"){a.onclick=function(){GB_showImage(_1a.caption,_1a.url);return false;};}
if(_17=="gb_page"){a.onclick=function(){var sp=_18.split(/, ?/);GB_show(_1a.caption,_1a.url,parseInt(sp[1]),parseInt(sp[0]));return false;};}
if(_17=="gb_page_fs"){a.onclick=function(){GB_showFullScreen(_1a.caption,_1a.url);return false;};}
if(_17=="gb_page_center"){a.onclick=function(){var sp=_18.split(/, ?/);GB_showCenter(_1a.caption,_1a.url,parseInt(sp[1]),parseInt(sp[0]));return false;};}}}});}
AJS.AEV(window,"load",decoGreyboxLinks);GB_showImage=function(_1d,url,_1f){var _20={width:300,height:300,type:"image",fullscreen:false,center_win:true,caption:_1d,callback_fn:_1f};var win=new GB_Gallery(_20);return win.show(url);};GB_showPage=function(_22,url,_24){var _25={type:"page",caption:_22,callback_fn:_24,fullscreen:true,center_win:false};var win=new GB_Gallery(_25);return win.show(url);};GB_Gallery=GreyBox.extend({init:function(_27){this.parent({});this.img_close=this.root_dir+"g_close.gif";AJS.update(this,_27);this.addCallback(this.callback_fn);},initHook:function(){AJS.addClass(this.g_window,"GB_Gallery");var _28=AJS.DIV({"class":"inner"});this.header=AJS.DIV({"class":"GB_header"},_28);AJS.setOpacity(this.header,0);AJS.getBody().insertBefore(this.header,this.overlay.nextSibling);var _29=AJS.TD({"id":"GB_caption","class":"caption","width":"40%"},this.caption);var _2a=AJS.TD({"id":"GB_middle","class":"middle","width":"20%"});var _2b=AJS.IMG({"src":this.img_close});AJS.AEV(_2b,"click",GB_hide);var _2c=AJS.TD({"class":"close","width":"40%"},_2b);var _2d=AJS.TBODY(AJS.TR(_29,_2a,_2c));var _2e=AJS.TABLE({"cellspacing":"0","cellpadding":0,"border":0},_2d);AJS.ACN(_28,_2e);if(this.fullscreen){AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this));}else{AJS.AEV(window,"scroll",AJS.$b(this._setHeaderPos,this));}},setFrameSize:function(){var _2f=this.overlay.offsetWidth;var _30=AJS.getWindowSize();if(this.fullscreen){this.width=_2f-40;this.height=_30.h-80;}
AJS.setWidth(this.iframe,this.width);AJS.setHeight(this.iframe,this.height);AJS.setWidth(this.header,_2f);},_setHeaderPos:function(){AJS.setTop(this.header,AJS.getScrollTop()+10);},setWindowPosition:function(){var _31=this.overlay.offsetWidth;var _32=AJS.getWindowSize();AJS.setLeft(this.g_window,((_31-50-this.width)/2));var _33=AJS.getScrollTop()+55;if(!this.center_win){AJS.setTop(this.g_window,_33);}else{var fl=((_32.h-this.height)/2)+20+AJS.getScrollTop();if(fl<0){fl=0;}
if(_33>fl){fl=_33;}
AJS.setTop(this.g_window,fl);}
this._setHeaderPos();},onHide:function(){AJS.removeElement(this.header);AJS.removeClass(this.g_window,"GB_Gallery");},onShow:function(){if(this.use_fx){AJS.fx.fadeIn(this.header,{to:1});}else{AJS.setOpacity(this.header,1);}}});AJS.preloadImages(GB_ROOT_DIR+"g_close.gif");GB_showFullScreenSet=function(set,_36,_37){var _38={type:"page",fullscreen:true,center_win:false};var _39=new GB_Sets(_38,set);_39.addCallback(_37);_39.showSet(_36-1);return false;};GB_showImageSet=function(set,_3b,_3c){var _3d={type:"image",fullscreen:false,center_win:true,width:300,height:300};var _3e=new GB_Sets(_3d,set);_3e.addCallback(_3c);_3e.showSet(_3b-1);return false;};GB_Sets=GB_Gallery.extend({init:function(_3f,set){this.parent(_3f);if(!this.img_next){this.img_next=this.root_dir+"next.gif";}
if(!this.img_prev){this.img_prev=this.root_dir+"prev.gif";}
this.current_set=set;},showSet:function(_41){this.current_index=_41;var _42=this.current_set[this.current_index];this.show(_42.url);this._setCaption(_42.caption);this.btn_prev=AJS.IMG({"class":"left",src:this.img_prev});this.btn_next=AJS.IMG({"class":"right",src:this.img_next});AJS.AEV(this.btn_prev,"click",AJS.$b(this.switchPrev,this));AJS.AEV(this.btn_next,"click",AJS.$b(this.switchNext,this));GB_STATUS=AJS.SPAN({"class":"GB_navStatus"});AJS.ACN(AJS.$("GB_middle"),this.btn_prev,GB_STATUS,this.btn_next);this.updateStatus();},updateStatus:function(){AJS.setHTML(GB_STATUS,(this.current_index+1)+" / "+this.current_set.length);if(this.current_index==0){AJS.addClass(this.btn_prev,"disabled");}else{AJS.removeClass(this.btn_prev,"disabled");}
if(this.current_index==this.current_set.length-1){AJS.addClass(this.btn_next,"disabled");}else{AJS.removeClass(this.btn_next,"disabled");}},_setCaption:function(_43){AJS.setHTML(AJS.$("GB_caption"),_43);},updateFrame:function(){var _44=this.current_set[this.current_index];this._setCaption(_44.caption);this.url=_44.url;this.startLoading();},switchPrev:function(){if(this.current_index!=0){this.current_index--;this.updateFrame();this.updateStatus();}},switchNext:function(){if(this.current_index!=this.current_set.length-1){this.current_index++;this.updateFrame();this.updateStatus();}}});AJS.AEV(window,"load",function(){AJS.preloadImages(GB_ROOT_DIR+"next.gif",GB_ROOT_DIR+"prev.gif");});GB_show=function(_45,url,_47,_48,_49){var _4a={caption:_45,height:_47||500,width:_48||500,fullscreen:false,callback_fn:_49};var win=new GB_Window(_4a);return win.show(url);};GB_showCenter=function(_4c,url,_4e,_4f,_50){var _51={caption:_4c,center_win:true,height:_4e||500,width:_4f||500,fullscreen:false,callback_fn:_50};var win=new GB_Window(_51);return win.show(url);};GB_showFullScreen=function(_53,url,_55){var _56={caption:_53,fullscreen:true,callback_fn:_55};var win=new GB_Window(_56);return win.show(url);};GB_Window=GreyBox.extend({init:function(_58){this.parent({});this.img_header=this.root_dir+"header_bg.gif";this.img_close=this.root_dir+"w_close.gif";this.show_close_img=true;AJS.update(this,_58);this.addCallback(this.callback_fn);},initHook:function(){AJS.addClass(this.g_window,"GB_Window");this.header=AJS.TABLE({"class":"header"});this.header.style.backgroundImage="url("+this.img_header+")";var _59=AJS.TD({"class":"caption"},this.caption);var _5a=AJS.TD({"class":"close"});if(this.show_close_img){var _5b=AJS.IMG({"src":this.img_close});var closeLabel="Close";try{if(GBCloseText){closeLabel=GBCloseText;}}catch(err){}
var _5c=AJS.SPAN(closeLabel);var btn=AJS.DIV(_5b,_5c);AJS.AEV([_5b,_5c],"mouseover",function(){AJS.addClass(_5c,"on");});AJS.AEV([_5b,_5c],"mouseout",function(){AJS.removeClass(_5c,"on");});AJS.AEV([_5b,_5c],"mousedown",function(){AJS.addClass(_5c,"click");});AJS.AEV([_5b,_5c],"mouseup",function(){AJS.removeClass(_5c,"click");});AJS.AEV([_5b,_5c],"click",GB_hide);AJS.ACN(_5a,btn);}
tbody_header=AJS.TBODY();AJS.ACN(tbody_header,AJS.TR(_59,_5a));AJS.ACN(this.header,tbody_header);AJS.ACN(this.top_cnt,this.header);if(this.fullscreen){AJS.AEV(window,"scroll",AJS.$b(this.setWindowPosition,this));}},setFrameSize:function(){if(this.fullscreen){var _5e=AJS.getWindowSize();overlay_h=_5e.h;this.width=Math.round(this.overlay.offsetWidth-(this.overlay.offsetWidth/100)*10);this.height=Math.round(overlay_h-(overlay_h/100)*10);}
AJS.setWidth(this.header,this.width+6);AJS.setWidth(this.iframe,this.width);AJS.setHeight(this.iframe,this.height);},setWindowPosition:function(){var _5f=AJS.getWindowSize();AJS.setLeft(this.g_window,((_5f.w-this.width)/2)-13);if(!this.center_win){AJS.setTop(this.g_window,AJS.getScrollTop());}else{var fl=((_5f.h-this.height)/2)-20+AJS.getScrollTop();if(fl<0){fl=0;}
AJS.setTop(this.g_window,fl);}}});AJS.preloadImages(GB_ROOT_DIR+"w_close.gif",GB_ROOT_DIR+"header_bg.gif");script_loaded=true;
//cluetip
;(function($){$.cluetip={version:'1.0.3'};var $cluetip,$cluetipInner,$cluetipOuter,$cluetipTitle,$cluetipArrows,$cluetipWait,$dropShadow,imgCount;$.fn.cluetip=function(js,options){if(typeof js=='object'){options=js;js=null;}
if(js=='destroy'){return this.unbind('.cluetip');}
return this.each(function(index){var link=this,$this=$(this);var opts=$.extend(true,{},$.fn.cluetip.defaults,options||{},$.metadata?$this.metadata():$.meta?$this.data():{});var cluetipContents=false;var cluezIndex=+opts.cluezIndex;$this.data('thisInfo',{title:link.title,zIndex:cluezIndex});var isActive=false,closeOnDelay=0;if(!$('#cluetip').length){$(['<div id="cluetip">','<div id="cluetip-outer">','<h3 id="cluetip-title"></h3>','<div id="cluetip-inner"></div>','</div>','<div id="cluetip-extra"></div>','<div id="cluetip-arrows" class="cluetip-arrows"></div>','</div>'].join(''))
[insertionType](insertionElement).hide();$cluetip=$('#cluetip').css({position:'absolute'});$cluetipOuter=$('#cluetip-outer').css({position:'relative',zIndex:cluezIndex});$cluetipInner=$('#cluetip-inner');$cluetipTitle=$('#cluetip-title');$cluetipArrows=$('#cluetip-arrows');$cluetipWait=$('<div id="cluetip-waitimage"></div>').css({position:'absolute'}).insertBefore($cluetip).hide();}
var dropShadowSteps=(opts.dropShadow)?+opts.dropShadowSteps:0;if(!$dropShadow){$dropShadow=$([]);for(var i=0;i<dropShadowSteps;i++){$dropShadow=$dropShadow.add($('<div></div>').css({zIndex:cluezIndex-1,opacity:.1,top:1+i,left:1+i}));};$dropShadow.css({position:'absolute',backgroundColor:'#000'}).prependTo($cluetip);}
var tipAttribute=$this.attr(opts.attribute),ctClass=opts.cluetipClass;if(!tipAttribute&&!opts.splitTitle&&!js)return true;if(opts.local&&opts.localPrefix){tipAttribute=opts.localPrefix+tipAttribute;}
if(opts.local&&opts.hideLocal){$(tipAttribute+':first').hide();}
var tOffset=parseInt(opts.topOffset,10),lOffset=parseInt(opts.leftOffset,10);var tipHeight,wHeight,defHeight=isNaN(parseInt(opts.height,10))?'auto':(/\D/g).test(opts.height)?opts.height:opts.height+'px';var sTop,linkTop,posY,tipY,mouseY,baseline;var tipInnerWidth=parseInt(opts.width,10)||275,tipWidth=tipInnerWidth+(parseInt($cluetip.css('paddingLeft'),10)||0)+(parseInt($cluetip.css('paddingRight'),10)||0)+dropShadowSteps,linkWidth=this.offsetWidth,linkLeft,posX,tipX,mouseX,winWidth;var tipParts;var tipTitle=(opts.attribute!='title')?$this.attr(opts.titleAttribute):'';if(opts.splitTitle){if(tipTitle==undefined){tipTitle='';}
tipParts=tipTitle.split(opts.splitTitle);tipTitle=tipParts.shift();}
if(opts.escapeTitle){tipTitle=tipTitle.replace(/&/g,'&').replace(/>/g,'>').replace(/</g,'<');}
var localContent;var activate=function(event){if(!opts.onActivate($this)){return false;}
isActive=true;$cluetip.removeClass().css({width:tipInnerWidth});if(tipAttribute==$this.attr('href')){$this.css('cursor',opts.cursor);}
if(opts.hoverClass){$this.addClass(opts.hoverClass);}
linkTop=posY=$this.offset().top;linkLeft=$this.offset().left;mouseX=event.pageX;mouseY=event.pageY;if(link.tagName.toLowerCase()!='area'){sTop=$(document).scrollTop();winWidth=$(window).width();}
if(opts.positionBy=='fixed'){posX=linkWidth+linkLeft+lOffset;$cluetip.css({left:posX});}else{posX=(linkWidth>linkLeft&&linkLeft>tipWidth)||linkLeft+linkWidth+tipWidth+lOffset>winWidth?linkLeft-tipWidth-lOffset:linkWidth+linkLeft+lOffset;if(link.tagName.toLowerCase()=='area'||opts.positionBy=='mouse'||linkWidth+tipWidth>winWidth){if(mouseX+20+tipWidth>winWidth){$cluetip.addClass(' cluetip-'+ctClass);posX=(mouseX-tipWidth-lOffset)>=0?mouseX-tipWidth-lOffset-parseInt($cluetip.css('marginLeft'),10)+parseInt($cluetipInner.css('marginRight'),10):mouseX-(tipWidth/2);}else{posX=mouseX+lOffset;}}
var pY=posX<0?event.pageY+tOffset:event.pageY;$cluetip.css({left:(posX>0&&opts.positionBy!='bottomTop')?posX:(mouseX+(tipWidth/2)>winWidth)?winWidth/2-tipWidth/2:Math.max(mouseX-(tipWidth/2),0),zIndex:$this.data('thisInfo').zIndex});$cluetipArrows.css({zIndex:$this.data('thisInfo').zIndex+1});}
wHeight=$(window).height();if(js){if(typeof js=='function'){js=js(link);}
$cluetipInner.html(js);cluetipShow(pY);}
else if(tipParts){var tpl=tipParts.length;$cluetipInner.html(tipParts[0]);if(tpl>1){for(var i=1;i<tpl;i++){$cluetipInner.append('<div class="split-body">'+tipParts[i]+'</div>');}}
cluetipShow(pY);}
else if(!opts.local&&tipAttribute.indexOf('#')!=0){if(/\.(jpe?g|tiff?|gif|png)$/i.test(tipAttribute)){$cluetipInner.html('<img src="'+tipAttribute+'" alt="'+tipTitle+'" />');cluetipShow(pY);}else if(cluetipContents&&opts.ajaxCache){$cluetipInner.html(cluetipContents);cluetipShow(pY);}else{var optionBeforeSend=opts.ajaxSettings.beforeSend,optionError=opts.ajaxSettings.error,optionSuccess=opts.ajaxSettings.success,optionComplete=opts.ajaxSettings.complete;var ajaxSettings={cache:false,url:tipAttribute,beforeSend:function(xhr){if(optionBeforeSend){optionBeforeSend.call(link,xhr,$cluetip,$cluetipInner);}
$cluetipOuter.children().empty();if(opts.waitImage){$cluetipWait.css({top:mouseY+20,left:mouseX+20,zIndex:$this.data('thisInfo').zIndex-1}).show();}},error:function(xhr,textStatus){if(isActive){if(optionError){optionError.call(link,xhr,textStatus,$cluetip,$cluetipInner);}else{$cluetipInner.html('<i>sorry, the contents could not be loaded</i>');}}},success:function(data,textStatus){cluetipContents=opts.ajaxProcess.call(link,data);if(isActive){if(optionSuccess){optionSuccess.call(link,data,textStatus,$cluetip,$cluetipInner);}
$cluetipInner.html(cluetipContents);}},complete:function(xhr,textStatus){if(optionComplete){optionComplete.call(link,xhr,textStatus,$cluetip,$cluetipInner);}
imgCount=$('#cluetip-inner img').length;if(imgCount&&!$.browser.opera){$('#cluetip-inner img').bind('load error',function(){imgCount--;if(imgCount<1){$cluetipWait.hide();if(isActive)cluetipShow(pY);}});}else{$cluetipWait.hide();if(isActive){cluetipShow(pY);}}}};var ajaxMergedSettings=$.extend(true,{},opts.ajaxSettings,ajaxSettings);$.ajax(ajaxMergedSettings);}}else if(opts.local){var $localContent=$(tipAttribute+(/#\S+$/.test(tipAttribute)?'':':eq('+index+')')).clone(true).show();$cluetipInner.html($localContent);cluetipShow(pY);}};var cluetipShow=function(bpY){$cluetip.addClass('cluetip-'+ctClass);if(opts.truncate){var $truncloaded=$cluetipInner.text().slice(0,opts.truncate)+'...';$cluetipInner.html($truncloaded);}
function doNothing(){};tipTitle?$cluetipTitle.show().html(tipTitle):(opts.showTitle)?$cluetipTitle.show().html(' '):$cluetipTitle.hide();if(opts.sticky){var $closeLink=$('<div id="cluetip-close"><a href="#">'+opts.closeText+'</a></div>');(opts.closePosition=='bottom')?$closeLink.appendTo($cluetipInner):(opts.closePosition=='title')?$closeLink.prependTo($cluetipTitle):$closeLink.prependTo($cluetipInner);$closeLink.bind('click.cluetip',function(){cluetipClose();return false;});if(opts.mouseOutClose){if($.fn.hoverIntent&&opts.hoverIntent){$cluetip.hoverIntent({over:doNothing,timeout:opts.hoverIntent.timeout,out:function(){$closeLink.trigger('click.cluetip');}});}else{$cluetip.hover(doNothing,function(){$closeLink.trigger('click.cluetip');});}}else{$cluetip.unbind('mouseout');}}
var direction='';$cluetipOuter.css({zIndex:$this.data('thisInfo').zIndex,overflow:defHeight=='auto'?'visible':'auto',height:defHeight});tipHeight=defHeight=='auto'?Math.max($cluetip.outerHeight(),$cluetip.height()):parseInt(defHeight,10);tipY=posY;baseline=sTop+wHeight;if(opts.positionBy=='fixed'){tipY=posY-opts.dropShadowSteps+tOffset;}else if((posX<mouseX&&Math.max(posX,0)+tipWidth>mouseX)||opts.positionBy=='bottomTop'){if(posY+tipHeight+tOffset>baseline&&mouseY-sTop>tipHeight+tOffset){tipY=mouseY-tipHeight-tOffset;direction='top';}else{tipY=mouseY+tOffset;direction='bottom';}}else if(posY+tipHeight+tOffset>baseline){tipY=(tipHeight>=wHeight)?sTop:baseline-tipHeight-tOffset;}else if($this.css('display')=='block'||link.tagName.toLowerCase()=='area'||opts.positionBy=="mouse"){tipY=bpY-tOffset;}else{tipY=posY-opts.dropShadowSteps;}
if(direction==''){posX<linkLeft?direction='left':direction='right';}
$cluetip.css({top:tipY+'px'}).removeClass().addClass('clue-'+direction+'-'+ctClass).addClass(' cluetip-'+ctClass);if(opts.arrows){var bgY=(posY-tipY-opts.dropShadowSteps);$cluetipArrows.css({top:(/(left|right)/.test(direction)&&posX>=0&&bgY>0)?bgY+'px':/(left|right)/.test(direction)?0:''}).show();}else{$cluetipArrows.hide();}
$dropShadow.hide();$cluetip.hide()[opts.fx.open](opts.fx.open!='show'&&opts.fx.openSpeed);if(opts.dropShadow){$dropShadow.css({height:tipHeight,width:tipInnerWidth,zIndex:$this.data('thisInfo').zIndex-1}).show();}
if($.fn.bgiframe){$cluetip.bgiframe();}
if(opts.delayedClose>0){closeOnDelay=setTimeout(cluetipClose,opts.delayedClose);}
opts.onShow.call(link,$cluetip,$cluetipInner);};var inactivate=function(event){isActive=false;$cluetipWait.hide();if(!opts.sticky||(/click|toggle/).test(opts.activation)){cluetipClose();clearTimeout(closeOnDelay);};if(opts.hoverClass){$this.removeClass(opts.hoverClass);}};var cluetipClose=function(){$cluetipOuter.parent().hide().removeClass();opts.onHide.call(link,$cluetip,$cluetipInner);$this.removeClass('cluetip-clicked');if(tipTitle){$this.attr(opts.titleAttribute,tipTitle);}
$this.css('cursor','');if(opts.arrows)$cluetipArrows.css({top:''});};$(document).bind('hideCluetip',function(e){cluetipClose();});if((/click|toggle/).test(opts.activation)){$this.bind('click.cluetip',function(event){if($cluetip.is(':hidden')||!$this.is('.cluetip-clicked')){activate(event);$('.cluetip-clicked').removeClass('cluetip-clicked');$this.addClass('cluetip-clicked');}else{inactivate(event);}
this.blur();return false;});}else if(opts.activation=='focus'){$this.bind('focus.cluetip',function(event){activate(event);});$this.bind('blur.cluetip',function(event){inactivate(event);});}else{$this.bind('click.cluetip',function(){if($this.attr('href')&&$this.attr('href')==tipAttribute&&!opts.clickThrough){return false;}});var mouseTracks=function(evt){if(opts.tracking==true){var trackX=posX-evt.pageX;var trackY=tipY?tipY-evt.pageY:posY-evt.pageY;$this.bind('mousemove.cluetip',function(evt){$cluetip.css({left:evt.pageX+trackX,top:evt.pageY+trackY});});}};if($.fn.hoverIntent&&opts.hoverIntent){$this.hoverIntent({sensitivity:opts.hoverIntent.sensitivity,interval:opts.hoverIntent.interval,over:function(event){activate(event);mouseTracks(event);},timeout:opts.hoverIntent.timeout,out:function(event){inactivate(event);$this.unbind('mousemove.cluetip');}});}else{$this.bind('mouseenter.cluetip',function(event){activate(event);mouseTracks(event);}).bind('mouseleave.cluetip',function(event){inactivate(event);$this.unbind('mousemove.cluetip');});}
$this.bind('mouseenter.cluetip',function(event){$this.attr('title','');}).bind('mouseleave.cluetip',function(event){$this.attr('title',$this.data('thisInfo').title);});}});};$.fn.cluetip.defaults={width:275,height:'auto',cluezIndex:97,positionBy:'auto',topOffset:15,leftOffset:15,local:false,localPrefix:null,hideLocal:true,attribute:'rel',titleAttribute:'title',splitTitle:'',escapeTitle:false,showTitle:true,cluetipClass:'default',hoverClass:'',waitImage:true,cursor:'help',arrows:false,dropShadow:true,dropShadowSteps:6,sticky:false,mouseOutClose:false,activation:'hover',clickThrough:false,tracking:false,delayedClose:0,closePosition:'top',closeText:'Close',truncate:0,fx:{open:'show',openSpeed:''},hoverIntent:{sensitivity:3,interval:50,timeout:0},onActivate:function(e){return true;},onShow:function(ct,ci){},onHide:function(ct,ci){},ajaxCache:true,ajaxProcess:function(data){data=data.replace(/<(script|style|title)[^<]+<\/(script|style|title)>/gm,'').replace(/<(link|meta)[^>]+>/g,'');return data;},ajaxSettings:{dataType:'html'},debug:false};var insertionType='appendTo',insertionElement='body';$.cluetip.setup=function(options){if(options&&options.insertionType&&(options.insertionType).match(/appendTo|prependTo|insertBefore|insertAfter/)){insertionType=options.insertionType;}
if(options&&options.insertionElement){insertionElement=options.insertionElement;}};})(jQuery);
//oomph
function startoomph(){if(!window.oomph_semaphore)jQuery(function(){var oomph_semaphore=true;window.oomph_semaphore=oomph_semaphore;var oomph;oomph=jQuery;var hCardCollection=oomph(".vcard"),hCalendarCollection=oomph(".vevent"),hAudioCollection=oomph(".hmedia"),microformatTotal=hCardCollection.length+hCalendarCollection.length+hAudioCollection.length;if(microformatTotal==0)return;var addresses=[],geoinfos=[],geoinfos2=[],addressCounter=0,animationSpeed=300,currentHCard=1,currentHCalendar=1,isSpanClicked=false,width="",currentHAudio=1,mainhAudioContainer=oomph('<div class="iwmf_box" ></div>'),hAudioHead=oomph('<div class="iwmf_typeHead">Media</div>'),hAudios=oomph('<ul id="iwmf_hAudios" ></ul>'),pinHTML="<div style='position:relative;'><div id='{0}'class='pinShadowStyle'>&nbsp;</div><div id='{1}' class='pinStyle'>1</div></div>",iwmf=oomph('<span id="iwmf" ></span>'),gleam=oomph('<div id="iwmf_gleam"  title="Oomph: A Microformat Overlay"></div>'),mainNavContainer=oomph('<div id="iwmf_mainNavContainer" ></div>'),mix_info=oomph('<div id="iwmf_info" title="Oomph from MIX Online" ><span class="iwmf_green">Oomph</span>: A Microformats Toolkit, brought to you by <a href="http://visitmix.com" target="_blank">MIX Online</a></div>'),closeButton=oomph('<div id="iwmf_closeButton"></div>'),mainContainer=oomph('<div id="iwmf_mainContainer" ></div>'),clear=oomph('<div id="clear"></div>'),mapFrame=oomph('<div id="iwmf_mapFrame" ></div>'),mainhCardContainer=oomph('<div class="iwmf_box"></div>'),mainEventContainer=oomph('<div class="iwmf_box"></div>'),eventsHead=oomph('<div class="iwmf_typeHead">Events</div>'),contactsHead=oomph('<div class="iwmf_typeHead" >Contacts</div>'),vEvents=oomph('<ul id="iwmf_vEvents" ></ul>'),vCards=oomph('<ul id="iwmf_vCards" ></ul>'),mainMap=null,shadow=oomph('<div id="shadow"></div>');shadow.hide();insertCSS();wirePaging();wireEvents();oomph.getScript("http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2",displayUI);function insertCSS(){var head=document.getElementsByTagName("head")[0];if(!head)document.getElementsByTagName("html")[0];var css1=document.createElement("link");css1.href="http://visitmix.com/labs/oomph/2.0/client/oomph.css";css1.type="text/css";css1.rel="stylesheet";head.appendChild(css1)}function wirePaging(){if(hCalendarCollection.length>1){var eventNext=oomph('<div class="iwmf_Next"><a href="#" >Next ></a></div>').bind("click",function(event){currentHCalendar=currentHCalendar+1;if(currentHCalendar<=oomph(".iwmf_vEventContainer").size()){oomph(".iwmf_vEventContainer").hide(animationSpeed);var current=oomph(".iwmf_vEventContainer")[currentHCalendar-1];oomph(current).show(animationSpeed)}else currentHCalendar=currentHCalendar-1;oomph("#iwmf_hCalendarNum").text(currentHCalendar+" of "+hCalendarCollection.length)}),eventPrev=oomph('<div class="iwmf_Prev"><a href="#" >< Prev</a></div>').bind("click",function(event){currentHCalendar=currentHCalendar-1;if(currentHCalendar>=1){oomph(".iwmf_vEventContainer").hide(animationSpeed);var current=oomph(".iwmf_vEventContainer")[currentHCalendar-1];oomph(current).show(animationSpeed)}else currentHCalendar=1;oomph("#iwmf_hCalendarNum").text(currentHCalendar+" of "+hCalendarCollection.length)});oomph(mainEventContainer).append(eventNext);oomph(mainEventContainer).append('<div id="iwmf_hCalendarNum" class="iwmf_Prev">'+currentHCalendar+" of "+hCalendarCollection.length+"</div>");oomph(mainEventContainer).append(eventPrev)}if(hCardCollection.length>1){var contactNext=oomph('<div class="iwmf_Next"><a href="#" >Next&nbsp;></a>').bind("click",function(event){currentHCard=currentHCard+1;if(currentHCard<=oomph(".iwmf_hCardContainer").size()){oomph(".iwmf_hCardContainer").hide(animationSpeed);var current=oomph(".iwmf_hCardContainer")[currentHCard-1];oomph(current).show(animationSpeed)}else currentHCard=currentHCard-1;oomph("#iwmf_hCardNum").text(currentHCard+" of "+hCardCollection.length)}),contactPrev=oomph('<div class="iwmf_Prev"><a href="#"><&nbsp;Prev</a>').bind("click",function(event){currentHCard=currentHCard-1;if(currentHCard>=1){oomph(".iwmf_hCardContainer").hide(animationSpeed);var current=oomph(".iwmf_hCardContainer")[currentHCard-1];oomph(current).show(animationSpeed)}else currentHCard=1;oomph("#iwmf_hCardNum").text(currentHCard+" of "+hCardCollection.length)});oomph(mainhCardContainer).append(contactNext);oomph(mainhCardContainer).append('<div id="iwmf_hCardNum" class="iwmf_Prev">'+currentHCard+" of "+hCardCollection.length+"</div>");oomph(mainhCardContainer).append(contactPrev)}if(hAudioCollection.length>1){var audioNext=oomph('<div class="iwmf_Next"><a href="#" >Next ></a></div>').bind("click",function(event){currentHAudio=currentHAudio+1;if(currentHAudio<=oomph(".iwmf_hAudioContainer").size()){oomph(".iwmf_hAudioContainer").hide(animationSpeed);var current=oomph(".iwmf_hAudioContainer")[currentHAudio-1];oomph(current).show(animationSpeed)}else currentHAudio=currentHAudio-1;oomph("#iwmf_hMediaNum").text(currentHAudio+" of "+hAudioCollection.length)}),audioPrev=oomph('<div class="iwmf_Prev"><a href="#">< Prev</a></div>').bind("click",function(event){currentHAudio=currentHAudio-1;if(currentHAudio>=1){oomph(".iwmf_hAudioContainer").hide(animationSpeed);var current=oomph(".iwmf_hAudioContainer")[currentHAudio-1];oomph(current).show(animationSpeed)}else currentHAudio=1;oomph("#iwmf_hMediaNum").text(currentHAudio+" of "+hAudioCollection.length)});oomph(mainhAudioContainer).append(audioNext);oomph(mainhAudioContainer).append('<div id="iwmf_hMediaNum" class="iwmf_Prev">'+currentHAudio+" of "+hAudioCollection.length+"</div>");oomph(mainhAudioContainer).append(audioPrev)}}function wireEvents(){oomph(gleam).click(function(){if(isSpanClicked){oomph(mainNavContainer).hide(animationSpeed);oomph(mainContainer).hide(animationSpeed);oomph("#iwmf").css({width:"32px"});isSpanClicked=false;shadow.hide()}else{oomph("#iwmf").css({width:width});oomph(mainContainer).show(animationSpeed);oomph(mainNavContainer).show(animationSpeed);isSpanClicked=true;shadow.show()}});oomph(closeButton).bind("click",function(){oomph(mainContainer).hide(animationSpeed);oomph(mainNavContainer).hide(animationSpeed);oomph("#iwmf").css({width:"32px"});shadow.hide();isSpanClicked=false})}function buildMap(){try{mainMap=new VEMap("iwmf_mapFrame");mainMap.LoadMap()}catch(err){setTimeout(buildMap,1e3);return}mainMap.Resize(200,200);if(oomph.browser.mozilla)mainMap.Pan(-350,0);if(addresses.length>0)geoCode(addresses[0]);if(geoinfos.length>0){for(var i=0;i<geoinfos.length;i++){var myShape=new VEShape(VEShapeType.Pushpin,new VELatLong(geoinfos[i].lat,geoinfos[i].lon));myShape.SetTitle(geoinfos[i].name);mainMap.AddShape(myShape);geoinfos2.push(new VELatLong(geoinfos[i].lat,geoinfos[i].lon));var currentMarkerID=myShape.GetID(),currentPinHTML=pinHTML.replace("{0}",currentMarkerID+"_iconShadow"),currentPinHTML=currentPinHTML.replace("{1}",currentMarkerID+"_icon")}mainMap.SetMapView(geoinfos2)}}function geoCode(address){var zoom=true;if(addresses.length>1||geoinfos.length>0)zoom=false;mainMap.Find(null,address.location,null,null,null,null,true,true,false,zoom,GetCoordinates)}function GetCoordinates(layer,resultsArray,places,hasMore,veErrorMessage){if(places==null)return;geoinfos.push(places[0].LatLong);var myShape=new VEShape(VEShapeType.Pushpin,places[0].LatLong);geoinfos2.push(new VEShape(VEShapeType.Pushpin,places[0].LatLong));myShape.SetTitle(addresses[addressCounter].name);mainMap.AddShape(myShape);var currentMarkerID=myShape.GetID(),currentPinHTML=pinHTML.replace("{0}",currentMarkerID+"_iconShadow"),currentPinHTML=currentPinHTML.replace("{1}",currentMarkerID+"_icon");if(geoinfos.length==1)mainMap.SetCenterAndZoom(places[0].LatLong,13);addressCounter++;if(addressCounter<addresses.length)geoCode(addresses[addressCounter]);if(addressCounter==addresses.length&&addresses.length>1)mainMap.SetMapView(geoinfos2)}function buildWindowsLiveCalendarURL(summary,dtstart,dtend,location,description){if(!dtstart)return;dtstart=dtstart.replace(/T/," ");dtstart=dtstart+"Z";if(dtend){dtend=dtend.replace(/T/," ");dtend=dtend+"Z"}var url="http://spaces.live.com/api.aspx?wx_action=createEvent";url=url+"&Wxp_name="+summary+"&Wxp_startDateTime="+dtstart+"&Wxp_endDateTime="+dtend+" &Wxp_location="+location+"&Wxp_description="+description;return url}function buildGoogleCalendarURL(summary,dtstart,dtend,location,description){var url="http://www.google.com/calendar/event?action=TEMPLATE",date=dtstart;if(dtend)date=date+"/"+dtend;else date=date+"/"+dtstart;url=url+"&text="+summary+"&dates="+date+"&location="+location+"&details="+description;return url}function buildYahooCalendarURL(summary,dtstart,dtend,location,description,uri){var url="http://calendar.yahoo.com/?v=60&type=0";url=url+"&title="+summary+"&st="+dtstart+"&rend"+dtend+"&in_loc="+location+"&url="+uri+"&DESC="+description;return url}function build30BoxesCalendarURL(summary,dtstart,dtend,location,description,uri){var url="http://30boxes.com/add.php?e="+summary+" "+dtstart+" "+description+" "+location;return url}function buildiCalendarURL(dtstart_iso_nopunc,dtend_iso_nopunc,location,summary,description){var url="http://visitmix.com/labs/oomph/1.0/Server/icalendar.ashx?dtstart="+dtstart_iso_nopunc+"&dtend="+dtend_iso_nopunc+"&location="+location+"&summary="+summary+"&description="+description;return url}function buildvCardURL(fn,additionalname,familyname,givenname,nameprefix,namesuffix,nickname,organization,role,title,email,note,streetaddress,region,locality,postalcode,countryname,photo,workphone,workfax,homephone,cellphone,pager,url,bday,latitude,longitude,category,rev,uid,mailer){var url="http://visitmix.com/labs/oomph/1.0/Server/vcard.ashx?fn="+fn+"&AdditionalName="+additionalname+"&FamilyName="+familyname+"&GivenName="+givenname+"&NamePrefix="+nameprefix+"&namesuffix"+namesuffix+"&NickName="+nickname+"&Organization="+organization+"&Role="+role+"&Title="+title+"&WorkEmail="+email+"&note="+note+"&adrWork=true&wStreet="+streetaddress+"&wCity="+locality+"&wRegion="+region+"&wPostalCode="+postalcode+"&wCountry="+countryname+"&photo="+photo+"&WorkPhone="+workphone+"&WorkFax="+workfax+"&HomePhone="+homephone+"&CellPhone="+cellphone+"&Pager="+pager+"&WorkWebsite="+url+"&bday="+bday+"&latitude="+latitude+"&longitude="+longitude+"&category="+category+"&rev="+rev+"&uid="+uid+"&mailer="+mailer;return url}function buildYahooContactURL(fn,company,email,uri,address){var url="http://address.yahoo.com/?A=C&";url=url+"fn="+fn+"&co="+company+"&pu="+uri+"&e="+email;return url}function geo(latitude,longitude){this.latitude=latitude;this.longitude=longitude}function iso8601FromDate(date,punctuation){var string=date.getFullYear().toString();if(punctuation)string+="-";string+=(date.getMonth()+1).toString().replace(/\b(\d)\b/g,"0oomph1");if(punctuation)string+="-";string+=date.getDate().toString().replace(/\b(\d)\b/g,"0oomph1");if(date.time){string+="T";string+=date.getHours().toString().replace(/\b(\d)\b/g,"0oomph1");if(punctuation)string+=":";string+=date.getMinutes().toString().replace(/\b(\d)\b/g,"0oomph1");if(punctuation)string+=":";string+=date.getSeconds().toString().replace(/\b(\d)\b/g,"0oomph1");if(date.getMilliseconds()>0){if(punctuation)string+=".";string+=date.getMilliseconds().toString()}}return string}function normalizeISO8601(string,punctuation){var dateArray=string.match(/(\d\d\d\d)(?:-?(\d\d)(?:-?(\d\d)(?:[T ](\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(?:([-+Z])(?:(\d\d)(?::?(\d\d))?)?)?)?)?)?/),dateString,tzOffset=0;if(!dateArray)return;if(dateArray[1]){dateString=dateArray[1];if(dateArray[2]){if(punctuation)dateString+="-";dateString+=dateArray[2];if(dateArray[3]){if(punctuation)dateString+="-";dateString+=dateArray[3];if(dateArray[4]){dateString+="T"+dateArray[4];if(dateArray[5]){if(punctuation)dateString+=":";dateString+=dateArray[5]}else{if(punctuation)dateString+=":";dateString+="00"}if(dateArray[6]){if(punctuation)dateString+=":";dateString+=dateArray[6]}else{if(punctuation)dateString+=":";dateString+="00"}if(dateArray[7]){if(punctuation)dateString+=".";dateString+=dateArray[7]}if(dateArray[8]){dateString+=dateArray[8];if(dateArray[8]=="+"||dateArray[8]=="-")if(dateArray[9]){dateString+=dateArray[9];if(dateArray[10])dateString+=dateArray[10]}}}}}}return dateString}function dateFromISO8601(string){var dateArray=string.match(/(\d\d\d\d)(?:-?(\d\d)(?:-?(\d\d)(?:[T ](\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(?:([-+Z])(?:(\d\d)(?::?(\d\d))?)?)?)?)?)?/),date=new Date(dateArray[1],0,1);date.time=false;if(dateArray[2])date.setMonth(dateArray[2]-1);if(dateArray[3])date.setDate(dateArray[3]);if(dateArray[4]){date.setHours(dateArray[4]);date.time=true;if(dateArray[5]){date.setMinutes(dateArray[5]);if(dateArray[6]){date.setSeconds(dateArray[6]);if(dateArray[7])date.setMilliseconds(Number("0."+dateArray[7])*1e3)}}}if(dateArray[8]){if(dateArray[8]=="-"){if(dateArray[9]&&dateArray[10]){date.setHours(date.getHours()+parseInt(dateArray[9],10));date.setMinutes(date.getMinutes()+parseInt(dateArray[10],10))}}else if(dateArray[8]=="+")if(dateArray[9]&&dateArray[10]){date.setHours(date.getHours()-parseInt(dateArray[9],10));date.setMinutes(date.getMinutes()-parseInt(dateArray[10],10))}if(dateArray[8]){var tzOffset=date.getTimezoneOffset();if(tzOffset<0)date.setMinutes(date.getMinutes()+tzOffset);else if(tzOffset>0)date.setMinutes(date.getMinutes()-tzOffset)}}return date}function qualifyHREF(href){var loc=document.location,uri=loc.protocol+"//"+loc.host;if(/^(\.\/)([^\/]?)/.test(href))href=href.replace(/^(\.\/)([^\/]?)/,"oomph2");if(/^([a-z]+)\:\/\//.test(href))uri=href;else if(href.substr(0,2)=="//")uri=loc.protocol+href;else if(href.substr(0,1)=="/")uri+=href;else if(/^((\.\.\/)+)([^\/].*oomph)/.test(href)){var lastpath=href.match(/^((\.\.\/)+)([^\/].*oomph)/);lastpath=lastpath[lastpath.length-1];var references=href.split("../").length-1,parts=loc.pathname.split("/");parts=parts.splice(0,parts.length-1);for(var i=0;i<references;i++)parts=parts.splice(0,parts.length-1);var path="";for(i=0;i<parts.length;i++)if(parts[i]!="")path+="/"+parts[i];path+="/";path+=lastpath;uri+=path}else{path="";parts=loc.pathname.split("/");parts=parts.splice(0,parts.length-1);for(var i=0;i<parts.length;i++)if(parts[i]!="")path+="/"+parts[i];path+="/";uri+=path+href}return uri}function displayUI(){findAndParseHCards();findAndParseHCalendars();findAndParseHAudio();buildMap();oomph("body").append(iwmf);oomph(iwmf).append(gleam);oomph(iwmf).append(mainNavContainer);oomph(iwmf).append(mainContainer);oomph(iwmf).append(shadow);oomph(mainNavContainer).append(mix_info);oomph(mainNavContainer).append(closeButton);if(hCardCollection.length>0){oomph(mainContainer).append(mainhCardContainer);oomph(mainhCardContainer).append(contactsHead);oomph(mainhCardContainer).append(vCards)}if(hCalendarCollection.length>0){oomph(mainContainer).append(mainEventContainer);oomph(mainEventContainer).append(eventsHead);oomph(mainEventContainer).append(vEvents)}if(hAudioCollection.length>0){oomph(mainContainer).append(mainhAudioContainer);oomph(mainhAudioContainer).append(hAudioHead);oomph(mainhAudioContainer).append(hAudios)}if(geoinfos.length>0||addresses.length>0)oomph(mainContainer).append(mapFrame);oomph(mainContainer).append(clear);var colColumnCount=0;if(hCardCollection.length>0)colColumnCount=colColumnCount+1;if(hCalendarCollection.length>0)colColumnCount=colColumnCount+1;if(hAudioCollection.length>0)colColumnCount=colColumnCount+1;if(colColumnCount==1&&geoinfos.length==0&&addresses.length==0){iwmf.css({width:"460px"});width="460px";oomph(".iwmf_box").css({width:"400px","border-right":"0px"});oomph(".iwmf_mainNavContainer").css({width:"400px","border-right":"0px"});oomph(".iwmf_hmediaphoto").css({"max-width":"400px"})}if(colColumnCount==1&&(geoinfos.length>0||addresses.length>0)){iwmf.css({width:"580px"});width="580px"}if(colColumnCount==2&&geoinfos.length==0&&addresses.length==0){iwmf.css({width:"580px"});width="580px"}if(colColumnCount==2&&(geoinfos.length>0||addresses.length>0)){iwmf.css({width:"830px"});width="830px"}if(colColumnCount==3&&geoinfos.length==0&&addresses.length==0){iwmf.css({width:"830px"});width="830px"}if(colColumnCount==3&&(geoinfos.length>0||addresses.length>0)){iwmf.css({width:"1150px"});width="1150px"}}function findAndParseHAudio(){var hAudioCount=0;oomph(hAudioCollection).each(function(){var hAudio=oomph(this),enclosure=hAudio.find("a[rel=enclosure]").attr("href"),photo=hAudio.find(".photo").attr("src");if(photo==null)photo=hAudio.find(".photo>img").attr("src");var contributor=hAudio.find(".contributor").text(),title=hAudio.find(".fn").text();if(hAudioCount==0)var hAudioContainer=oomph('<li class="iwmf_hAudioContainer"></li>').show();else var hAudioContainer=oomph('<li class="iwmf_hAudioContainer"></li>').css({display:"NONE"});var hAudioUI=oomph('<div class="iwmf_hAudio" ></div>');oomph(hAudioUI).append('<div class="iwmf_fn">'+title+"</div>");oomph(hAudioUI).append("<div>"+contributor+"</div>");if(enclosure){var height=150,type=enclosure.substr(enclosure.length-3,3).toLowerCase();if(type=="mp3"||type=="wma")height=28;oomph(hAudioUI).append('<object data="data:application/x-silverlight," type="application/x-silverlight-2" width="200" height="'+height+'"><param name="source" value="http://visitmix.com/labs/oomph/2.0/Inplay.xap" /><param name="enableHtmlAccess" value="true"   /> <param name="background" value="#00000000" /><param name="windowless" value="true" /><param name="initParams" value="id=Video,source='+qualifyHREF(enclosure)+',background=50AAAAAA,volume=0.5,play=false" /><a href="http://go.microsoft.com/fwlink/?LinkID=124807"><img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" /></a></object>  ')}if(photo)oomph(hAudioUI).append('<img class="iwmf_hmediaphoto" src="'+photo+'"/>');oomph(hAudioContainer).append(hAudioUI);oomph(hAudios).append(hAudioContainer);hAudioCount++})}function findAndParseHCards(){var hCardCount=0;if(oomph(hCardCollection).length==0)return;oomph(hCardCollection).each(function(){var hCard=oomph(this),fn=hCard.find(".fn").text(),n=hCard.find(".n").text(),additionalname=hCard.find(".additional-name").text(),familyname=hCard.find(".family-name").text(),givenname=hCard.find(".given-name").text(),nameprefix=hCard.find(".honorific-prefix").text(),namesuffix=hCard.find(".honorific-suffix").text(),org=hCard.find(".org").text(),organization=hCard.find(".organization-name").text(),organizationunit=hCard.find(".organization-unit").text(),nickname=hCard.find(".nickname").text(),role=hCard.find(".role").text(),title=hCard.find(".title").text(),email=hCard.find(".email").text();email.replace("mailto:","");var note=hCard.find(".note").text(),streetaddress=hCard.find(".street-address:first").text(),extendedaddress=hCard.find(".extended-address:first").text(),postofficebox=hCard.find(".post-office-box:first").text(),locality=hCard.find(".locality:first").text(),region=hCard.find(".region:first").text(),postalcode=hCard.find(".postal-code:first").text(),countryname=hCard.find(".country-name:first").text(),photo=hCard.find(".photo").attr("src");if(photo==null)photo=hCard.find(".photo>img").attr("src");var workphone=phoneHelper("work",hCard),workfax=phoneHelper("fax",hCard),homephone=phoneHelper("home",hCard),cellphone=phoneHelper("cell",hCard),pager=phoneHelper("pager",hCard),phone=null;if(workphone==null&&workfax==null&&homephone==null&&cellphone==null&&pager==null)phone=hCard.find(".tel").text();var url=hCard.find(".url").attr("href");if(url==null)url=hCard.find(".url>a").attr("href");if(url)url=qualifyHREF(url);var latitude,longitude;if(hCard.find(".geo").length>0){latitude=hCard.find(".latitude").attr("title");longitude=hCard.find(".longitude").attr("title");if(!latitude){latitude=hCard.find(".latitude").text();longitude=hCard.find(".longitude").text()}}var bday=dateHelper("bday",hCard),category=hCard.find(".category:first").text(),rev=hCard.find(".rev").text(),uid=hCard.find(".uid").text(),mailer=hCard.find(".mailer").text();if(hCardCount==0)var vCardContainer=oomph('<li class="iwmf_hCardContainer"></li>').show();else var vCardContainer=oomph('<li class="iwmf_hCardContainer"></li>').css({display:"NONE"});var vcard=oomph('<div class="iwmf_vCard" ></div>');if(!n)oomph(vcard).append('<div class="iwmf_fn">'+fn+"</div>");else oomph(vcard).append('<div class="iwmf_fn">'+n+"</div>");if(fn!=organization)oomph(vcard).append('<div class="iwmf_org">'+org+" "+organization+" "+organizationunit+"</div>");oomph(vcard).append('<div class="iwmf_email"><a href="mailto:'+email+'">'+email+"</a></div>");oomph(vcard).append('<div class="iwmf_title">'+role+" "+title+"</div>");if(url){var urldesc=url;if(url.length>40)urldesc=urldesc.substr(0,36)+"...";oomph(vcard).append('<div class="iwmf_url"><a class="iwmf_url" target="_blank" href='+url+">"+urldesc+"</a></div>")}oomph(vcard).append('<div class="iwmf_streetaddress">'+streetaddress+" "+extendedaddress+" "+postofficebox+"</div>");oomph(vcard).append('<span class="iwmf_locality">'+locality+"</span> ");oomph(vcard).append('<span class="iwmf_region">'+region+"</span> ");oomph(vcard).append('<span class="iwmf_postal-code">'+postalcode+"</span> ");oomph(vcard).append('<span class="iwmf_country-name">'+countryname+"</span>");if(workphone)oomph(vcard).append('<div class="iwmf_phone">Work: '+workphone+" </div>");if(workfax)oomph(vcard).append('<div class="iwmf_phone">Fax: '+workfax+" </div>");if(homephone)oomph(vcard).append('<div class="iwmf_phone">Home: '+homephone+" </div>");if(cellphone)oomph(vcard).append('<div class="iwmf_phone">Cell: '+cellphone+" </div>");if(pager)oomph(vcard).append('<div class="iwmf_phone">Pager: '+pager+" </div>");if(phone)oomph(vcard).append('<div class="iwmf_phone">Phone: '+phone+" </div>");var netBarHCard=oomph('<ul class="iwmf_netBar" ></ul>'),iconOutlook=oomph('<li  title="Export to Outlook" class="iwmf_iconOutlook"><a href="'+buildvCardURL(encodeURIComponent(fn),encodeURIComponent(additionalname),encodeURIComponent(familyname),encodeURIComponent(givenname),encodeURIComponent(nameprefix),encodeURIComponent(namesuffix),encodeURIComponent(nickname),encodeURIComponent(organization+" "+organizationunit),encodeURIComponent(role),encodeURIComponent(title),encodeURIComponent(email),encodeURIComponent(note),encodeURIComponent(streetaddress+" "+extendedaddress+" "+postofficebox),encodeURIComponent(region),encodeURIComponent(locality),encodeURIComponent(postalcode),encodeURIComponent(countryname),encodeURIComponent(photo),encodeURIComponent(workphone),encodeURIComponent(workfax),encodeURIComponent(homephone),encodeURIComponent(cellphone),encodeURIComponent(pager),encodeURIComponent(url),encodeURIComponent(bday),encodeURIComponent(latitude),encodeURIComponent(longitude),encodeURIComponent(category),encodeURIComponent(rev),encodeURIComponent(uid),encodeURIComponent(mailer))+'"><img src="http://visitmix.com/university/stories3/oomph/images/outlook.png"/></a></li>'),iconYahoo=oomph('<li class="iwmf_iconYahoo" title="Export to Yahoo" ><a target="_blank" href="'+buildYahooContactURL(encodeURIComponent(fn),encodeURIComponent(organization),encodeURIComponent(email),encodeURIComponent(url))+'"><img src="http://visitmix.com/university/stories3/oomph/images/yahoo.png"/></a></li>'),iconApple=oomph('<li class="iwmf_iconApple"><a  title="Export to Apple" href="'+buildvCardURL(encodeURIComponent(fn),encodeURIComponent(additionalname),encodeURIComponent(familyname),encodeURIComponent(givenname),encodeURIComponent(nameprefix),encodeURIComponent(namesuffix),encodeURIComponent(nickname),encodeURIComponent(organization+" "+organizationunit),encodeURIComponent(role),encodeURIComponent(title),encodeURIComponent(email),encodeURIComponent(note),encodeURIComponent(streetaddress+" "+extendedaddress+" "+postofficebox),encodeURIComponent(region),encodeURIComponent(locality),encodeURIComponent(postalcode),encodeURIComponent(countryname),encodeURIComponent(photo),encodeURIComponent(workphone),encodeURIComponent(workfax),encodeURIComponent(homephone),encodeURIComponent(cellphone),encodeURIComponent(pager),encodeURIComponent(url),encodeURIComponent(bday),encodeURIComponent(latitude),encodeURIComponent(longitude),encodeURIComponent(category),encodeURIComponent(rev),encodeURIComponent(uid),encodeURIComponent(mailer))+'"><img src="http://visitmix.com/university/stories3/oomph/images/apple.png"/></a></li>');oomph(netBarHCard).append(iconYahoo);oomph(netBarHCard).append(iconOutlook);oomph(netBarHCard).append(iconApple);if(photo)oomph(vCardContainer).append('<div class="iwmf_photo"><img width="50" height="50" src="'+photo+'"/></div>');oomph(vCardContainer).append(vcard);oomph(vCardContainer).append(netBarHCard);oomph(vCards).append(vCardContainer);if(latitude&&longitude)geoinfos.push({lat:latitude,lon:longitude,name:fn});else if(streetaddress||locality||region||countryname)addresses.push({location:streetaddress+", "+locality+", "+region+", "+postalcode+", "+countryname,name:fn});hCardCount=hCardCount+1})}function phoneHelper(type,hCard){var selector=".tel>.type:contains("+type+")",div=hCard.find(selector).parent();if(div.length==0)div=hCard.find(".tel .type .value-title[title="+type+"]").parent().parent();var val="",subDiv=div.find(".value-title");if(subDiv.length>0)if(subDiv.length>1)return subDiv[1].attr("title");else if(!subDiv.parent().is(".type"))return subDiv.attr("title");var newSubDiv=div.find(".value");if(newSubDiv.length==1){val=newSubDiv.text();return val}else if(newSubDiv.length>1){for(var i=0;i<newSubDiv.length;i++)val=val+newSubDiv[i].innerText;return val}else{selector=".tel>.type="+type;return null}}function dateHelper(type,hCalendar){var result=hCalendar.find("."+type+">.value");if(result)if(result.length>1){var concatResult="";for(var i=0;i<result.length;i++){if(i==1)concatResult=concatResult+"T";if(result[i].getAttribute("title"))concatResult=concatResult+result[i].getAttribute("title");else concatResult=concatResult+result[i].innerText}return concatResult}else if(result.length==1)return result.attr("title");result=hCalendar.find("."+type+">.value-title").attr("title");if(!result)result=hCalendar.find("."+type).attr("title");if(!result)result=hCalendar.find("."+type).text();return result}function findAndParseHCalendars(){var hCalendarCount=0;if(oomph(hCalendarCollection).length==0)return;oomph(hCalendarCollection).each(function(){var hCalendar=oomph(this),summary=hCalendar.find(".summary").text();if(summary.length<1)summary=hCalendar.find(".summary").attr("title");var description=hCalendar.find(".description:first").text();if(description.length>150){description=description.substr(0,147);description=description+"..."}var location=hCalendar.find(".location").text(),url=hCalendar.find(".url").attr("href");if(url==null)hCalendar.find(".url>a").attr("href");if(url)url=qualifyHREF(url);var latitude,longitude;if(hCalendar.find(".geo").length>0){latitude=hCalendar.find(".latitude").attr("title");longitude=hCalendar.find(".longitude").attr("title");if(!latitude){latitude=hCalendar.find(".latitude").text();longitude=hCalendar.find(".longitude").text()}}var dtstart=dateHelper("dtstart",hCalendar),dtend=dateHelper("dtend",hCalendar);if(dtstart)if(dtstart.length==0)dtstart=null;if(dtend)if(dtend.length==0)dtend=null;if(dtstart)var dtstart_iso=normalizeISO8601(dtstart,true),dtstart_iso_nopunc=normalizeISO8601(dtstart,false),dtstart_date=dateFromISO8601(dtstart_iso);if(dtend)var dtend_iso=normalizeISO8601(dtend,true),dtend_iso_nopunc=normalizeISO8601(dtend,false),dtend_date=dateFromISO8601(dtend_iso);if(hCalendarCount==0)var vEventContainer=oomph('<li class="iwmf_vEventContainer"></li>').show();else var vEventContainer=oomph('<li class="iwmf_vEventContainer"></li>').css({display:"NONE"});var number=oomph('<div class="iwmf_number" ></div>'),vevent=oomph('<div class="iwmf_vEvent" ></div>');oomph(vevent).append('<div class="iwmf_summary">'+summary+"</div>");if(dtstart)oomph(vevent).append('<abbr class="iwmf_dtstart">'+dtstart_date.toLocaleString()+"</abbr>");if(dtend)oomph(vevent).append('<abbr class="iwmf_dtend"><br/>to &nbsp;'+dtend_date.toLocaleString()+"</abbr>");oomph(vevent).append('<div class="iwmf_location">'+location+"</div>");if(url){var urldesc=url;if(url.length>40)urldesc=urldesc.substr(0,36)+"...";oomph(vevent).append('<div class="iwmf_url"><a class="iwmf_url"  target="_blank" href='+url+">"+urldesc+"</a></div>")}oomph(vevent).append('<div class="iwmf_description">'+description+"</div>");var netbar=oomph('<ul class="iwmf_netBar"></ul>'),iconOutlook=oomph('<li class="iwmf_iconOutlook"><a title="Export to Outlook" href="'+buildiCalendarURL(dtstart_iso_nopunc,dtend_iso_nopunc,encodeURIComponent(location),encodeURIComponent(summary),encodeURIComponent(description))+'">o</a></li>'),iconLive=oomph('<li class="iwmf_iconLive"><a target="_blank"  title="Export to Windows Live" href="'+buildWindowsLiveCalendarURL(encodeURIComponent(summary),dtstart_iso,dtend_iso,encodeURIComponent(location),encodeURIComponent(description))+'"></a></li>'),iconGoogle=oomph('<li class="iwmf_iconGoogle"><a target="_blank" title="Export to Google"  href="'+buildGoogleCalendarURL(encodeURIComponent(summary),dtstart_iso_nopunc,dtend_iso_nopunc,encodeURIComponent(location),encodeURIComponent(description))+'"></a></li>'),iconYahoo=oomph('<li class="iwmf_iconYahoo"><a target="_blank"  title="Export to Yahoo" href="'+buildYahooCalendarURL(encodeURIComponent(summary),dtstart_iso_nopunc,dtend_iso_nopunc,encodeURIComponent(location),encodeURIComponent(description),encodeURIComponent(url))+'"></a></li>'),iconApple=oomph('<li class="iwmf_iconApple"><a  title="Export to Apple" href="'+buildiCalendarURL(dtstart_iso_nopunc,dtend_iso_nopunc,encodeURIComponent(location),encodeURIComponent(summary),encodeURIComponent(description))+'"></a></li>'),icon30b=oomph('<li class="iwmf_icon30b"><a target="_blank"  title="Export to 30 Boxes" href="'+build30BoxesCalendarURL(encodeURIComponent(summary),dtstart,dtend,encodeURIComponent(location),encodeURIComponent(description),encodeURIComponent(url))+'"></a></li>');oomph(netbar).append(iconOutlook);oomph(netbar).append(iconLive);oomph(netbar).append(iconGoogle);oomph(netbar).append(iconYahoo);oomph(netbar).append(iconApple);oomph(netbar).append(icon30b);oomph(vEventContainer).append(number);oomph(vEventContainer).append(vevent);oomph(vEventContainer).append(netbar);oomph(vEvents).append(vEventContainer);if(latitude&&longitude)geoinfos.push({lat:latitude,lon:longitude,name:summary});else if(location)addresses.push({location:location,name:summary});hCalendarCount=hCalendarCount+1})}})}function oomph_checkJQuery(){if(typeof jQuery!="undefined"){if(jQuery.ready)startoomph()}else setTimeout(oomph_checkJQuery,1e3)}oomph_checkJQuery()
//misc functions
function watermarkEnter(obj,wm){if(obj.value==wm){obj.value='';obj.style.color='';obj.select();}}
function watermarkLeave(obj,wm){if(obj.value==''){obj.value=wm;}}
function CanHaveClass__CssFriendlyAdapters(element)
{return((element!=null)&&(element.className!=null));}
function HasAnyClass__CssFriendlyAdapters(element)
{return(CanHaveClass__CssFriendlyAdapters(element)&&(element.className.length>0));}
function HasClass__CssFriendlyAdapters(element,specificClass)
{return(HasAnyClass__CssFriendlyAdapters(element)&&(element.className.indexOf(specificClass)>-1));}
function AddClass__CssFriendlyAdapters(element,classToAdd)
{if(HasAnyClass__CssFriendlyAdapters(element))
{if(!HasClass__CssFriendlyAdapters(element,classToAdd))
{element.className=element.className+" "+classToAdd;}}
else if(CanHaveClass__CssFriendlyAdapters(element))
{element.className=classToAdd;}}
function AddClassUpward__CssFriendlyAdapters(startElement,stopParentClass,classToAdd)
{var elementOrParent=startElement;while((elementOrParent!=null)&&(!HasClass__CssFriendlyAdapters(elementOrParent,topmostClass)))
{AddClass__CssFriendlyAdapters(elementOrParent,classToAdd);elementOrParent=elementOrParent.parentNode;}}
function SwapClass__CssFriendlyAdapters(element,oldClass,newClass)
{if(HasAnyClass__CssFriendlyAdapters(element))
{element.className=element.className.replace(new RegExp(oldClass,"gi"),newClass);}}
function SwapOrAddClass__CssFriendlyAdapters(element,oldClass,newClass)
{if(HasClass__CssFriendlyAdapters(element,oldClass))
{SwapClass__CssFriendlyAdapters(element,oldClass,newClass);}
else
{AddClass__CssFriendlyAdapters(element,newClass);}}
function RemoveClass__CssFriendlyAdapters(element,classToRemove)
{SwapClass__CssFriendlyAdapters(element,classToRemove,"");}
function RemoveClassUpward__CssFriendlyAdapters(startElement,stopParentClass,classToRemove)
{var elementOrParent=startElement;while((elementOrParent!=null)&&(!HasClass__CssFriendlyAdapters(elementOrParent,topmostClass)))
{RemoveClass__CssFriendlyAdapters(elementOrParent,classToRemove);elementOrParent=elementOrParent.parentNode;}}
function IsEnterKey()
{var retVal=false;var keycode=0;if((typeof(window.event)!="undefined")&&(window.event!=null))
{keycode=window.event.keyCode;}
else if((typeof(e)!="undefined")&&(e!=null))
{keycode=e.which;}
if(keycode==13)
{retVal=true;}
return retVal;}
var hoverClass="AspNet-Menu-Hover";var topmostClass="AspNet-Menu";var userAgent=navigator.userAgent;var versionOffset=userAgent.indexOf("MSIE");var isIE=(versionOffset>=0);var isPreIE7=false;var fullVersionIE="";var majorVersionIE="";if(isIE)
{fullVersionIE=parseFloat(userAgent.substring(versionOffset+5,userAgent.length));majorVersionIE=parseInt(''+fullVersionIE);isPreIE7=majorVersionIE<7;}
function Hover__AspNetMenu(element)
{AddClass__CssFriendlyAdapters(element,hoverClass);if(isPreIE7)
{var child=element.firstChild;while(child)
{if(child.tagName=="UL")
{var grandchild=child.firstChild;while(grandchild)
{if(grandchild.tagName=="LI")
{if((typeof(grandchild.iFrameFormElementMask)!="undefined")&&(grandchild.iFrameFormElementMask!=null))
{grandchild.iFrameFormElementMask.style.display="block";var w=grandchild.offsetWidth;if((grandchild.offsetWidth==0)&&(typeof(element.iFrameFormElementMask)!="undefined")&&(element.iFrameFormElementMask!=null)&&(element.iFrameFormElementMask.style.width.length>0))
{w=element.iFrameFormElementMask.style.width;}
grandchild.iFrameFormElementMask.style.width=w;var h=grandchild.offsetHeight+5;if((grandchild.offsetHeight==0)&&(typeof(element.iFrameFormElementMask)!="undefined")&&(element.iFrameFormElementMask!=null)&&(element.iFrameFormElementMask.style.height.length>0))
{h=element.iFrameFormElementMask.style.height;}
grandchild.iFrameFormElementMask.style.height=h;}}
grandchild=grandchild.nextSibling;}}
child=child.nextSibling;}}}
function Unhover__AspNetMenu(element)
{RemoveClass__CssFriendlyAdapters(element,hoverClass);if(isPreIE7)
{var child=element.firstChild;while(child)
{if(child.tagName=="UL")
{var grandchild=child.firstChild;while(grandchild)
{if(grandchild.tagName=="LI")
{if((typeof(grandchild.iFrameFormElementMask)!="undefined")&&(grandchild.iFrameFormElementMask!=null))
{grandchild.iFrameFormElementMask.style.display="none";}}
grandchild=grandchild.nextSibling;}}
child=child.nextSibling;}}}
function SetHover__AspNetMenu()
{var menus=document.getElementsByTagName("ul");for(var i=0;i<menus.length;i++)
{if(menus[i].className==topmostClass)
{var items=menus[i].getElementsByTagName("li");for(var k=0;k<items.length;k++)
{items[k].onmouseover=function(){Hover__AspNetMenu(this);}
items[k].onmouseout=function(){Unhover__AspNetMenu(this);}
if(isPreIE7&&((typeof(items[k].iFrameFormElementMask)=="undefined")||(items[k].iFrameFormElementMask==null)))
{var iFrameFormElementMask=document.createElement("IFRAME");iFrameFormElementMask.scrolling="no";iFrameFormElementMask.src="javascript:false;";iFrameFormElementMask.frameBorder=0;iFrameFormElementMask.style.display="none";iFrameFormElementMask.style.position="absolute";iFrameFormElementMask.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";iFrameFormElementMask.style.zIndex=-1;items[k].insertBefore(iFrameFormElementMask,items[k].firstChild);items[k].iFrameFormElementMask=iFrameFormElementMask;}}}}}
if(isPreIE7)
{window.onload=SetHover__AspNetMenu;}
var collapseClass="AspNet-TreeView-Collapse";var expandClass="AspNet-TreeView-Expand";var showClass="AspNet-TreeView-Show";var hideClass="AspNet-TreeView-Hide";function IsExpanded__AspNetTreeView(element)
{return(HasClass__CssFriendlyAdapters(element,collapseClass));}
function TogglePlusMinus__AspNetTreeView(element,showPlus)
{if(HasAnyClass__CssFriendlyAdapters(element))
{var showPlusLocal=IsExpanded__AspNetTreeView(element);if((typeof(showPlus)!="undefined")&&(showPlus!=null))
{showPlusLocal=showPlus;}
var oldClass=showPlusLocal?collapseClass:expandClass;var newClass=showPlusLocal?expandClass:collapseClass;SwapClass__CssFriendlyAdapters(element,oldClass,newClass);}}
function ToggleChildrenDisplay__AspNetTreeView(element,collapse)
{if((element!=null)&&(element.parentNode!=null)&&(element.parentNode.getElementsByTagName!=null))
{var childrenToHide=element.parentNode.getElementsByTagName("ul");var oldClass=collapse?showClass:hideClass;var newClass=collapse?hideClass:showClass;for(var i=0;i<childrenToHide.length;i++)
{if((childrenToHide[i].parentNode!=null)&&(childrenToHide[i].parentNode==element.parentNode))
{SwapOrAddClass__CssFriendlyAdapters(childrenToHide[i],oldClass,newClass);}}}}
function ExpandCollapse__AspNetTreeView(sourceElement)
{if(HasAnyClass__CssFriendlyAdapters(sourceElement))
{var expanded=IsExpanded__AspNetTreeView(sourceElement);TogglePlusMinus__AspNetTreeView(sourceElement,expanded);ToggleChildrenDisplay__AspNetTreeView(sourceElement,expanded);}}
function GetViewState__AspNetTreeView(id)
{var retStr="";if((typeof(id)!="undefined")&&(id!=null)&&(document.getElementById(id)!=null))
{var topUL=document.getElementById(id);retStr=ComposeViewState__AspNetTreeView(topUL,"");}
return retStr;}
function ComposeViewState__AspNetTreeView(element,state)
{var child=element.firstChild;var bConsiderChildren=true;if((element.tagName=="LI")&&(child!=null))
{var expandCollapseSPAN=null;var currentChild=child;while(currentChild!=null)
{if((currentChild.tagName=="SPAN")&&(currentChild.className!=null)&&((currentChild.className.indexOf(collapseClass)>-1)||(currentChild.className.indexOf(expandClass)>-1)))
{expandCollapseSPAN=currentChild;break;}
currentChild=currentChild.nextSibling;}
if(expandCollapseSPAN!=null)
{if(expandCollapseSPAN.className.indexOf(collapseClass)>-1)
{state+="e";}
else if(expandCollapseSPAN.className.indexOf(expandClass)>-1)
{bConsiderChildren=false;state+="n";}}}
if(bConsiderChildren&&(child!=null))
{state=ComposeViewState__AspNetTreeView(child,state);}
if(element.nextSibling!=null)
{state=ComposeViewState__AspNetTreeView(element.nextSibling,state);}
return state;}
function trackUserLocation(location){if(location==null){return;}}
function Get_Cookie(check_name){var a_all_cookies=document.cookie.split(';');var a_temp_cookie='';var cookie_name='';var cookie_value='';var b_cookie_found=false;var i='';for(i=0;i<a_all_cookies.length;i++)
{a_temp_cookie=a_all_cookies[i].split('=');cookie_name=a_temp_cookie[0].replace(/^\s+|\s+$/g,'');if(cookie_name==check_name)
{b_cookie_found=true;if(a_temp_cookie.length>1)
{cookie_value=unescape(a_temp_cookie[1].replace(/^\s+|\s+$/g,''));}
return cookie_value;break;}
a_temp_cookie=null;cookie_name='';}
if(!b_cookie_found)
{return null;}}
function Set_Cookie(name,value,expires,path,domain,secure){var today=new Date();today.setTime(today.getTime());if(expires)
{expires=expires*1000*60*60*24;}
var expires_date=new Date(today.getTime()+(expires));document.cookie=name+"="+escape(value)+
((expires)?";expires="+expires_date.toGMTString():"")+
((path)?";path="+path:"")+
((domain)?";domain="+domain:"")+
((secure)?";secure":"");}
function Delete_Cookie(name,path,domain){if(Get_Cookie(name))document.cookie=name+"="+
((path)?";path="+path:"")+
((domain)?";domain="+domain:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT";}
/*
	jQuery Scroller plugin
	Copyright (c) 2010 Max Vergelli

	For support and tutorials visit
	http://maxvergelli.wordpress.com/

	License: GNU Lesser General Public License (LGPL) 
	at http://opensource.org/licenses/lgpl-2.1.php

	This plugin is free software;  you can redistribute it  and/or  modify  it 
	under the terms of the GNU Lesser General Public License as  published  by 
	the Free Software Foundation;  either version 2.1 of the License,  or  (at 
	your option) any later version.
	This software is distributed in the hope  that  it  will  be  useful,  but 
	WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
	or FITNESS FOR A PARTICULAR PURPOSE.  See the  GNU Lesser  General  Public 
	License for more details.
	You should have received a copy of  the  GNU Lesser General Public License 
	along with this library;  if not,  write to the  Free Software Foundation, 
	Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

	THIS COMMENT AND COPYRIGHT NOTICE MUST BE RETAINED IN THE CODE AS IS FOR LEGAL USE
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(6($){$.N.1k=6(){5.8().9();5.8().r(\'7\',[\'R\'])};$.N.1l=6(){5.8().9()};$.N.1m=6(a){5.8().9();5.8().V(\'7\');a=$.W(5.X(),a);5.Y(a)};$.N.1n=6(){5.8().9();5.8().w({s:0,t:0});5.8().V(\'7\')};$.N.Y=6(h){4 x={y:5};h=$.W({S:Z,10:\'11\',12:\'B\',P:\'1o\',13:\'T\',14:\'1p\',15:\'O\',16:\'O\',U:\'1q\'},h);4 i=z h.S==\'17\'?3(h.S):Z;4 j=h.10.E();4 k=h.12.E();4 l=z h.P==\'17\'&&h.P>0?3(h.P):-1;4 m=h.13.E();4 n=h.14.E();4 o=h.15.E();4 p=h.16.E();4 q=h.U.E();x.y.X(h);18();6 18(){x.y.w(\'U\',q);2(j==\'11\'){2(k!=\'B\'&&k!=\'t\'){k=\'B\'};19()}u{2(k!=\'F\'&&k!=\'s\'){k=\'F\'};1a()};2(n==\'O\'){x.y.1b(6(){$(5).8().9();$(5).8().r(\'7\',[\'R\'])})}u{x.y.1b(6(){$(5).8().9()})};2(o==\'O\'){x.y.1c(6(){$(5).8().9();$(5).8().r(\'7\',[\'R\'])})}u{x.y.1c(6(){$(5).8().9()})};2(p!=\'O\'){x.y.8().9()}};6 1a(){x.y.8().1d(\'7\',6(a,c){4 b=$(5);4 d=3(b.G().H());4 e=3(b.H());4 f=3(b.A().s);4 v=i>0&&i<C?(C-i)*C:1e;4 g=3(v*e/C)+v;2(m==\'Q\'){I(k){J\'F\':2(z c==\'D\'){b.w({s:d-e})};d=f-(e+d);K;L:2(z c==\'D\'){b.w({s:0})};d+=f+e}}u{I(k){J\'F\':2(z c==\'D\'){b.w({s:d});d=-e}u{d=f-(e+d)};K;L:2(z c==\'D\'){b.w({s:-e})}u{d+=f+e}}};2(l<0||l>0){2(l>0){l--};b.1f({s:d},{1g:g,1h:\'T\',1i:6(){b.r(\'7\')},1j:6(){I(m){J\'Q\':2(k==\'F\'){2(3(b.A().s)<=0){k=\'s\';b.9();b.r(\'7\')}}u{2(3(b.A().s)+3(b.H())>=3(b.G().H())){k=\'F\';b.9();b.r(\'7\')}};K;L:2(k==\'F\'){2(3(b.A().s)<-3(b.H())){b.9();b.r(\'7\')}}u{2(3(b.A().s)>3(b.G().H())){b.9();b.r(\'7\')}}}}})}}).r(\'7\')};6 19(){x.y.8().1d(\'7\',6(a,c){4 b=$(5);4 d=3(b.G().M());4 e=3(b.M());4 f=3(b.A().t);4 v=i>0&&i<C?(C-i)*C:1e;4 g=3(v*e/C)+v;2(m==\'Q\'){I(k){J\'B\':2(z c==\'D\'){b.w({t:d-e})};d=f-(e+d);K;L:2(z c==\'D\'){b.w({t:0})};d+=f+e}}u{I(k){J\'B\':2(z c==\'D\'){b.w({t:d});d=-e}u{d=f-(e+d)};K;L:2(z c==\'D\'){b.w({t:-e})}u{d+=f+e}}};2(l<0||l>0){2(l>0){l--};b.1f({t:d},{1g:g,1h:\'T\',1i:6(){b.r(\'7\')},1j:6(){I(m){J\'Q\':2(k==\'B\'){2(3(b.A().t)<=0){k=\'t\';b.9();b.r(\'7\')}}u{2(3(b.A().t)+3(b.M())>=3(b.G().M())){k=\'B\';b.9();b.r(\'7\')}};K;L:2(k==\'B\'){2(3(b.A().t)<-3(b.M())){b.9();b.r(\'7\')}}u{2(3(b.A().t)>3(b.G().M())){b.9();b.r(\'7\')}}}}})}}).r(\'7\')};1r 5}})(1s);',62,91,'||if|parseInt|var|this|function|marquee|children|stop||||||||||||||||||trigger|top|left|else||css|_|me|typeof|position|right|100|undefined|toLowerCase|bottom|parent|height|switch|case|break|default|width|fn|play|loop|pingpong|resume|velocity|linear|cursor|unbind|extend|data|SetScroller|50|direction|horizontal|startfrom|movetype|onmouseover|onmouseout|onstartup|number|main|scrollHorizontal|scrollVertical|mouseover|mouseout|bind|5000|animate|duration|easing|complete|step|PlayScroller|PauseScroller|ResetScroller|RemoveScroller|infinite|pause|pointer|return|jQuery'.split('|'),0,{}))

