//  Prototip 2.1.0.1 - 19-05-2009
//  Copyright (c) 2008-2009 Nick Stakenburg (http://www.nickstakenburg.com)
//
//  Licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License
//  http://creativecommons.org/licenses/by-nc-nd/3.0/

//  More information on this project:
//  http://www.nickstakenburg.com/projects/prototip2/

var Prototip = {
  Version: '2.1.0.1'
};

var Tips = {
  options: {
    images: '/www/images/prototip/', // image path, can be relative to this file or an absolute url
    zIndex: 6000,                    // raise if required
    ajax: false
  }
};

Prototip.Styles = {
  // The default style every other style will inherit from.
  // Used when no style is set through the options on a tooltip.
  'default': {
    border: 6,
    borderColor: '#c7c7c7',
    className: 'default',
    closeButton: false,
    hideAfter: false,
    hideOn: 'mouseleave',
    hook: false,
	  images: 'styles/creamy/',    // Example: different images. An absolute url or relative to the images url defined above.
    radius: 6,
	  showOn: 'mousemove',
    stem: {
      //position: 'topLeft',       // Example: optional default stem position, this will also enable the stem
      height: 12,
      width: 15
    }
  },

  'protoblue': {
    className: 'protoblue',
    border: 6,
    borderColor: '#116497',
    radius: 6,
    stem: { height: 12, width: 15 }
  },

  'darkgrey': {
    className: 'darkgrey',
    border: 6,
    borderColor: '#363636',
    radius: 6,
    stem: { height: 12, width: 15 }
  },

  'creamy': {
    className: 'creamy',
    border: 6,
    borderColor: '#ebe4b4',
    radius: 6,
    stem: { height: 12, width: 15 }
  },

  'protogrey': {
    className: 'protogrey',
    border: 6,
    borderColor: '#606060',
    radius: 6,
    stem: { height: 12, width: 15 }
  },

  'filmfest': {
    className: 'filmfest',
    border: 0,
    borderColor: '#c2dc79',
    radius: 0,
	  images: 'styles/filmfest/',
    stem: { height: 25, width: 35 }
  }

};

Object.extend(Prototip,{REQUIRED_Prototype:"1.6.0.3",support:{canvas:!!document.createElement("canvas").getContext},start:function(){this.require("Prototype");  if(/^(https?:\/\/|\/)/.test(Tips.options.images)){Tips.images=Tips.options.images}else{var a=/prototip(?:-[\w\d.]+)?\.js(.*)/;  Tips.images=(($$("script[src]").find(function(b){return b.src.match(a)})||{}).src||"").replace(a,"")+Tips.options.images}if(!this.support.canvas){if(document.documentMode>=8&&!document.namespaces.ns_vml){document.namespaces.add("ns_vml","urn:schemas-microsoft-com:vml","#default#VML")}else{document.observe("dom:loaded",function(){document.createStyleSheet().addRule("ns_vml\\:*","behavior: url(#default#VML);  ")})}}Tips.initialize();  Element.observe(window,"unload",this.unload)},require:function(a){if((typeof window[a]=="undefined")||(this.convertVersionString(window[a].Version)<this.convertVersionString(this["REQUIRED_"+a]))){throw("Prototip requires "+a+" >= "+this["REQUIRED_"+a]);  }},convertVersionString:function(a){var b=a.replace(/_.*|\./g,"");  b=parseInt(b+"0".times(4-b.length));  return a.indexOf("_")>-1?b-1:b},_captureTroubleElements:$w("input textarea"),capture:function(a){if(Prototype.Browser.IE){return a}a=a.wrap(function(f,d){var b=Object.isElement(this)?this:this.element,c=d.relatedTarget;  while(c&&c!=b){try{c=c.parentNode}catch(g){c=b}}if(c==b){return}f(d)});  return a},toggleInt:function(a){return(a>0)?(-1*a):(a).abs()},unload:function(){Tips.removeAll()}});  Object.extend(Tips,{tips:[],visible:[],initialize:function(){this.zIndexTop=this.zIndex},useEvent:(function(a){return{mouseover:(a?"mouseenter":"mouseover"),mouseout:(a?"mouseleave":"mouseout"),mouseenter:(a?"mouseenter":"mouseover"),mouseleave:(a?"mouseleave":"mouseout")}})(Prototype.Browser.IE),specialEvent:{mouseover:"mouseover",mouseout:"mouseout",mouseenter:"mouseover",mouseleave:"mouseout"},_inverse:{left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",horizontal:"vertical",vertical:"horizontal"},_stemTranslation:{width:"horizontal",height:"vertical"},inverseStem:function(a){return!!arguments[1]?this._inverse[a]:a},fixIE:(function(b){var a=new RegExp("MSIE ([\\d.]+)").exec(b);  return a?(parseFloat(a[1])<7):false})(navigator.userAgent),WebKit419:(Prototype.Browser.WebKit&&!document.evaluate),add:function(a){this.tips.push(a)},remove:function(a){var b=this.tips.find(function(c){return c.element==$(a)});  if(b){b.deactivate();  if(b.tooltip){b.wrapper.remove();  if(Tips.fixIE){b.iframeShim.remove()}}this.tips=this.tips.without(b)}a.prototip=null},removeAll:function(){this.tips.each(function(a){this.remove(a.element)}.bind(this))},raise:function(c){if(c==this._highest){return}if(this.visible.length===0){this.zIndexTop=this.options.zIndex;  for(var b=0,a=this.tips.length;  b<a;  b++){this.tips[b].wrapper.setStyle({zIndex:this.options.zIndex})}}c.wrapper.setStyle({zIndex:this.zIndexTop++});  if(c.loader){c.loader.setStyle({zIndex:this.zIndexTop})}this._highest=c},addVisibile:function(a){this.removeVisible(a);  this.visible.push(a)},removeVisible:function(a){this.visible=this.visible.without(a)},hideAll:function(){Tips.visible.invoke("hide")},hook:function(b,f){b=$(b),f=$(f);  var k=Object.extend({offset:{x:0,y:0},position:false},arguments[2]||{});  var d=k.mouse||f.cumulativeOffset();  d.left+=k.offset.x;  d.top+=k.offset.y;  var c=k.mouse?[0,0]:f.cumulativeScrollOffset(),a=document.viewport.getScrollOffsets(),g=k.mouse?"mouseHook":"target";  d.left+=(-1*(c[0]-a[0]));  d.top+=(-1*(c[1]-a[1]));  if(k.mouse){var e=[0,0];  e.width=0;  e.height=0}var i={element:b.getDimensions()},j={element:Object.clone(d)};  i[g]=k.mouse?e:f.getDimensions();  j[g]=Object.clone(d);  for(var h in j){switch(k[h]){case"topRight":case"rightTop":j[h].left+=i[h].width;  break;  case"topMiddle":j[h].left+=(i[h].width/2);  break;  case"rightMiddle":j[h].left+=i[h].width;  j[h].top+=(i[h].height/2);  break;  case"bottomLeft":case"leftBottom":j[h].top+=i[h].height;  break;  case"bottomRight":case"rightBottom":j[h].left+=i[h].width;  j[h].top+=i[h].height;  break;  case"bottomMiddle":j[h].left+=(i[h].width/2);  j[h].top+=i[h].height;  break;  case"leftMiddle":j[h].top+=(i[h].height/2);  break}}d.left+=-1*(j.element.left-j[g].left);  d.top+=-1*(j.element.top-j[g].top);  if(k.position){b.setStyle({left:d.left+"px",top:d.top+"px"})}return d}});  Tips.initialize();  var Tip=Class.create({initialize:function(c,e){this.element=$(c);  if(!this.element){throw("Prototip: Element not available, cannot create a tooltip.");  return}Tips.remove(this.element);  var a=(Object.isString(e)||Object.isElement(e)),b=a?arguments[2]||[]:e;  this.content=a?e:null;  if(b.style){b=Object.extend(Object.clone(Prototip.Styles[b.style]),b)}this.options=Object.extend(Object.extend({ajax:false,border:0,borderColor:"#000000",radius:0,className:Tips.options.className,closeButton:Tips.options.closeButtons,delay:!(b.showOn&&b.showOn=="click")?0.14:false,hideAfter:false,hideOn:"mouseleave",hideOthers:false,hook:b.hook,offset:b.hook?{x:0,y:0}:{x:16,y:16},fixed:(b.hook&&!b.hook.mouse)?true:false,showOn:"mousemove",stem:false,style:"default",target:this.element,title:false,viewport:(b.hook&&!b.hook.mouse)?false:true,width:false},Prototip.Styles["default"]),b);  this.target=$(this.options.target);  this.radius=this.options.radius;  this.border=(this.radius>this.options.border)?this.radius:this.options.border;  if(this.options.images){this.images=this.options.images.include("://")?this.options.images:Tips.images+this.options.images}else{this.images=Tips.images+"styles/"+(this.options.style||"")+"/"}if(!this.images.endsWith("/")){this.images+="/"}if(Object.isString(this.options.stem)){this.options.stem={position:this.options.stem}}if(this.options && this.options.stem && this.options.stem.position){this.options.stem=Object.extend(Object.clone(Prototip.Styles[this.options.style].stem)||{},this.options.stem);  this.options.stem.position=[this.options.stem.position.match(/[a-z]+/)[0].toLowerCase(),this.options.stem.position.match(/[A-Z][a-z]+/)[0].toLowerCase()];  this.options.stem.orientation=["left","right"].member(this.options.stem.position[0])?"horizontal":"vertical";  this.stemInverse={horizontal:false,vertical:false}}if(this.options && this.options.ajax){this.options.ajax.options=Object.extend({onComplete:Prototype.emptyFunction},this.options.ajax.options||{})}this.useEvent=$w("area input").member(this.element.tagName.toLowerCase())?Tips.specialEvent:Tips.useEvent;  if(this.options.hook.mouse){var d=this.options.hook.tip.match(/[a-z]+/)[0].toLowerCase();  this.mouseHook=Tips._inverse[d]+Tips._inverse[this.options.hook.tip.match(/[A-Z][a-z]+/)[0].toLowerCase()].capitalize()}this.fixSafari2=(Tips.WebKit419&&this.radius);  this.setup();  Tips.add(this);  this.activate();  Prototip.extend(this)},setup:function(){this.wrapper=new Element("div",{className:"prototip"}).setStyle({zIndex:Tips.options.zIndex});  if(this.fixSafari2){this.wrapper.hide=function(){this.setStyle("left:-9500px;  top:-9500px;  visibility:hidden;  ");  return this};  this.wrapper.show=function(){this.setStyle("visibility:visible");  return this};  this.wrapper.visible=function(){return(this.getStyle("visibility")=="visible"&&parseFloat(this.getStyle("top").replace("px",""))>-9500)}}this.wrapper.hide();  if(Tips.fixIE){this.iframeShim=new Element("iframe",{className:"iframeShim",src:"javascript:false;  ",frameBorder:0}).setStyle({display:"none",zIndex:Tips.options.zIndex-1,opacity:0})}if(this.options && this.options.ajax){this.showDelayed=this.showDelayed.wrap(this.ajaxShow)}this.tip=new Element("div",{className:"content"});  this.title=new Element("div",{className:"title"}).hide();  if(this.options.closeButton||(this.options.hideOn.element&&this.options.hideOn.element=="closeButton")){this.closeButton=new Element("div",{className:"close"}).setPngBackground(this.images+"close.png")}},build:function(){if(document.loaded){this._build();  this._isBuilding=true;  return true}else{if(!this._isBuilding){document.observe("dom:loaded",this._build);  return false}}},_build:function(){$(document.body).insert(this.wrapper);  if(Tips.fixIE){$(document.body).insert(this.iframeShim)}if(this.options && this.options.ajax){$(document.body).insert(this.loader=new Element("div",{className:"prototipLoader"}).setPngBackground(this.images+"loader.gif").hide())}var g="wrapper";  if(this.options && this.options.stem && this.options.stem.position){this.stem=new Element("div",{className:"prototip_Stem"}).setStyle({height:this.options.stem[this.options.stem.orientation=="vertical"?"height":"width"]+"px"});  var b=this.options.stem.orientation=="horizontal";  this[g].insert(this.stemWrapper=new Element("div",{className:"prototip_StemWrapper clearfix"}).insert(this.stemBox=new Element("div",{className:"prototip_StemBox clearfix"})));  this.stem.insert(this.stemImage=new Element("div",{className:"prototip_StemImage"}).setStyle({height:this.options.stem[b?"width":"height"]+"px",width:this.options.stem[b?"height":"width"]+"px"}));  if(Tips.fixIE&&!this.options.stem.position[1].toUpperCase().include("MIDDLE")){this.stemImage.setStyle({display:"inline"})}g="stemBox"}if(this.border){var d=this.border,f;  this[g].insert(this.borderFrame=new Element("ul",{className:"borderFrame"}).insert(this.borderTop=new Element("li",{className:"borderTop borderRow"}).setStyle("height: "+d+"px").insert(new Element("div",{className:"prototip_CornerWrapper prototip_CornerWrapperTopLeft"}).insert(new Element("div",{className:"prototip_Corner"}))).insert(f=new Element("div",{className:"prototip_BetweenCorners"}).setStyle({height:d+"px"}).insert(new Element("div",{className:"prototip_Between"}).setStyle({margin:"0 "+d+"px",height:d+"px"}))).insert(new Element("div",{className:"prototip_CornerWrapper prototip_CornerWrapperTopRight"}).insert(new Element("div",{className:"prototip_Corner"})))).insert(this.borderMiddle=new Element("li",{className:"borderMiddle borderRow"}).insert(this.borderCenter=new Element("div",{className:"borderCenter"}).setStyle("padding: 0 "+d+"px"))).insert(this.borderBottom=new Element("li",{className:"borderBottom borderRow"}).setStyle("height: "+d+"px").insert(new Element("div",{className:"prototip_CornerWrapper prototip_CornerWrapperBottomLeft"}).insert(new Element("div",{className:"prototip_Corner"}))).insert(f.cloneNode(true)).insert(new Element("div",{className:"prototip_CornerWrapper prototip_CornerWrapperBottomRight"}).insert(new Element("div",{className:"prototip_Corner"})))));  g="borderCenter";  var c=this.borderFrame.select(".prototip_Corner");  $w("tl tr bl br").each(function(j,h){if(this.radius>0){Prototip.createCorner(c[h],j,{backgroundColor:this.options.borderColor,border:d,radius:this.options.radius})}else{c[h].addClassName("prototip_Fill")}c[h].setStyle({width:d+"px",height:d+"px"}).addClassName("prototip_Corner"+j.capitalize())}.bind(this));  this.borderFrame.select(".prototip_Between",".borderMiddle",".prototip_Fill").invoke("setStyle",{backgroundColor:this.options.borderColor})}this[g].insert(this.tooltip=new Element("div",{className:"tooltip "+this.options.className}).insert(this.toolbar=new Element("div",{className:"toolbar"}).insert(this.title)));  if(this.options.width){var e=this.options.width;  if(Object.isNumber(e)){e+="px"}this.tooltip.setStyle("width:"+e)}if(this.stem){var a={};  a[this.options.stem.orientation=="horizontal"?"top":"bottom"]=this.stem;  this.wrapper.insert(a);  this.positionStem()}this.tooltip.insert(this.tip);  if(!this.options.ajax){this._update({title:this.options.title,content:this.content})}},_update:function(e){var a=this.wrapper.getStyle("visibility");  this.wrapper.setStyle("height:auto;  width:auto;  visibility:hidden").show();  if(this.border){this.borderTop.setStyle("height:0");  this.borderTop.setStyle("height:0")}if(e.title){this.title.show().update(e.title);  this.toolbar.show()}else{if(!this.closeButton){this.title.hide();  this.toolbar.hide()}}if(Object.isElement(e.content)){e.content.show()}if(Object.isString(e.content)||Object.isElement(e.content)){this.tip.update(e.content)}this.tooltip.setStyle({width:this.tooltip.getWidth()+"px"});  this.wrapper.setStyle("visibility:visible").show();  this.tooltip.show();  var c=this.tooltip.getDimensions(),b={width:c.width+"px"},d=[this.wrapper];  if(Tips.fixIE){d.push(this.iframeShim)}if(this.closeButton){this.title.show().insert({top:this.closeButton});  this.toolbar.show()}if(e.title||this.closeButton){this.toolbar.setStyle("width: 100%")}b.height=null;  this.wrapper.setStyle({visibility:a});  this.tip.addClassName("clearfix");  if(e.title||this.closeButton){this.title.addClassName("clearfix")}if(this.border){this.borderTop.setStyle("height:"+this.border+"px");  this.borderTop.setStyle("height:"+this.border+"px");  b="width: "+(c.width+2*this.border)+"px";  d.push(this.borderFrame)}d.invoke("setStyle",b);  if(this.stem){this.positionStem();  if(this.options.stem.orientation=="horizontal"){this.wrapper.setStyle({width:this.wrapper.getWidth()+this.options.stem.height+"px"})}}this.wrapper.hide()},activate:function(){this.eventShow=this.showDelayed.bindAsEventListener(this);  this.eventHide=this.hide.bindAsEventListener(this);  if(this.options.fixed&&this.options.showOn=="mousemove"){this.options.showOn="mouseover"}if(this.options.showOn==this.options.hideOn){this.eventToggle=this.toggle.bindAsEventListener(this);  this.element.observe(this.options.showOn,this.eventToggle)}if(this.closeButton){this.closeButton.observe("mouseover",function(e){e.setPngBackground(this.images+"close_hover.png")}.bind(this,this.closeButton)).observe("mouseout",function(e){e.setPngBackground(this.images+"close.png")}.bind(this,this.closeButton))}var c={element:this.eventToggle?[]:[this.element],target:this.eventToggle?[]:[this.target],tip:this.eventToggle?[]:[this.wrapper],closeButton:[],none:[]},a=this.options.hideOn.element;  this.hideElement=a||(!this.options.hideOn?"none":"element");  this.hideTargets=c[this.hideElement];  if(!this.hideTargets&&a&&Object.isString(a)){this.hideTargets=this.tip.select(a)}var d={mouseenter:"mouseover",mouseleave:"mouseout"};  $w("show hide").each(function(h){var g=h.capitalize(),f=(this.options[h+"On"].event||this.options[h+"On"]);  this[h+"Action"]=f;  if(["mouseenter","mouseleave","mouseover","mouseout"].include(f)){this[h+"Action"]=(this.useEvent[f]||f);  this["event"+g]=Prototip.capture(this["event"+g])}}.bind(this));  if(!this.eventToggle){this.element.observe(this.options.showOn,this.eventShow)}if(this.hideTargets){this.hideTargets.invoke("observe",this.hideAction,this.eventHide)}if(!this.options.fixed&&this.options.showOn=="click"){this.eventPosition=this.position.bindAsEventListener(this);  this.element.observe("mousemove",this.eventPosition)}this.buttonEvent=this.hide.wrap(function(g,f){var e=f.findElement(".close");  if(e){e.blur();  f.stop();  g(f)}}).bindAsEventListener(this);  if(this.closeButton||(this.options.hideOn&&(this.options.hideOn.element==".close"))){this.wrapper.observe("click",this.buttonEvent)}if(this.options.showOn!="click"&&(this.hideElement!="element")){this.eventCheckDelay=Prototip.capture(function(){this.clearTimer("show")}).bindAsEventListener(this);  this.element.observe(this.useEvent.mouseout,this.eventCheckDelay)}var b=[this.element,this.wrapper];  this.activityEnter=Prototip.capture(function(){Tips.raise(this);  this.cancelHideAfter()}).bindAsEventListener(this);  this.activityLeave=Prototip.capture(this.hideAfter).bindAsEventListener(this);  b.invoke("observe",this.useEvent.mouseover,this.activityEnter).invoke("observe",this.useEvent.mouseout,this.activityLeave);  if(this.options.ajax&&this.options.showOn!="click"){this.ajaxHideEvent=Prototip.capture(this.ajaxHide).bindAsEventListener(this);  this.element.observe(this.useEvent.mouseout,this.ajaxHideEvent)}},deactivate:function(){if(this.options.showOn==this.options.hideOn){this.element.stopObserving(this.options.showOn,this.eventToggle)}else{this.element.stopObserving(this.options.showOn,this.eventShow);  if(this.hideTargets){this.hideTargets.invoke("stopObserving")}}if(this.eventPosition){this.element.stopObserving("mousemove",this.eventPosition)}if(this.eventCheckDelay){this.element.stopObserving("mouseout",this.eventCheckDelay)}this.wrapper.stopObserving();  this.element.stopObserving(this.useEvent.mouseover,this.activityEnter).stopObserving(this.useEvent.mouseout,this.activityLeave);  if(this.ajaxHideEvent){this.element.stopObserving(this.useEvent.mouseout,this.ajaxHideEvent)}},ajaxShow:function(c,b){if(!this.tooltip){if(!this.build()){return}}this.position(b);  if(this.ajaxContentLoading){return}else{if(this.ajaxContentLoaded){c(b);  return}}this.ajaxContentLoading=true;  var e=b.pointer(),d={fakePointer:{pointerX:e.x,pointerY:e.y}};  var a=Object.clone(this.options.ajax.options);  a.onComplete=a.onComplete.wrap(function(g,f){this._update({title:this.options.title,content:f.responseText});  this.position(d);  (function(){g(f);  var h=(this.loader&&this.loader.visible());  if(this.loader){this.clearTimer("loader");  this.loader.remove();  this.loader=null}if(h){this.show()}this.ajaxContentLoaded=true;  this.ajaxContentLoading=null}.bind(this)).delay(0.6)}.bind(this));  this.loaderTimer=Element.show.delay(this.options.delay,this.loader);  this.wrapper.hide();  this.ajaxContentLoading=true;  this.loader.show();  this.ajaxTimer=(function(){new Ajax.Request(this.options.ajax.url,a)}.bind(this)).delay(this.options.delay);  return false},ajaxHide:function(){this.clearTimer("loader")},showDelayed:function(a){if(!this.tooltip){if(!this.build()){return}}this.position(a);  if(this.wrapper.visible()){return}this.clearTimer("show");  this.showTimer=this.show.bind(this).delay(this.options.delay)},clearTimer:function(a){if(this[a+"Timer"]){clearTimeout(this[a+"Timer"])}},show:function(){if(this.wrapper.visible()){return}if(Tips.fixIE){this.iframeShim.show()}if(this.options.hideOthers){Tips.hideAll()}Tips.addVisibile(this);  this.tooltip.show();  this.wrapper.show();  if(this.stem){this.stem.show()}this.element.fire("prototip:shown")},hideAfter:function(a){if(this.options.ajax){if(this.loader&&this.options.showOn!="click"){this.loader.hide()}}if(!this.options.hideAfter){return}this.cancelHideAfter();  this.hideAfterTimer=this.hide.bind(this).delay(this.options.hideAfter)},cancelHideAfter:function(){if(this.options.hideAfter){this.clearTimer("hideAfter")}},hide:function(){this.clearTimer("show");  this.clearTimer("loader");  if(!this.wrapper.visible()){return}this.afterHide()},afterHide:function(){if(Tips.fixIE){this.iframeShim.hide()}if(this.loader){this.loader.hide()}this.wrapper.hide();  (this.borderFrame||this.tooltip).show();  Tips.removeVisible(this);  this.element.fire("prototip:hidden")},toggle:function(a){if(this.wrapper&&this.wrapper.visible()){this.hide(a)}else{this.showDelayed(a)}},positionStem:function(){var c=this.options.stem,b=arguments[0]||this.stemInverse,d=Tips.inverseStem(c.position[0],b[c.orientation]),f=Tips.inverseStem(c.position[1],b[Tips._inverse[c.orientation]]),a=this.radius||0;  this.stemImage.setPngBackground(this.images+d+f+".png");  if(c.orientation=="horizontal"){var e=(d=="left")?c.height:0;  this.stemWrapper.setStyle("left: "+e+"px;  ");  this.stemImage.setStyle({"float":d});  this.stem.setStyle({left:0,top:(f=="bottom"?"100%":f=="middle"?"50%":0),marginTop:(f=="bottom"?-1*c.width:f=="middle"?-0.5*c.width:0)+(f=="bottom"?-1*a:f=="top"?a:0)+"px"})}else{this.stemWrapper.setStyle(d=="top"?"margin: 0;   padding: "+c.height+"px 0 0 0;  ":"padding: 0;   margin: 0 0 "+c.height+"px 0;  ");  this.stem.setStyle(d=="top"?"top: 0;   bottom: auto;  ":"top: auto;   bottom: 0;  ");  this.stemImage.setStyle({margin:0,"float":f!="middle"?f:"none"});  if(f=="middle"){this.stemImage.setStyle("margin: 0 auto;  ")}else{this.stemImage.setStyle("margin-"+f+": "+a+"px;  ")}if(Tips.WebKit419){if(d=="bottom"){this.stem.setStyle({position:"relative",clear:"both",top:"auto",bottom:"auto","float":"left",width:"100%",margin:(-1*c.height)+"px 0 0 0"});  this.stem.style.display="block"}else{this.stem.setStyle({position:"absolute","float":"none",margin:0})}}}this.stemInverse=b},position:function(b){if(!this.tooltip){if(!this.build()){return}}Tips.raise(this);  if(Tips.fixIE){var a=this.wrapper.getDimensions();  if(!this.iframeShimDimensions||this.iframeShimDimensions.height!=a.height||this.iframeShimDimensions.width!=a.width){this.iframeShim.setStyle({width:a.width+"px",height:a.height+"px"})}this.iframeShimDimensions=a}if(this.options.hook){var j,h;  if(this.mouseHook){var k=document.viewport.getScrollOffsets(),c=b.fakePointer||{};  var g,i=2;  switch(this.mouseHook.toUpperCase()){case"LEFTTOP":case"TOPLEFT":g={x:0-i,y:0-i};  break;  case"TOPMIDDLE":g={x:0,y:0-i};  break;  case"TOPRIGHT":case"RIGHTTOP":g={x:i,y:0-i};  break;  case"RIGHTMIDDLE":g={x:i,y:0};  break;  case"RIGHTBOTTOM":case"BOTTOMRIGHT":g={x:i,y:i};  break;  case"BOTTOMMIDDLE":g={x:0,y:i};  break;  case"BOTTOMLEFT":case"LEFTBOTTOM":g={x:0-i,y:i};  break;  case"LEFTMIDDLE":g={x:0-i,y:0};  break}g.x+=this.options.offset.x;  g.y+=this.options.offset.y;  j=Object.extend({offset:g},{element:this.options.hook.tip,mouseHook:this.mouseHook,mouse:{top:c.pointerY||Event.pointerY(b)-k.top,left:c.pointerX||Event.pointerX(b)-k.left}});  h=Tips.hook(this.wrapper,this.target,j);  if(this.options.viewport){var n=this.getPositionWithinViewport(h),m=n.stemInverse;  h=n.position;  h.left+=m.vertical?2*Prototip.toggleInt(g.x-this.options.offset.x):0;  h.top+=m.vertical?2*Prototip.toggleInt(g.y-this.options.offset.y):0;  if(this.stem&&(this.stemInverse.horizontal!=m.horizontal||this.stemInverse.vertical!=m.vertical)){this.positionStem(m)}}h={left:h.left+"px",top:h.top+"px"};  this.wrapper.setStyle(h)}else{j=Object.extend({offset:this.options.offset},{element:this.options.hook.tip,target:this.options.hook.target});  h=Tips.hook(this.wrapper,this.target,Object.extend({position:true},j));  h={left:h.left+"px",top:h.top+"px"}}if(this.loader){var e=Tips.hook(this.loader,this.target,Object.extend({position:true},j))}if(Tips.fixIE){this.iframeShim.setStyle(h)}}else{var f=this.target.cumulativeOffset(),c=b.fakePointer||{},h={left:((this.options.fixed)?f[0]:c.pointerX||Event.pointerX(b))+this.options.offset.x,top:((this.options.fixed)?f[1]:c.pointerY||Event.pointerY(b))+this.options.offset.y};  if(!this.options.fixed&&this.element!==this.target){var d=this.element.cumulativeOffset();  h.left+=-1*(d[0]-f[0]);  h.top+=-1*(d[1]-f[1])}if(!this.options.fixed&&this.options.viewport){var n=this.getPositionWithinViewport(h),m=n.stemInverse;  h=n.position;  if(this.stem&&(this.stemInverse.horizontal!=m.horizontal||this.stemInverse.vertical!=m.vertical)){this.positionStem(m)}}h={left:h.left+"px",top:h.top+"px"};  this.wrapper.setStyle(h);  if(this.loader){this.loader.setStyle(h)}if(Tips.fixIE){this.iframeShim.setStyle(h)}}},getPositionWithinViewport:function(c){var e={horizontal:false,vertical:false},d=this.wrapper.getDimensions(),b=document.viewport.getScrollOffsets(),a=document.viewport.getDimensions(),g={left:"width",top:"height"};  for(var f in g){if((c[f]+d[g[f]]-b[f])>a[g[f]]){c[f]=c[f]-(d[g[f]]+(2*this.options.offset[f=="left"?"x":"y"]));  if(this.stem){e[Tips._stemTranslation[g[f]]]=true}}}return{position:c,stemInverse:e}}});  Object.extend(Prototip,{createCorner:function(d,g){var j=arguments[2]||this.options,f=j.radius,c=j.border,e={top:(g.charAt(0)=="t"),left:(g.charAt(1)=="l")};  if(this.support.canvas){var b=new Element("canvas",{className:"cornerCanvas"+g.capitalize(),width:c+"px",height:c+"px"});  d.insert(b);  var i=b.getContext("2d");  i.fillStyle=j.backgroundColor;  i.arc((e.left?f:c-f),(e.top?f:c-f),f,0,Math.PI*2,true);  i.fill();  i.fillRect((e.left?f:0),0,c-f,c);  i.fillRect(0,(e.top?f:0),c,c-f)}else{var h; d.insert(h=new Element("div").setStyle({width:c+"px",height:c+"px",margin:0,padding:0,display:"block",position:"relative",overflow:"hidden"}));  var a=new Element("ns_vml:roundrect",{fillcolor:j.backgroundColor,strokeWeight:"1px",strokeColor:j.backgroundColor,arcSize:(f/c*0.5).toFixed(2)}).setStyle({width:2*c-1+"px",height:2*c-1+"px",position:"absolute",left:(e.left?0:(-1*c))+"px",top:(e.top?0:(-1*c))+"px"});  h.insert(a);  a.outerHTML=a.outerHTML}}});  Element.addMethods({setPngBackground:function(c,b){c=$(c);  var a=Object.extend({align:"top left",repeat:"no-repeat",sizingMethod:"scale",backgroundColor:""},arguments[2]||{});  c.setStyle(Tips.fixIE?{filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+b+"'', sizingMethod='"+a.sizingMethod+"')"}:{background:a.backgroundColor+" url("+b+") "+a.align+" "+a.repeat});  return c}});  Prototip.Methods={show:function(){Tips.raise(this);  this.cancelHideAfter();  var d={};  if(this.options.hook){d.fakePointer={pointerX:0,pointerY:0}}else{var a=this.target.cumulativeOffset(),c=this.target.cumulativeScrollOffset(),b=document.viewport.getScrollOffsets();  a.left+=(-1*(c[0]-b[0]));  a.top+=(-1*(c[1]-b[1]));  d.fakePointer={pointerX:a.left,pointerY:a.top}}if(this.options.ajax){this.ajaxShow(d)}else{this.showDelayed(d)}this.hideAfter()}};  Prototip.extend=function(a){a.element.prototip={};  Object.extend(a.element.prototip,{show:Prototip.Methods.show.bind(a),hide:a.hide.bind(a),remove:Tips.remove.bind(Tips,a.element)})};  Prototip.start();

/*
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}('N.Y(U,{4n:"1.6.0.3",2M:{26:!!10.4o("26").3r},3s:q(){9.3t("27");  p(/^(4p?:\\/\\/|\\/)/.4q(s.o.V)){s.V=s.o.V}11{r a=/1G(?:-[\\w\\d.]+)?\\.4r(.*)/;  s.V=(($$("4s[28]").3u(q(b){M b.28.29(a)})||{}).28||"").2N(a,"")+s.o.V}p(!9.2M.26){p(10.4t>=8&&!10.3v.2j){10.3v.2O("2j","4u:4v-4w-4x:4y","#2k#3w")}11{10.1c("3x:2P",q(){10.4z().4A("2j\\\\:*","4B: 2Q(#2k#3w);  ")})}}s.2l();  I.1c(2R,"2S",9.2S)},3t:q(a){p((4C 2R[a]=="4D")||(9.2T(2R[a].4E)<9.2T(9["3y"+a]))){3z("U 4F "+a+" >= "+9["3y"+a]);  }},2T:q(a){r b=a.2N(/3A.*|\\./g,"");  b=4G(b+"0".4H(4-b.2U));  M a.4I("3A")>-1?b-1:b},4J:$w("3B 4K"),1S:q(a){p(27.2V.3C){M a}a=a.2m(q(f,d){r b=N.2n(9)?9:9.C,c=d.4L;  4M(c&&c!=b){4N{c=c.4O}4P(g){c=b}}p(c==b){M}f(d)});  M a},2W:q(a){M(a>0)?(-1*a):(a).4Q()},2S:q(){s.3D()}});  N.Y(s,{1A:[],13:[],2l:q(){9.2o=9.1o},1m:(q(a){M{1i:(a?"1T":"1i"),15:(a?"1H":"15"),1T:(a?"1T":"1i"),1H:(a?"1H":"15")}})(27.2V.3C),3E:{1i:"1i",15:"15",1T:"1i",1H:"15"},2a:{D:"2X",2X:"D",v:"1p",1p:"v",1U:"1U",1d:"1f",1f:"1d"},3F:{H:"1d",G:"1f"},2Y:q(a){M!!1V[1]?9.2a[a]:a},1j:(q(b){r a=J 4R("4S ([\\\\d.]+)").4T(b);  M a?(3G(a[1])<7):X})(4U.4V),2Z:(27.2V.4W&&!10.4X),2O:q(a){9.1A.2p(a)},1B:q(a){r b=9.1A.3u(q(c){M c.C==$(a)});  p(b){b.3H();  p(b.17){b.F.1B();  p(s.1j){b.1q.1B()}}9.1A=9.1A.3I(b)}a.1G=2b},3D:q(){9.1A.30(q(a){9.1B(a.C)}.1g(9))},2q:q(c){p(c==9.3J){M}p(9.13.2U===0){9.2o=9.o.1o;  31(r b=0,a=9.1A.2U;  b<a;  b++){9.1A[b].F.u({1o:9.o.1o})}}c.F.u({1o:9.2o++});  p(c.R){c.R.u({1o:9.2o})}9.3J=c},3K:q(a){9.32(a);  9.13.2p(a)},32:q(a){9.13=9.13.3I(a)},3L:q(){s.13.1I("T")},W:q(b,f){b=$(b),f=$(f);  r k=N.Y({1e:{x:0,y:0},O:X},1V[2]||{});  r d=k.1u||f.2r();  d.D+=k.1e.x;  d.v+=k.1e.y;  r c=k.1u?[0,0]:f.3M(),a=10.1C.2s(),g=k.1u?"1W":"18";  d.D+=(-1*(c[0]-a[0]));  d.v+=(-1*(c[1]-a[1]));  p(k.1u){r e=[0,0];  e.H=0;  e.G=0}r i={C:b.1X()},j={C:N.2c(d)};  i[g]=k.1u?e:f.1X();  j[g]=N.2c(d);  31(r h 3N j){3O(k[h]){S"4Y":S"4Z":j[h].D+=i[h].H;  19;  S"51":j[h].D+=(i[h].H/2);  19;  S"52":j[h].D+=i[h].H;  j[h].v+=(i[h].G/2);  19;  S"53":S"54":j[h].v+=i[h].G;  19;  S"55":S"56":j[h].D+=i[h].H;  j[h].v+=i[h].G;  19;  S"57":j[h].D+=(i[h].H/2);  j[h].v+=i[h].G;  19;  S"58":j[h].v+=(i[h].G/2);  19}}d.D+=-1*(j.C.D-j[g].D);  d.v+=-1*(j.C.v-j[g].v);  p(k.O){b.u({D:d.D+"B",v:d.v+"B"})}M d}});  s.2l();  r 59=5a.3P({2l:q(c,e){9.C=$(c);  p(!9.C){3z("U: I 5b 5c, 5d 3P a 17.");  M}s.1B(9.C);  r a=(N.2t(e)||N.2n(e)),b=a?1V[2]||[]:e;  9.1r=a?e:2b;  p(b.1Y){b=N.Y(N.2c(U.33[b.1Y]),b)}9.o=N.Y(N.Y({1k:X,1h:0,34:"#5e",1n:0,K:s.o.K,1a:s.o.5f,1v:!(b.1b&&b.1b=="1Z")?0.14:X,1D:X,1w:"1H",3Q:X,W:b.W,1e:b.W?{x:0,y:0}:{x:16,y:16},1J:(b.W&&!b.W.1u)?1l:X,1b:"2u",E:X,1Y:"2k",18:9.C,12:X,1C:(b.W&&!b.W.1u)?X:1l,H:X},U.33["2k"]),b);  9.18=$(9.o.18);  9.1n=9.o.1n;  9.1h=(9.1n>9.o.1h)?9.1n:9.o.1h;  p(9.o.V){9.V=9.o.V.35("://")?9.o.V:s.V+9.o.V}11{9.V=s.V+"5g/"+(9.o.1Y||"")+"/"}p(!9.V.5h("/")){9.V+="/"}p(N.2t(9.o.E)){9.o.E={O:9.o.E}}p(9.o.E.O){9.o.E=N.Y(N.2c(U.33[9.o.1Y].E)||{},9.o.E);  9.o.E.O=[9.o.E.O.29(/[a-z]+/)[0].2e(),9.o.E.O.29(/[A-Z][a-z]+/)[0].2e()];  9.o.E.1E=["D","2X"].3R(9.o.E.O[0])?"1d":"1f";  9.1s={1d:X,1f:X}}p(9.o.1k){9.o.1k.o=N.Y({36:27.5i},9.o.1k.o||{})}9.1m=$w("5j 3B").3R(9.C.5k.2e())?s.3E:s.1m;  p(9.o.W.1u){r d=9.o.W.1t.29(/[a-z]+/)[0].2e();  9.1W=s.2a[d]+s.2a[9.o.W.1t.29(/[A-Z][a-z]+/)[0].2e()].2v()}9.3S=(s.2Z&&9.1n);  9.3T();  s.2O(9);  9.3U();  U.Y(9)},3T:q(){9.F=J I("Q",{K:"1G"}).u({1o:s.o.1o});  p(9.3S){9.F.T=q(){9.u("D:-3V;  v:-3V;  1K:2w;  ");  M 9};  9.F.P=q(){9.u("1K:13");  M 9};  9.F.13=q(){M(9.37("1K")=="13"&&3G(9.37("v").2N("B",""))>-5l)}}9.F.T();  p(s.1j){9.1q=J I("5m",{K:"1q",28:"5n:X;  ",5o:0}).u({2x:"2f",1o:s.o.1o-1,5p:0})}p(9.o.1k){9.20=9.20.2m(9.38)}9.1t=J I("Q",{K:"1r"});  9.12=J I("Q",{K:"12"}).T();  p(9.o.1a||(9.o.1w.C&&9.o.1w.C=="1a")){9.1a=J I("Q",{K:"2g"}).21(9.V+"2g.2y")}},2z:q(){p(10.2P){9.39();  9.3W=1l;  M 1l}11{p(!9.3W){10.1c("3x:2P",9.39);  M X}}},39:q(){$(10.3a).L(9.F);  p(s.1j){$(10.3a).L(9.1q)}p(9.o.1k){$(10.3a).L(9.R=J I("Q",{K:"5q"}).21(9.V+"R.5r").T())}r g="F";  p(9.o.E.O){9.E=J I("Q",{K:"5s"}).u({G:9.o.E[9.o.E.1E=="1f"?"G":"H"]+"B"});  r b=9.o.E.1E=="1d";  9[g].L(9.3b=J I("Q",{K:"5t 2A"}).L(9.3X=J I("Q",{K:"5u 2A"})));  9.E.L(9.1L=J I("Q",{K:"5v"}).u({G:9.o.E[b?"H":"G"]+"B",H:9.o.E[b?"G":"H"]+"B"}));  p(s.1j&&!9.o.E.O[1].3Y().35("5w")){9.1L.u({2x:"5x"})}g="3X"}p(9.1h){r d=9.1h,f;  9[g].L(9.22=J I("5y",{K:"22"}).L(9.23=J I("3c",{K:"23 3d"}).u("G: "+d+"B").L(J I("Q",{K:"2B 5z"}).L(J I("Q",{K:"24"}))).L(f=J I("Q",{K:"5A"}).u({G:d+"B"}).L(J I("Q",{K:"3Z"}).u({1x:"0 "+d+"B",G:d+"B"}))).L(J I("Q",{K:"2B 5B"}).L(J I("Q",{K:"24"})))).L(9.3e=J I("3c",{K:"3e 3d"}).L(9.3f=J I("Q",{K:"3f"}).u("2C: 0 "+d+"B"))).L(9.40=J I("3c",{K:"40 3d"}).u("G: "+d+"B").L(J I("Q",{K:"2B 5C"}).L(J I("Q",{K:"24"}))).L(f.5D(1l)).L(J I("Q",{K:"2B 5E"}).L(J I("Q",{K:"24"})))));  g="3f";  r c=9.22.3g(".24");  $w("5F 5G 5H 5I").30(q(j,h){p(9.1n>0){U.41(c[h],j,{1M:9.o.34,1h:d,1n:9.o.1n})}11{c[h].2D("42")}c[h].u({H:d+"B",G:d+"B"}).2D("24"+j.2v())}.1g(9));  9.22.3g(".3Z",".3e",".42").1I("u",{1M:9.o.34})}9[g].L(9.17=J I("Q",{K:"17 "+9.o.K}).L(9.25=J I("Q",{K:"25"}).L(9.12)));  p(9.o.H){r e=9.o.H;  p(N.5J(e)){e+="B"}9.17.u("H:"+e)}p(9.E){r a={};  a[9.o.E.1E=="1d"?"v":"1p"]=9.E;  9.F.L(a);  9.2h()}9.17.L(9.1t);  p(!9.o.1k){9.3h({12:9.o.12,1r:9.1r})}},3h:q(e){r a=9.F.37("1K");  9.F.u("G:1N;  H:1N;  1K:2w").P();  p(9.1h){9.23.u("G:0");  9.23.u("G:0")}p(e.12){9.12.P().43(e.12);  9.25.P()}11{p(!9.1a){9.12.T();  9.25.T()}}p(N.2n(e.1r)){e.1r.P()}p(N.2t(e.1r)||N.2n(e.1r)){9.1t.43(e.1r)}9.17.u({H:9.17.44()+"B"});  9.F.u("1K:13").P();  9.17.P();  r c=9.17.1X(),b={H:c.H+"B"},d=[9.F];  p(s.1j){d.2p(9.1q)}p(9.1a){9.12.P().L({v:9.1a});  9.25.P()}p(e.12||9.1a){9.25.u("H: 3i%")}b.G=2b;  9.F.u({1K:a});  9.1t.2D("2A");  p(e.12||9.1a){9.12.2D("2A")}p(9.1h){9.23.u("G:"+9.1h+"B");  9.23.u("G:"+9.1h+"B");  b="H: "+(c.H+2*9.1h)+"B";  d.2p(9.22)}d.1I("u",b);  p(9.E){9.2h();  p(9.o.E.1E=="1d"){9.F.u({H:9.F.44()+9.o.E.G+"B"})}}9.F.T()},3U:q(){9.3j=9.20.1y(9);  9.45=9.T.1y(9);  p(9.o.1J&&9.o.1b=="2u"){9.o.1b="1i"}p(9.o.1b==9.o.1w){9.1O=9.46.1y(9);  9.C.1c(9.o.1b,9.1O)}p(9.1a){9.1a.1c("1i",q(e){e.21(9.V+"5K.2y")}.1g(9,9.1a)).1c("15",q(e){e.21(9.V+"2g.2y")}.1g(9,9.1a))}r c={C:9.1O?[]:[9.C],18:9.1O?[]:[9.18],1t:9.1O?[]:[9.F],1a:[],2f:[]},a=9.o.1w.C;  9.3k=a||(!9.o.1w?"2f":"C");  9.1P=c[9.3k];  p(!9.1P&&a&&N.2t(a)){9.1P=9.1t.3g(a)}r d={1T:"1i",1H:"15"};  $w("P T").30(q(h){r g=h.2v(),f=(9.o[h+"47"].3l||9.o[h+"47"]);  9[h+"48"]=f;  p(["1T","1H","1i","15"].35(f)){9[h+"48"]=(9.1m[f]||f);  9["3l"+g]=U.1S(9["3l"+g])}}.1g(9));  p(!9.1O){9.C.1c(9.o.1b,9.3j)}p(9.1P){9.1P.1I("1c",9.5L,9.45)}p(!9.o.1J&&9.o.1b=="1Z"){9.2E=9.O.1y(9);  9.C.1c("2u",9.2E)}9.49=9.T.2m(q(g,f){r e=f.5M(".2g");  p(e){e.5N();  f.5O();  g(f)}}).1y(9);  p(9.1a||(9.o.1w&&(9.o.1w.C==".2g"))){9.F.1c("1Z",9.49)}p(9.o.1b!="1Z"&&(9.3k!="C")){9.2F=U.1S(q(){9.1F("P")}).1y(9);  9.C.1c(9.1m.15,9.2F)}r b=[9.C,9.F];  9.3m=U.1S(q(){s.2q(9);  9.2G()}).1y(9);  9.3n=U.1S(9.1D).1y(9);  b.1I("1c",9.1m.1i,9.3m).1I("1c",9.1m.15,9.3n);  p(9.o.1k&&9.o.1b!="1Z"){9.2H=U.1S(9.4a).1y(9);  9.C.1c(9.1m.15,9.2H)}},3H:q(){p(9.o.1b==9.o.1w){9.C.1z(9.o.1b,9.1O)}11{9.C.1z(9.o.1b,9.3j);  p(9.1P){9.1P.1I("1z")}}p(9.2E){9.C.1z("2u",9.2E)}p(9.2F){9.C.1z("15",9.2F)}9.F.1z();  9.C.1z(9.1m.1i,9.3m).1z(9.1m.15,9.3n);  p(9.2H){9.C.1z(9.1m.15,9.2H)}},38:q(c,b){p(!9.17){p(!9.2z()){M}}9.O(b);  p(9.2I){M}11{p(9.4b){c(b);  M}}9.2I=1l;  r e=b.5P(),d={2i:{1Q:e.x,1R:e.y}};  r a=N.2c(9.o.1k.o);  a.36=a.36.2m(q(g,f){9.3h({12:9.o.12,1r:f.5Q});  9.O(d);  (q(){g(f);  r h=(9.R&&9.R.13());  p(9.R){9.1F("R");  9.R.1B();  9.R=2b}p(h){9.P()}9.4b=1l;  9.2I=2b}.1g(9)).1v(0.6)}.1g(9));  9.5R=I.P.1v(9.o.1v,9.R);  9.F.T();  9.2I=1l;  9.R.P();  9.5S=(q(){J 5T.5U(9.o.1k.2Q,a)}.1g(9)).1v(9.o.1v);  M X},4a:q(){9.1F("R")},20:q(a){p(!9.17){p(!9.2z()){M}}9.O(a);  p(9.F.13()){M}9.1F("P");  9.5V=9.P.1g(9).1v(9.o.1v)},1F:q(a){p(9[a+"4c"]){5W(9[a+"4c"])}},P:q(){p(9.F.13()){M}p(s.1j){9.1q.P()}p(9.o.3Q){s.3L()}s.3K(9);  9.17.P();  9.F.P();  p(9.E){9.E.P()}9.C.4d("1G:5X")},1D:q(a){p(9.o.1k){p(9.R&&9.o.1b!="1Z"){9.R.T()}}p(!9.o.1D){M}9.2G();  9.5Y=9.T.1g(9).1v(9.o.1D)},2G:q(){p(9.o.1D){9.1F("1D")}},T:q(){9.1F("P");  9.1F("R");  p(!9.F.13()){M}9.4e()},4e:q(){p(s.1j){9.1q.T()}p(9.R){9.R.T()}9.F.T();  (9.22||9.17).P();  s.32(9);  9.C.4d("1G:2w")},46:q(a){p(9.F&&9.F.13()){9.T(a)}11{9.20(a)}},2h:q(){r c=9.o.E,b=1V[0]||9.1s,d=s.2Y(c.O[0],b[c.1E]),f=s.2Y(c.O[1],b[s.2a[c.1E]]),a=9.1n||0;  9.1L.21(9.V+d+f+".2y");  p(c.1E=="1d"){r e=(d=="D")?c.G:0;  9.3b.u("D: "+e+"B;  ");  9.1L.u({"2J":d});  9.E.u({D:0,v:(f=="1p"?"3i%":f=="1U"?"50%":0),5Z:(f=="1p"?-1*c.H:f=="1U"?-0.5*c.H:0)+(f=="1p"?-1*a:f=="v"?a:0)+"B"})}11{9.3b.u(d=="v"?"1x: 0;   2C: "+c.G+"B 0 0 0;  ":"2C: 0;   1x: 0 0 "+c.G+"B 0;  ");  9.E.u(d=="v"?"v: 0;   1p: 1N;  ":"v: 1N;   1p: 0;  ");  9.1L.u({1x:0,"2J":f!="1U"?f:"2f"});  p(f=="1U"){9.1L.u("1x: 0 1N;  ")}11{9.1L.u("1x-"+f+": "+a+"B;  ")}p(s.2Z){p(d=="1p"){9.E.u({O:"4f",60:"61",v:"1N",1p:"1N","2J":"D",H:"3i%",1x:(-1*c.G)+"B 0 0 0"});  9.E.1Y.2x="4g"}11{9.E.u({O:"4h","2J":"2f",1x:0})}}}9.1s=b},O:q(b){p(!9.17){p(!9.2z()){M}}s.2q(9);  p(s.1j){r a=9.F.1X();  p(!9.2K||9.2K.G!=a.G||9.2K.H!=a.H){9.1q.u({H:a.H+"B",G:a.G+"B"})}9.2K=a}p(9.o.W){r j,h;  p(9.1W){r k=10.1C.2s(),c=b.2i||{};  r g,i=2;  3O(9.1W.3Y()){S"62":S"63":g={x:0-i,y:0-i};  19;  S"64":g={x:0,y:0-i};  19;  S"65":S"66":g={x:i,y:0-i};  19;  S"67":g={x:i,y:0};  19;  S"68":S"69":g={x:i,y:i};  19;  S"6a":g={x:0,y:i};  19;  S"6b":S"6c":g={x:0-i,y:i};  19;  S"6d":g={x:0-i,y:0};  19}g.x+=9.o.1e.x;  g.y+=9.o.1e.y;  j=N.Y({1e:g},{C:9.o.W.1t,1W:9.1W,1u:{v:c.1R||2L.1R(b)-k.v,D:c.1Q||2L.1Q(b)-k.D}});  h=s.W(9.F,9.18,j);  p(9.o.1C){r n=9.3o(h),m=n.1s;  h=n.O;  h.D+=m.1f?2*U.2W(g.x-9.o.1e.x):0;  h.v+=m.1f?2*U.2W(g.y-9.o.1e.y):0;  p(9.E&&(9.1s.1d!=m.1d||9.1s.1f!=m.1f)){9.2h(m)}}h={D:h.D+"B",v:h.v+"B"};  9.F.u(h)}11{j=N.Y({1e:9.o.1e},{C:9.o.W.1t,18:9.o.W.18});  h=s.W(9.F,9.18,N.Y({O:1l},j));  h={D:h.D+"B",v:h.v+"B"}}p(9.R){r e=s.W(9.R,9.18,N.Y({O:1l},j))}p(s.1j){9.1q.u(h)}}11{r f=9.18.2r(),c=b.2i||{},h={D:((9.o.1J)?f[0]:c.1Q||2L.1Q(b))+9.o.1e.x,v:((9.o.1J)?f[1]:c.1R||2L.1R(b))+9.o.1e.y};  p(!9.o.1J&&9.C!==9.18){r d=9.C.2r();  h.D+=-1*(d[0]-f[0]);  h.v+=-1*(d[1]-f[1])}p(!9.o.1J&&9.o.1C){r n=9.3o(h),m=n.1s;  h=n.O;  p(9.E&&(9.1s.1d!=m.1d||9.1s.1f!=m.1f)){9.2h(m)}}h={D:h.D+"B",v:h.v+"B"};  9.F.u(h);  p(9.R){9.R.u(h)}p(s.1j){9.1q.u(h)}}},3o:q(c){r e={1d:X,1f:X},d=9.F.1X(),b=10.1C.2s(),a=10.1C.1X(),g={D:"H",v:"G"};  31(r f 3N g){p((c[f]+d[g[f]]-b[f])>a[g[f]]){c[f]=c[f]-(d[g[f]]+(2*9.o.1e[f=="D"?"x":"y"]));  p(9.E){e[s.3F[g[f]]]=1l}}}M{O:c,1s:e}}});  N.Y(U,{41:q(d,g){r j=1V[2]||9.o,f=j.1n,c=j.1h,e={v:(g.4i(0)=="t"),D:(g.4i(1)=="l")};  p(9.2M.26){r b=J I("26",{K:"6e"+g.2v(),H:c+"B",G:c+"B"});  d.L(b);  r i=b.3r("2d");  i.6f=j.1M;  i.6g((e.D?f:c-f),(e.v?f:c-f),f,0,6h.6i*2,1l);  i.6j();  i.4j((e.D?f:0),0,c-f,c);  i.4j(0,(e.v?f:0),c,c-f)}11{r h;  d.L(h=J I("Q").u({H:c+"B",G:c+"B",1x:0,2C:0,2x:"4g",O:"4f",6k:"2w"}));  r a=J I("2j:6l",{6m:j.1M,6n:"6o",6p:j.1M,6q:(f/c*0.5).6r(2)}).u({H:2*c-1+"B",G:2*c-1+"B",O:"4h",D:(e.D?0:(-1*c))+"B",v:(e.v?0:(-1*c))+"B"});  h.L(a);  a.4k=a.4k}}});  I.6s({21:q(c,b){c=$(c);  r a=N.Y({4l:"v D",3p:"6t-3p",3q:"6u",1M:""},1V[2]||{});  c.u(s.1j?{6v:"6w:6x.6y.6z(28=\'"+b+"\'\', 3q=\'"+a.3q+"\')"}:{6A:a.1M+" 2Q("+b+") "+a.4l+" "+a.3p});  M c}});  U.4m={P:q(){s.2q(9);  9.2G();  r d={};  p(9.o.W){d.2i={1Q:0,1R:0}}11{r a=9.18.2r(),c=9.18.3M(),b=10.1C.2s();  a.D+=(-1*(c[0]-b[0]));  a.v+=(-1*(c[1]-b[1]));  d.2i={1Q:a.D,1R:a.v}}p(9.o.1k){9.38(d)}11{9.20(d)}9.1D()}};  U.Y=q(a){a.C.1G={};  N.Y(a.C.1G,{P:U.4m.P.1g(a),T:a.T.1g(a),1B:s.1B.1g(s,a.C)})};  U.3s();  ',62,409,'|||||||||this|||||||||||||||options|if|function|var|Tips||setStyle|top||||||px|element|left|stem|wrapper|height|width|Element|new|className|insert|return|Object|position|show|div|loader|case|hide|Prototip|images|hook|false|extend||document|else|title|visible||mouseout||tooltip|target|break|closeButton|showOn|observe|horizontal|offset|vertical|bind|border|mouseover|fixIE|ajax|true|useEvent|radius|zIndex|bottom|iframeShim|content|stemInverse|tip|mouse|delay|hideOn|margin|bindAsEventListener|stopObserving|tips|remove|viewport|hideAfter|orientation|clearTimer|prototip|mouseleave|invoke|fixed|visibility|stemImage|backgroundColor|auto|eventToggle|hideTargets|pointerX|pointerY|capture|mouseenter|middle|arguments|mouseHook|getDimensions|style|click|showDelayed|setPngBackground|borderFrame|borderTop|prototip_Corner|toolbar|canvas|Prototype|src|match|_inverse|null|clone||toLowerCase|none|close|positionStem|fakePointer|ns_vml|default|initialize|wrap|isElement|zIndexTop|push|raise|cumulativeOffset|getScrollOffsets|isString|mousemove|capitalize|hidden|display|png|build|clearfix|prototip_CornerWrapper|padding|addClassName|eventPosition|eventCheckDelay|cancelHideAfter|ajaxHideEvent|ajaxContentLoading|float|iframeShimDimensions|Event|support|replace|add|loaded|url|window|unload|convertVersionString|length|Browser|toggleInt|right|inverseStem|WebKit419|each|for|removeVisible|Styles|borderColor|include|onComplete|getStyle|ajaxShow|_build|body|stemWrapper|li|borderRow|borderMiddle|borderCenter|select|_update|100|eventShow|hideElement|event|activityEnter|activityLeave|getPositionWithinViewport|repeat|sizingMethod|getContext|start|require|find|namespaces|VML|dom|REQUIRED_|throw|_|input|IE|removeAll|specialEvent|_stemTranslation|parseFloat|deactivate|without|_highest|addVisibile|hideAll|cumulativeScrollOffset|in|switch|create|hideOthers|member|fixSafari2|setup|activate|9500px|_isBuilding|stemBox|toUpperCase|prototip_Between|borderBottom|createCorner|prototip_Fill|update|getWidth|eventHide|toggle|On|Action|buttonEvent|ajaxHide|ajaxContentLoaded|Timer|fire|afterHide|relative|block|absolute|charAt|fillRect|outerHTML|align|Methods|REQUIRED_Prototype|createElement|https|test|js|script|documentMode|urn|schemas|microsoft|com|vml|createStyleSheet|addRule|behavior|typeof|undefined|Version|requires|parseInt|times|indexOf|_captureTroubleElements|textarea|relatedTarget|while|try|parentNode|catch|abs|RegExp|MSIE|exec|navigator|userAgent|WebKit|evaluate|topRight|rightTop||topMiddle|rightMiddle|bottomLeft|leftBottom|bottomRight|rightBottom|bottomMiddle|leftMiddle|Tip|Class|not|available|cannot|000000|closeButtons|styles|endsWith|emptyFunction|area|tagName|9500|iframe|javascript|frameBorder|opacity|prototipLoader|gif|prototip_Stem|prototip_StemWrapper|prototip_StemBox|prototip_StemImage|MIDDLE|inline|ul|prototip_CornerWrapperTopLeft|prototip_BetweenCorners|prototip_CornerWrapperTopRight|prototip_CornerWrapperBottomLeft|cloneNode|prototip_CornerWrapperBottomRight|tl|tr|bl|br|isNumber|close_hover|hideAction|findElement|blur|stop|pointer|responseText|loaderTimer|ajaxTimer|Ajax|Request|showTimer|clearTimeout|shown|hideAfterTimer|marginTop|clear|both|LEFTTOP|TOPLEFT|TOPMIDDLE|TOPRIGHT|RIGHTTOP|RIGHTMIDDLE|RIGHTBOTTOM|BOTTOMRIGHT|BOTTOMMIDDLE|BOTTOMLEFT|LEFTBOTTOM|LEFTMIDDLE|cornerCanvas|fillStyle|arc|Math|PI|fill|overflow|roundrect|fillcolor|strokeWeight|1px|strokeColor|arcSize|toFixed|addMethods|no|scale|filter|progid|DXImageTransform|Microsoft|AlphaImageLoader|background'.split('|'),0,{}));
*/