(function($jQuery$$){function $qTip$$($target$$,$options$$,$id$$){var $self$$=this;$self$$.id=$id$$;$self$$.options=$options$$;$self$$.status={animated:false,rendered:false,disabled:false,focused:false};$self$$.elements={target:$target$$.addClass($self$$.options.style.classes.target),tooltip:null,wrapper:null,content:null,contentWrapper:null,title:null,button:null,tip:null,bgiframe:null};$self$$.cache={mouse:{},position:{},toggle:0};$self$$.timers={};$jQuery$$.extend($self$$,$self$$.options.api,{show:function($event$$){function $afterShow$$(){$self$$.options.position.type!==
"static"&&$self$$.focus();$self$$.onShow.call($self$$,$event$$);$jQuery$$.browser.msie&&$self$$.elements.tooltip.get(0).style.removeAttribute("filter")}var $solo$$;if(!$self$$.status.rendered)return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"show");if($self$$.elements.tooltip.css("display")!=="none")return $self$$;$self$$.elements.tooltip.stop(true,false);if($self$$.beforeShow.call($self$$,$event$$)===false)return $self$$;$self$$.cache.toggle=1;$self$$.options.position.type!==
"static"&&$self$$.updatePosition($event$$,$self$$.options.show.effect.length>0);if(typeof $self$$.options.show.solo=="object")$solo$$=$jQuery$$($self$$.options.show.solo);else if($self$$.options.show.solo===true)$solo$$=$jQuery$$("div.qtip").not($self$$.elements.tooltip);$solo$$&&$solo$$.each(function(){$jQuery$$(this).qtip("api").status.rendered===true&&$jQuery$$(this).qtip("api").hide()});if(typeof $self$$.options.show.effect.type=="function"){$self$$.options.show.effect.type.call($self$$.elements.tooltip,
$self$$.options.show.effect.length);$self$$.elements.tooltip.queue(function(){$afterShow$$();$jQuery$$(this).dequeue()})}else{switch($self$$.options.show.effect.type.toLowerCase()){case "fade":$self$$.elements.tooltip.fadeIn($self$$.options.show.effect.length,$afterShow$$);break;case "slide":$self$$.elements.tooltip.slideDown($self$$.options.show.effect.length,function(){$afterShow$$();$self$$.options.position.type!=="static"&&$self$$.updatePosition($event$$,true)});break;case "grow":$self$$.elements.tooltip.show($self$$.options.show.effect.length,
$afterShow$$);break;default:$self$$.elements.tooltip.show(null,$afterShow$$);break}$self$$.elements.tooltip.addClass($self$$.options.style.classes.active)}return $jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_SHOWN,"show")},hide:function($event$$){function $afterHide$$(){$self$$.onHide.call($self$$,$event$$)}if($self$$.status.rendered){if($self$$.elements.tooltip.css("display")==="none")return $self$$}else return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,
"hide");clearTimeout($self$$.timers.show);$self$$.elements.tooltip.stop(true,false);if($self$$.beforeHide.call($self$$,$event$$)===false)return $self$$;$self$$.cache.toggle=0;if(typeof $self$$.options.hide.effect.type=="function"){$self$$.options.hide.effect.type.call($self$$.elements.tooltip,$self$$.options.hide.effect.length);$self$$.elements.tooltip.queue(function(){$afterHide$$();$jQuery$$(this).dequeue()})}else{switch($self$$.options.hide.effect.type.toLowerCase()){case "fade":$self$$.elements.tooltip.fadeOut($self$$.options.hide.effect.length,
$afterHide$$);break;case "slide":$self$$.elements.tooltip.slideUp($self$$.options.hide.effect.length,$afterHide$$);break;case "grow":$self$$.elements.tooltip.hide($self$$.options.hide.effect.length,$afterHide$$);break;default:$self$$.elements.tooltip.hide(null,$afterHide$$);break}$self$$.elements.tooltip.removeClass($self$$.options.style.classes.active)}return $jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_HIDDEN,"hide")},updatePosition:function($event$$,$animate$$){var $i$$,
$curPosition_mouseAdjust_returned$$3_target$$,$tooltip$$,$coords_ieAdjust$$,$imagePos$$,$newPosition$$,$offset$$;if($self$$.status.rendered){if($self$$.options.position.type=="static")return $jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.CANNOT_POSITION_STATIC,"updatePosition")}else return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updatePosition");$curPosition_mouseAdjust_returned$$3_target$$={position:{left:0,top:0},dimensions:{height:0,
width:0},corner:$self$$.options.position.corner.target};$tooltip$$={position:$self$$.getPosition(),dimensions:$self$$.getDimensions(),corner:$self$$.options.position.corner.tooltip};if($self$$.options.position.target!=="mouse"){if($self$$.options.position.target.get(0).nodeName.toLowerCase()=="area"){$coords_ieAdjust$$=$self$$.options.position.target.attr("coords").split(",");for($i$$=0;$i$$<$coords_ieAdjust$$.length;$i$$++)$coords_ieAdjust$$[$i$$]=parseInt($coords_ieAdjust$$[$i$$]);$i$$=$self$$.options.position.target.parent("map").attr("name");
$imagePos$$=$jQuery$$('img[usemap="#'+$i$$+'"]:first').offset();$curPosition_mouseAdjust_returned$$3_target$$.position={left:Math.floor($imagePos$$.left+$coords_ieAdjust$$[0]),top:Math.floor($imagePos$$.top+$coords_ieAdjust$$[1])};switch($self$$.options.position.target.attr("shape").toLowerCase()){case "rect":$curPosition_mouseAdjust_returned$$3_target$$.dimensions={width:Math.ceil(Math.abs($coords_ieAdjust$$[2]-$coords_ieAdjust$$[0])),height:Math.ceil(Math.abs($coords_ieAdjust$$[3]-$coords_ieAdjust$$[1]))};
break;case "circle":$curPosition_mouseAdjust_returned$$3_target$$.dimensions={width:$coords_ieAdjust$$[2]+1,height:$coords_ieAdjust$$[2]+1};break;case "poly":$curPosition_mouseAdjust_returned$$3_target$$.dimensions={width:$coords_ieAdjust$$[0],height:$coords_ieAdjust$$[1]};for($i$$=0;$i$$<$coords_ieAdjust$$.length;$i$$++)if($i$$%2==0){if($coords_ieAdjust$$[$i$$]>$curPosition_mouseAdjust_returned$$3_target$$.dimensions.width)$curPosition_mouseAdjust_returned$$3_target$$.dimensions.width=$coords_ieAdjust$$[$i$$];
if($coords_ieAdjust$$[$i$$]<$coords_ieAdjust$$[0])$curPosition_mouseAdjust_returned$$3_target$$.position.left=Math.floor($imagePos$$.left+$coords_ieAdjust$$[$i$$])}else{if($coords_ieAdjust$$[$i$$]>$curPosition_mouseAdjust_returned$$3_target$$.dimensions.height)$curPosition_mouseAdjust_returned$$3_target$$.dimensions.height=$coords_ieAdjust$$[$i$$];if($coords_ieAdjust$$[$i$$]<$coords_ieAdjust$$[1])$curPosition_mouseAdjust_returned$$3_target$$.position.top=Math.floor($imagePos$$.top+$coords_ieAdjust$$[$i$$])}$curPosition_mouseAdjust_returned$$3_target$$.dimensions.width-=
$curPosition_mouseAdjust_returned$$3_target$$.position.left-$imagePos$$.left;$curPosition_mouseAdjust_returned$$3_target$$.dimensions.height-=$curPosition_mouseAdjust_returned$$3_target$$.position.top-$imagePos$$.top;break;default:return $jQuery$$.fn.qtip.log.error.call($self$$,4,$jQuery$$.fn.qtip.constants.INVALID_AREA_SHAPE,"updatePosition")}$curPosition_mouseAdjust_returned$$3_target$$.dimensions.width-=2;$curPosition_mouseAdjust_returned$$3_target$$.dimensions.height-=2}else if($self$$.options.position.target.add(document.body).length===
1){$curPosition_mouseAdjust_returned$$3_target$$.position={left:$jQuery$$(document).scrollLeft(),top:$jQuery$$(document).scrollTop()};$curPosition_mouseAdjust_returned$$3_target$$.dimensions={height:$jQuery$$(window).height(),width:$jQuery$$(window).width()}}else{$curPosition_mouseAdjust_returned$$3_target$$.position=typeof $self$$.options.position.target.attr("qtip")!=="undefined"?$self$$.options.position.target.qtip("api").cache.position:$self$$.options.position.target.offset();$curPosition_mouseAdjust_returned$$3_target$$.dimensions=
{height:$self$$.options.position.target.outerHeight(),width:$self$$.options.position.target.outerWidth()}}$newPosition$$=$jQuery$$.extend({},$curPosition_mouseAdjust_returned$$3_target$$.position);if($curPosition_mouseAdjust_returned$$3_target$$.corner.search(/right/i)!==-1)$newPosition$$.left+=$curPosition_mouseAdjust_returned$$3_target$$.dimensions.width;if($curPosition_mouseAdjust_returned$$3_target$$.corner.search(/bottom/i)!==-1)$newPosition$$.top+=$curPosition_mouseAdjust_returned$$3_target$$.dimensions.height;
if($curPosition_mouseAdjust_returned$$3_target$$.corner.search(/((top|bottom)Middle)|center/)!==-1)$newPosition$$.left+=$curPosition_mouseAdjust_returned$$3_target$$.dimensions.width/2;if($curPosition_mouseAdjust_returned$$3_target$$.corner.search(/((left|right)Middle)|center/)!==-1)$newPosition$$.top+=$curPosition_mouseAdjust_returned$$3_target$$.dimensions.height/2}else{$curPosition_mouseAdjust_returned$$3_target$$.position=$newPosition$$={left:$self$$.cache.mouse.x,top:$self$$.cache.mouse.y};$curPosition_mouseAdjust_returned$$3_target$$.dimensions=
{height:1,width:1}}if($tooltip$$.corner.search(/right/i)!==-1)$newPosition$$.left-=$tooltip$$.dimensions.width;if($tooltip$$.corner.search(/bottom/i)!==-1)$newPosition$$.top-=$tooltip$$.dimensions.height;if($tooltip$$.corner.search(/((top|bottom)Middle)|center/)!==-1)$newPosition$$.left-=$tooltip$$.dimensions.width/2;if($tooltip$$.corner.search(/((left|right)Middle)|center/)!==-1)$newPosition$$.top-=$tooltip$$.dimensions.height/2;$coords_ieAdjust$$=$jQuery$$.browser.msie?1:0;$jQuery$$.browser.msie&&
parseInt($jQuery$$.browser.version.charAt(0));if($self$$.options.style.border.radius>0){if($tooltip$$.corner.search(/Left/)!==-1)$newPosition$$.left-=$self$$.options.style.border.radius;else if($tooltip$$.corner.search(/Right/)!==-1)$newPosition$$.left+=$self$$.options.style.border.radius;if($tooltip$$.corner.search(/Top/)!==-1)$newPosition$$.top-=$self$$.options.style.border.radius;else if($tooltip$$.corner.search(/Bottom/)!==-1)$newPosition$$.top+=$self$$.options.style.border.radius}if($coords_ieAdjust$$){if($tooltip$$.corner.search(/top/)!==
-1)$newPosition$$.top-=$coords_ieAdjust$$;else if($tooltip$$.corner.search(/bottom/)!==-1)$newPosition$$.top+=$coords_ieAdjust$$;if($tooltip$$.corner.search(/left/)!==-1)$newPosition$$.left-=$coords_ieAdjust$$;else if($tooltip$$.corner.search(/right/)!==-1)$newPosition$$.left+=$coords_ieAdjust$$;if($tooltip$$.corner.search(/leftMiddle|rightMiddle/)!==-1)$newPosition$$.top-=1}if($self$$.options.position.adjust.screen===true)$newPosition$$=$screenAdjust$$.call($self$$,$newPosition$$,$curPosition_mouseAdjust_returned$$3_target$$,
$tooltip$$);if($self$$.options.position.target==="mouse"&&$self$$.options.position.adjust.mouse===true){$curPosition_mouseAdjust_returned$$3_target$$=$self$$.options.position.adjust.screen===true&&$self$$.elements.tip?$self$$.elements.tip.attr("rel"):$self$$.options.position.corner.tooltip;$newPosition$$.left+=$curPosition_mouseAdjust_returned$$3_target$$.search(/right/i)!==-1?-6:6;$newPosition$$.top+=$curPosition_mouseAdjust_returned$$3_target$$.search(/bottom/i)!==-1?-6:6}!$self$$.elements.bgiframe&&
$jQuery$$.browser.msie&&parseInt($jQuery$$.browser.version.charAt(0))==6&&$jQuery$$("select, object").each(function(){$offset$$=$jQuery$$(this).offset();$offset$$.bottom=$offset$$.top+$jQuery$$(this).height();$offset$$.right=$offset$$.left+$jQuery$$(this).width();$newPosition$$.top+$tooltip$$.dimensions.height>=$offset$$.top&&$newPosition$$.left+$tooltip$$.dimensions.width>=$offset$$.left&&$bgiframe$$.call($self$$)});$newPosition$$.left+=$self$$.options.position.adjust.x;$newPosition$$.top+=$self$$.options.position.adjust.y;
$curPosition_mouseAdjust_returned$$3_target$$=$self$$.getPosition();if($newPosition$$.left!=$curPosition_mouseAdjust_returned$$3_target$$.left||$newPosition$$.top!=$curPosition_mouseAdjust_returned$$3_target$$.top){$curPosition_mouseAdjust_returned$$3_target$$=$self$$.beforePositionUpdate.call($self$$,$event$$);if($curPosition_mouseAdjust_returned$$3_target$$===false)return $self$$;$self$$.cache.position=$newPosition$$;if($animate$$===true){$self$$.status.animated=true;$self$$.elements.tooltip.animate($newPosition$$,
200,"swing",function(){$self$$.status.animated=false})}else $self$$.elements.tooltip.css($newPosition$$);$self$$.onPositionUpdate.call($self$$,$event$$);typeof $event$$!=="undefined"&&$event$$.type&&$event$$.type!=="mousemove"&&$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_POSITION_UPDATED,"updatePosition")}return $self$$},updateWidth:function($newWidth$$){var $hidden$$;if($self$$.status.rendered){if($newWidth$$&&typeof $newWidth$$!=="number")return $jQuery$$.fn.qtip.log.error.call($self$$,
2,"newWidth must be of type number","updateWidth")}else return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateWidth");$hidden$$=$self$$.elements.contentWrapper.siblings().add($self$$.elements.tip).add($self$$.elements.button);if(!$newWidth$$)if(typeof $self$$.options.style.width.value=="number")$newWidth$$=$self$$.options.style.width.value;else{$self$$.elements.tooltip.css({width:"auto"});$hidden$$.hide();$jQuery$$.browser.msie&&$self$$.elements.wrapper.add($self$$.elements.contentWrapper.children()).css({zoom:"normal"});
$newWidth$$=$self$$.getDimensions().width+1;if(!$self$$.options.style.width.value){if($newWidth$$>$self$$.options.style.width.max)$newWidth$$=$self$$.options.style.width.max;if($newWidth$$<$self$$.options.style.width.min)$newWidth$$=$self$$.options.style.width.min}}if($newWidth$$%2!==0)$newWidth$$-=1;$self$$.elements.tooltip.width($newWidth$$);$hidden$$.show();$self$$.options.style.border.radius&&$self$$.elements.tooltip.find(".qtip-betweenCorners").each(function(){$jQuery$$(this).width($newWidth$$-
$self$$.options.style.border.radius*2)});if($jQuery$$.browser.msie){$self$$.elements.wrapper.add($self$$.elements.contentWrapper.children()).css({zoom:"1"});$self$$.elements.wrapper.width("auto");$self$$.elements.bgiframe&&$self$$.elements.bgiframe.width($newWidth$$).height($self$$.getDimensions.height)}return $jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_WIDTH_UPDATED,"updateWidth")},updateStyle:function($name$$){var $borders$$,$context$$,$corner$$,$coordinates$$;if($self$$.status.rendered){if(typeof $name$$!==
"string"||!$jQuery$$.fn.qtip.styles[$name$$])return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.STYLE_NOT_DEFINED,"updateStyle")}else return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateStyle");$self$$.options.style=$buildStyle$$.call($self$$,$jQuery$$.fn.qtip.styles[$name$$],$self$$.options.user.style);$self$$.elements.content.css($jQueryStyle$$($self$$.options.style));$self$$.options.content.title.text!==false&&$self$$.elements.title.css($jQueryStyle$$($self$$.options.style.title,
true));$self$$.elements.contentWrapper.css({borderColor:$self$$.options.style.border.color});if($self$$.options.style.tip.corner!==false)if($jQuery$$("<canvas>").get(0).getContext){$name$$=$self$$.elements.tooltip.find(".qtip-tip canvas:first");$context$$=$name$$.get(0).getContext("2d");$context$$.clearRect(0,0,300,300);$corner$$=$name$$.parent("div[rel]:first").attr("rel");$coordinates$$=$calculateTip$$($corner$$,$self$$.options.style.tip.size.width,$self$$.options.style.tip.size.height);$drawTip$$.call($self$$,
$name$$,$coordinates$$,$self$$.options.style.tip.color||$self$$.options.style.border.color)}else if($jQuery$$.browser.msie){$name$$=$self$$.elements.tooltip.find('.qtip-tip [nodeName="shape"]');$name$$.attr("fillcolor",$self$$.options.style.tip.color||$self$$.options.style.border.color)}if($self$$.options.style.border.radius>0){$self$$.elements.tooltip.find(".qtip-betweenCorners").css({backgroundColor:$self$$.options.style.border.color});if($jQuery$$("<canvas>").get(0).getContext){$borders$$=$calculateBorders$$($self$$.options.style.border.radius);
$self$$.elements.tooltip.find(".qtip-wrapper canvas").each(function(){$context$$=$jQuery$$(this).get(0).getContext("2d");$context$$.clearRect(0,0,300,300);$corner$$=$jQuery$$(this).parent("div[rel]:first").attr("rel");$drawBorder$$.call($self$$,$jQuery$$(this),$borders$$[$corner$$],$self$$.options.style.border.radius,$self$$.options.style.border.color)})}else $jQuery$$.browser.msie&&$self$$.elements.tooltip.find('.qtip-wrapper [nodeName="arc"]').each(function(){$jQuery$$(this).attr("fillcolor",$self$$.options.style.border.color)})}return $jQuery$$.fn.qtip.log.error.call($self$$,
1,$jQuery$$.fn.qtip.constants.EVENT_STYLE_UPDATED,"updateStyle")},updateContent:function($content$$,$reposition$$){function $afterLoad$$(){$self$$.updateWidth();if($reposition$$!==false){$self$$.options.position.type!=="static"&&$self$$.updatePosition($self$$.elements.tooltip.is(":visible"),true);$self$$.options.style.tip.corner!==false&&$positionTip$$.call($self$$)}}var $parsedContent$$,$images$$,$loadedImages$$;if($self$$.status.rendered){if(!$content$$)return $jQuery$$.fn.qtip.log.error.call($self$$,
2,$jQuery$$.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateContent")}else return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateContent");$parsedContent$$=$self$$.beforeContentUpdate.call($self$$,$content$$);if(typeof $parsedContent$$=="string")$content$$=$parsedContent$$;else if($parsedContent$$===false)return;$jQuery$$.browser.msie&&$self$$.elements.contentWrapper.children().css({zoom:"normal"});$content$$.jquery&&$content$$.length>0?$content$$.clone(true).appendTo($self$$.elements.content).show():
$self$$.elements.content.html($content$$);$images$$=$self$$.elements.content.find("img[complete=false]");if($images$$.length>0){$loadedImages$$=0;$images$$.each(function(){$jQuery$$('<img src="'+$jQuery$$(this).attr("src")+'" />').load(function(){++$loadedImages$$==$images$$.length&&$afterLoad$$()})})}else $afterLoad$$();$self$$.onContentUpdate.call($self$$);return $jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_CONTENT_UPDATED,"loadContent")},loadContent:function($url$$,
$data$$,$method$$){function $setupContent$$($content$$){$self$$.onContentLoad.call($self$$);$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_CONTENT_LOADED,"loadContent");$self$$.updateContent($content$$)}if(!$self$$.status.rendered)return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"loadContent");if($self$$.beforeContentLoad.call($self$$)===false)return $self$$;$method$$=="post"?$jQuery$$.post($url$$,$data$$,$setupContent$$):
$jQuery$$.get($url$$,$data$$,$setupContent$$);return $self$$},updateTitle:function($content$$){if($self$$.status.rendered){if(!$content$$)return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.NO_CONTENT_PROVIDED,"updateTitle")}else return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"updateTitle");returned=$self$$.beforeTitleUpdate.call($self$$);if(returned===false)return $self$$;if($self$$.elements.button)$self$$.elements.button=
$self$$.elements.button.clone(true);$self$$.elements.title.html($content$$);$self$$.elements.button&&$self$$.elements.title.prepend($self$$.elements.button);$self$$.onTitleUpdate.call($self$$);return $jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_TITLE_UPDATED,"updateTitle")},focus:function($event$$){var $curIndex_returned$$,$newIndex$$,$elemIndex$$;if($self$$.status.rendered){if($self$$.options.position.type=="static")return $jQuery$$.fn.qtip.log.error.call($self$$,
1,$jQuery$$.fn.qtip.constants.CANNOT_FOCUS_STATIC,"focus")}else return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"focus");$curIndex_returned$$=parseInt($self$$.elements.tooltip.css("z-index"));$newIndex$$=6E3+$jQuery$$("div.qtip[qtip]").length-1;if(!$self$$.status.focused&&$curIndex_returned$$!==$newIndex$$){$curIndex_returned$$=$self$$.beforeFocus.call($self$$,$event$$);if($curIndex_returned$$===false)return $self$$;$jQuery$$("div.qtip[qtip]").not($self$$.elements.tooltip).each(function(){if($jQuery$$(this).qtip("api").status.rendered===
true){$elemIndex$$=parseInt($jQuery$$(this).css("z-index"));typeof $elemIndex$$=="number"&&$elemIndex$$>-1&&$jQuery$$(this).css({zIndex:parseInt($jQuery$$(this).css("z-index"))-1});$jQuery$$(this).qtip("api").status.focused=false}});$self$$.elements.tooltip.css({zIndex:$newIndex$$});$self$$.status.focused=true;$self$$.onFocus.call($self$$,$event$$);$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_FOCUSED,"focus")}return $self$$},disable:function($state$$){if(!$self$$.status.rendered)return $jQuery$$.fn.qtip.log.error.call($self$$,
2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"disable");if($state$$)if($self$$.status.disabled)$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.TOOLTIP_ALREADY_DISABLED,"disable");else{$self$$.status.disabled=true;$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_DISABLED,"disable")}else if($self$$.status.disabled){$self$$.status.disabled=false;$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_ENABLED,"disable")}else $jQuery$$.fn.qtip.log.error.call($self$$,
1,$jQuery$$.fn.qtip.constants.TOOLTIP_ALREADY_ENABLED,"disable");return $self$$},destroy:function(){var $i$$,$interfaces$$;if($self$$.beforeDestroy.call($self$$)===false)return $self$$;if($self$$.status.rendered){$self$$.options.show.when.target.unbind("mousemove.qtip",$self$$.updatePosition);$self$$.options.show.when.target.unbind("mouseout.qtip",$self$$.hide);$self$$.options.show.when.target.unbind($self$$.options.show.when.event+".qtip");$self$$.options.hide.when.target.unbind($self$$.options.hide.when.event+
".qtip");$self$$.elements.tooltip.unbind($self$$.options.hide.when.event+".qtip");$self$$.elements.tooltip.unbind("mouseover.qtip",$self$$.focus);$self$$.elements.tooltip.remove()}else $self$$.options.show.when.target.unbind($self$$.options.show.when.event+".qtip-create");if(typeof $self$$.elements.target.data("qtip")=="object"){$interfaces$$=$self$$.elements.target.data("qtip").interfaces;if(typeof $interfaces$$=="object"&&$interfaces$$.length>0)for($i$$=0;$i$$<$interfaces$$.length-1;$i$$++)$interfaces$$[$i$$].id==
$self$$.id&&$interfaces$$.splice($i$$,1)}delete $jQuery$$.fn.qtip.interfaces[$self$$.id];if(typeof $interfaces$$=="object"&&$interfaces$$.length>0)$self$$.elements.target.data("qtip").current=$interfaces$$.length-1;else $self$$.elements.target.removeData("qtip");$self$$.onDestroy.call($self$$);$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_DESTROYED,"destroy");return $self$$.elements.target},getPosition:function(){var $show$$,$offset$$;if(!$self$$.status.rendered)return $jQuery$$.fn.qtip.log.error.call($self$$,
2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,"getPosition");($show$$=$self$$.elements.tooltip.css("display")!=="none"?false:true)&&$self$$.elements.tooltip.css({visiblity:"hidden"}).show();$offset$$=$self$$.elements.tooltip.offset();$show$$&&$self$$.elements.tooltip.css({visiblity:"visible"}).hide();return $offset$$},getDimensions:function(){var $show$$,$dimensions$$;if(!$self$$.status.rendered)return $jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.TOOLTIP_NOT_RENDERED,
"getDimensions");($show$$=!$self$$.elements.tooltip.is(":visible")?true:false)&&$self$$.elements.tooltip.css({visiblity:"hidden"}).show();$dimensions$$={height:$self$$.elements.tooltip.outerHeight(),width:$self$$.elements.tooltip.outerWidth()};$show$$&&$self$$.elements.tooltip.css({visiblity:"visible"}).hide();return $dimensions$$}})}function $construct$$(){var $self$$,$content$$3_url$$,$data$$,$method$$;$self$$=this;$self$$.beforeRender.call($self$$);$self$$.status.rendered=true;$self$$.elements.tooltip=
'<div qtip="'+$self$$.id+'" class="qtip '+($self$$.options.style.classes.tooltip||$self$$.options.style)+'"style="display:none; -moz-border-radius:0; -webkit-border-radius:0; border-radius:0;position:'+$self$$.options.position.type+';">  <div class="qtip-wrapper" style="position:relative; overflow:hidden; text-align:left;">    <div class="qtip-contentWrapper" style="overflow:hidden;">       <div class="qtip-content '+$self$$.options.style.classes.content+'"></div></div></div></div>';$self$$.elements.tooltip=
$jQuery$$($self$$.elements.tooltip);$self$$.elements.tooltip.appendTo($self$$.options.position.container);$self$$.elements.tooltip.data("qtip",{current:0,interfaces:[$self$$]});$self$$.elements.wrapper=$self$$.elements.tooltip.children("div:first");$self$$.elements.contentWrapper=$self$$.elements.wrapper.children("div:first").css({background:$self$$.options.style.background});$self$$.elements.content=$self$$.elements.contentWrapper.children("div:first").css($jQueryStyle$$($self$$.options.style));
$jQuery$$.browser.msie&&$self$$.elements.wrapper.add($self$$.elements.content).css({zoom:1});$self$$.options.hide.when.event=="unfocus"&&$self$$.elements.tooltip.attr("unfocus",true);typeof $self$$.options.style.width.value=="number"&&$self$$.updateWidth();if($jQuery$$("<canvas>").get(0).getContext||$jQuery$$.browser.msie){$self$$.options.style.border.radius>0?$createBorder$$.call($self$$):$self$$.elements.contentWrapper.css({border:$self$$.options.style.border.width+"px solid "+$self$$.options.style.border.color});
$self$$.options.style.tip.corner!==false&&$createTip$$.call($self$$)}else{$self$$.elements.contentWrapper.css({border:$self$$.options.style.border.width+"px solid "+$self$$.options.style.border.color});$self$$.options.style.border.radius=0;$self$$.options.style.tip.corner=false;$jQuery$$.fn.qtip.log.error.call($self$$,2,$jQuery$$.fn.qtip.constants.CANVAS_VML_NOT_SUPPORTED,"render")}if(typeof $self$$.options.content.text=="string"&&$self$$.options.content.text.length>0||$self$$.options.content.text.jquery&&
$self$$.options.content.text.length>0)$content$$3_url$$=$self$$.options.content.text;else if(typeof $self$$.elements.target.attr("title")=="string"&&$self$$.elements.target.attr("title").length>0){$content$$3_url$$=$self$$.elements.target.attr("title").replace("\\n","<br />");$self$$.elements.target.attr("title","")}else if(typeof $self$$.elements.target.attr("alt")=="string"&&$self$$.elements.target.attr("alt").length>0){$content$$3_url$$=$self$$.elements.target.attr("alt").replace("\\n","<br />");
$self$$.elements.target.attr("alt","")}else{$content$$3_url$$=" ";$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.NO_VALID_CONTENT,"render")}$self$$.options.content.title.text!==false&&$createTitle$$.call($self$$);$self$$.updateContent($content$$3_url$$);$assignEvents$$.call($self$$);$self$$.options.show.ready===true&&$self$$.show();if($self$$.options.content.url!==false){$content$$3_url$$=$self$$.options.content.url;$data$$=$self$$.options.content.data;$method$$=$self$$.options.content.method||
"get";$self$$.loadContent($content$$3_url$$,$data$$,$method$$)}$self$$.onRender.call($self$$);$jQuery$$.fn.qtip.log.error.call($self$$,1,$jQuery$$.fn.qtip.constants.EVENT_RENDERED,"render")}function $createBorder$$(){var $self$$,$betweenCorners_betweenWidth_i$$,$vertWidth_width$$,$radius$$,$color$$,$coordinates$$,$containers_sideWidth$$,$size$$,$borderCoord$$;$self$$=this;$self$$.elements.wrapper.find(".qtip-borderBottom, .qtip-borderTop").remove();$vertWidth_width$$=$self$$.options.style.border.width;
$radius$$=$self$$.options.style.border.radius;$color$$=$self$$.options.style.border.color||$self$$.options.style.tip.color;$coordinates$$=$calculateBorders$$($radius$$);$containers_sideWidth$$={};for($betweenCorners_betweenWidth_i$$ in $coordinates$$){$containers_sideWidth$$[$betweenCorners_betweenWidth_i$$]='<div rel="'+$betweenCorners_betweenWidth_i$$+'" style="'+($betweenCorners_betweenWidth_i$$.search(/Left/)!==-1?"left":"right")+":0; position:absolute; height:"+$radius$$+"px; width:"+$radius$$+
'px; overflow:hidden; line-height:0.1px; font-size:1px">';if($jQuery$$("<canvas>").get(0).getContext)$containers_sideWidth$$[$betweenCorners_betweenWidth_i$$]+='<canvas height="'+$radius$$+'" width="'+$radius$$+'" style="vertical-align: top"></canvas>';else if($jQuery$$.browser.msie){$size$$=$radius$$*2+3;$containers_sideWidth$$[$betweenCorners_betweenWidth_i$$]+='<v:arc stroked="false" fillcolor="'+$color$$+'" startangle="'+$coordinates$$[$betweenCorners_betweenWidth_i$$][0]+'" endangle="'+$coordinates$$[$betweenCorners_betweenWidth_i$$][1]+
'" style="width:'+$size$$+"px; height:"+$size$$+"px; margin-top:"+($betweenCorners_betweenWidth_i$$.search(/bottom/)!==-1?-2:-1)+"px; margin-left:"+($betweenCorners_betweenWidth_i$$.search(/Right/)!==-1?$coordinates$$[$betweenCorners_betweenWidth_i$$][2]-3.5:-1)+'px; vertical-align:top; display:inline-block; behavior:url(#default#VML)"></v:arc>'}$containers_sideWidth$$[$betweenCorners_betweenWidth_i$$]+="</div>"}$betweenCorners_betweenWidth_i$$=$self$$.getDimensions().width-Math.max($vertWidth_width$$,
$radius$$)*2;$betweenCorners_betweenWidth_i$$='<div class="qtip-betweenCorners" style="height:'+$radius$$+"px; width:"+$betweenCorners_betweenWidth_i$$+"px; overflow:hidden; background-color:"+$color$$+'; line-height:0.1px; font-size:1px;">';$self$$.elements.wrapper.prepend('<div class="qtip-borderTop" dir="ltr" style="height:'+$radius$$+"px; margin-left:"+$radius$$+'px; line-height:0.1px; font-size:1px; padding:0;">'+$containers_sideWidth$$.topLeft+$containers_sideWidth$$.topRight+$betweenCorners_betweenWidth_i$$);
$self$$.elements.wrapper.append('<div class="qtip-borderBottom" dir="ltr" style="height:'+$radius$$+"px; margin-left:"+$radius$$+'px; line-height:0.1px; font-size:1px; padding:0;">'+$containers_sideWidth$$.bottomLeft+$containers_sideWidth$$.bottomRight+$betweenCorners_betweenWidth_i$$);if($jQuery$$("<canvas>").get(0).getContext)$self$$.elements.wrapper.find("canvas").each(function(){$borderCoord$$=$coordinates$$[$jQuery$$(this).parent("[rel]:first").attr("rel")];$drawBorder$$.call($self$$,$jQuery$$(this),
$borderCoord$$,$radius$$,$color$$)});else $jQuery$$.browser.msie&&$self$$.elements.tooltip.append('<v:image style="behavior:url(#default#VML);"></v:image>');$containers_sideWidth$$=Math.max($radius$$,$radius$$+($vertWidth_width$$-$radius$$));$vertWidth_width$$=Math.max($vertWidth_width$$-$radius$$,0);$self$$.elements.contentWrapper.css({border:"0px solid "+$color$$,borderWidth:$vertWidth_width$$+"px "+$containers_sideWidth$$+"px"})}function $drawBorder$$($canvas_context$$,$coordinates$$,$radius$$,
$color$$){$canvas_context$$=$canvas_context$$.get(0).getContext("2d");$canvas_context$$.fillStyle=$color$$;$canvas_context$$.beginPath();$canvas_context$$.arc($coordinates$$[0],$coordinates$$[1],$radius$$,0,Math.PI*2,false);$canvas_context$$.fill()}function $createTip$$($corner$$){var $self$$,$color$$,$coordinates$$,$coordsize$$,$path$$;$self$$=this;$self$$.elements.tip!==null&&$self$$.elements.tip.remove();$color$$=$self$$.options.style.tip.color||$self$$.options.style.border.color;if($self$$.options.style.tip.corner!==
false){if(!$corner$$)$corner$$=$self$$.options.style.tip.corner;$coordinates$$=$calculateTip$$($corner$$,$self$$.options.style.tip.size.width,$self$$.options.style.tip.size.height);$self$$.elements.tip='<div class="'+$self$$.options.style.classes.tip+'" dir="ltr" rel="'+$corner$$+'" style="position:absolute; height:'+$self$$.options.style.tip.size.height+"px; width:"+$self$$.options.style.tip.size.width+'px; margin:0 auto; line-height:0.1px; font-size:1px;">';if($jQuery$$("<canvas>").get(0).getContext)$self$$.elements.tip+=
'<canvas height="'+$self$$.options.style.tip.size.height+'" width="'+$self$$.options.style.tip.size.width+'"></canvas>';else if($jQuery$$.browser.msie){$coordsize$$=$self$$.options.style.tip.size.width+","+$self$$.options.style.tip.size.height;$path$$="m"+$coordinates$$[0][0]+","+$coordinates$$[0][1];$path$$+=" l"+$coordinates$$[1][0]+","+$coordinates$$[1][1];$path$$+=" "+$coordinates$$[2][0]+","+$coordinates$$[2][1];$path$$+=" xe";$self$$.elements.tip+='<v:shape fillcolor="'+$color$$+'" stroked="false" filled="true" path="'+
$path$$+'" coordsize="'+$coordsize$$+'" style="width:'+$self$$.options.style.tip.size.width+"px; height:"+$self$$.options.style.tip.size.height+"px; line-height:0.1px; display:inline-block; behavior:url(#default#VML); vertical-align:"+($corner$$.search(/top/)!==-1?"bottom":"top")+'"></v:shape>';$self$$.elements.tip+='<v:image style="behavior:url(#default#VML);"></v:image>';$self$$.elements.contentWrapper.css("position","relative")}$self$$.elements.tooltip.prepend($self$$.elements.tip+"</div>");$self$$.elements.tip=
$self$$.elements.tooltip.find("."+$self$$.options.style.classes.tip).eq(0);$jQuery$$("<canvas>").get(0).getContext&&$drawTip$$.call($self$$,$self$$.elements.tip.find("canvas:first"),$coordinates$$,$color$$);$corner$$.search(/top/)!==-1&&$jQuery$$.browser.msie&&parseInt($jQuery$$.browser.version.charAt(0))===6&&$self$$.elements.tip.css({marginTop:-4});$positionTip$$.call($self$$,$corner$$)}}function $drawTip$$($canvas$$1_context$$,$coordinates$$,$color$$){$canvas$$1_context$$=$canvas$$1_context$$.get(0).getContext("2d");
$canvas$$1_context$$.fillStyle=$color$$;$canvas$$1_context$$.beginPath();$canvas$$1_context$$.moveTo($coordinates$$[0][0],$coordinates$$[0][1]);$canvas$$1_context$$.lineTo($coordinates$$[1][0],$coordinates$$[1][1]);$canvas$$1_context$$.lineTo($coordinates$$[2][0],$coordinates$$[2][1]);$canvas$$1_context$$.fill()}function $positionTip$$($corner$$){var $self$$,$ieAdjust$$;$self$$=this;if(!($self$$.options.style.tip.corner===false||!$self$$.elements.tip)){$corner$$||($corner$$=$self$$.elements.tip.attr("rel"));
$ieAdjust$$=positionAdjust=$jQuery$$.browser.msie?1:0;$self$$.elements.tip.css($corner$$.match(/left|right|top|bottom/)[0],0);if($corner$$.search(/top|bottom/)!==-1){if($jQuery$$.browser.msie)positionAdjust=parseInt($jQuery$$.browser.version.charAt(0))===6?$corner$$.search(/top/)!==-1?-3:1:$corner$$.search(/top/)!==-1?1:2;if($corner$$.search(/Middle/)!==-1)$self$$.elements.tip.css({left:"50%",marginLeft:-($self$$.options.style.tip.size.width/2)});else if($corner$$.search(/Left/)!==-1)$self$$.elements.tip.css({left:$self$$.options.style.border.radius-
$ieAdjust$$});else $corner$$.search(/Right/)!==-1&&$self$$.elements.tip.css({right:$self$$.options.style.border.radius+$ieAdjust$$});$corner$$.search(/top/)!==-1?$self$$.elements.tip.css({top:-positionAdjust}):$self$$.elements.tip.css({bottom:positionAdjust})}else if($corner$$.search(/left|right/)!==-1){if($jQuery$$.browser.msie)positionAdjust=parseInt($jQuery$$.browser.version.charAt(0))===6?1:$corner$$.search(/left/)!==-1?1:2;if($corner$$.search(/Middle/)!==-1)$self$$.elements.tip.css({top:"50%",
marginTop:-($self$$.options.style.tip.size.height/2)});else if($corner$$.search(/Top/)!==-1)$self$$.elements.tip.css({top:$self$$.options.style.border.radius-$ieAdjust$$});else $corner$$.search(/Bottom/)!==-1&&$self$$.elements.tip.css({bottom:$self$$.options.style.border.radius+$ieAdjust$$});$corner$$.search(/left/)!==-1?$self$$.elements.tip.css({left:-positionAdjust}):$self$$.elements.tip.css({right:positionAdjust})}$corner$$="padding-"+$corner$$.match(/left|right|top|bottom/)[0];$ieAdjust$$=$self$$.options.style.tip.size[$corner$$.search(/left|right/)!==
-1?"width":"height"];$self$$.elements.tooltip.css("padding",0);$self$$.elements.tooltip.css($corner$$,$ieAdjust$$);if($jQuery$$.browser.msie&&parseInt($jQuery$$.browser.version.charAt(0))==6){$corner$$=parseInt($self$$.elements.tip.css("margin-top"))||0;$corner$$+=parseInt($self$$.elements.content.css("margin-top"))||0;$self$$.elements.tip.css({marginTop:$corner$$})}}}function $createTitle$$(){var $self$$=this;$self$$.elements.title!==null&&$self$$.elements.title.remove();$self$$.elements.title=$jQuery$$('<div class="'+
$self$$.options.style.classes.title+'">').css($jQueryStyle$$($self$$.options.style.title,true)).css({zoom:$jQuery$$.browser.msie?1:0}).prependTo($self$$.elements.contentWrapper);$self$$.options.content.title.text&&$self$$.updateTitle.call($self$$,$self$$.options.content.title.text);if($self$$.options.content.title.button!==false&&typeof $self$$.options.content.title.button=="string")$self$$.elements.button=$jQuery$$('<a class="'+$self$$.options.style.classes.button+'" style="float:right; position: relative"></a>').css($jQueryStyle$$($self$$.options.style.button,
true)).html($self$$.options.content.title.button).prependTo($self$$.elements.title).click(function($event$$){$self$$.status.disabled||$self$$.hide($event$$)})}function $assignEvents$$(){function $showMethod$$($event$$){if($self$$.status.disabled!==true){if($self$$.options.hide.when.event=="inactive"){$jQuery$$($inactiveEvents$$).each(function(){$hideTarget$$.bind(this+".qtip-inactive",$inactiveMethod$$);$self$$.elements.content.bind(this+".qtip-inactive",$inactiveMethod$$)});$inactiveMethod$$()}clearTimeout($self$$.timers.show);
clearTimeout($self$$.timers.hide);$self$$.timers.show=setTimeout(function(){$self$$.show($event$$)},$self$$.options.show.delay)}}function $hideMethod$$($event$$){if($self$$.status.disabled!==true){if($self$$.options.hide.fixed===true&&$self$$.options.hide.when.event.search(/mouse(out|leave)/i)!==-1&&$jQuery$$($event$$.relatedTarget).parents("div.qtip[qtip]").length>0){$event$$.stopPropagation();$event$$.preventDefault();clearTimeout($self$$.timers.hide);return false}clearTimeout($self$$.timers.show);
clearTimeout($self$$.timers.hide);$self$$.elements.tooltip.stop(true,true);$self$$.timers.hide=setTimeout(function(){$self$$.hide($event$$)},$self$$.options.hide.delay)}}var $self$$,$showTarget$$,$hideTarget$$,$inactiveEvents$$;$self$$=this;$showTarget$$=$self$$.options.show.when.target;$hideTarget$$=$self$$.options.hide.when.target;if($self$$.options.hide.fixed)$hideTarget$$=$hideTarget$$.add($self$$.elements.tooltip);if($self$$.options.hide.when.event=="inactive"){$inactiveEvents$$=["click","dblclick",
"mousedown","mouseup","mousemove","mouseout","mouseenter","mouseleave","mouseover"];function $inactiveMethod$$($event$$){if($self$$.status.disabled!==true){clearTimeout($self$$.timers.inactive);$self$$.timers.inactive=setTimeout(function(){$jQuery$$($inactiveEvents$$).each(function(){$hideTarget$$.unbind(this+".qtip-inactive");$self$$.elements.content.unbind(this+".qtip-inactive")});$self$$.hide($event$$)},$self$$.options.hide.delay)}}}else $self$$.options.hide.fixed===true&&$self$$.elements.tooltip.bind("mouseover.qtip",
function(){$self$$.status.disabled!==true&&clearTimeout($self$$.timers.hide)});if($self$$.options.show.when.target.add($self$$.options.hide.when.target).length===1&&$self$$.options.show.when.event==$self$$.options.hide.when.event&&$self$$.options.hide.when.event!=="inactive"||$self$$.options.hide.when.event=="unfocus"){$self$$.cache.toggle=0;$showTarget$$.bind($self$$.options.show.when.event+".qtip",function($event$$){$self$$.cache.toggle==0?$showMethod$$($event$$):$hideMethod$$($event$$)})}else{$showTarget$$.bind($self$$.options.show.when.event+
".qtip",$showMethod$$);$self$$.options.hide.when.event!=="inactive"&&$hideTarget$$.bind($self$$.options.hide.when.event+".qtip",$hideMethod$$)}$self$$.options.position.type.search(/(fixed|absolute)/)!==-1&&$self$$.elements.tooltip.bind("mouseover.qtip",$self$$.focus);$self$$.options.position.target==="mouse"&&$self$$.options.position.type!=="static"&&$showTarget$$.bind("mousemove.qtip",function($event$$){$self$$.cache.mouse={x:$event$$.pageX,y:$event$$.pageY};$self$$.status.disabled===false&&$self$$.options.position.adjust.mouse===
true&&$self$$.options.position.type!=="static"&&$self$$.elements.tooltip.css("display")!=="none"&&$self$$.updatePosition($event$$)})}function $screenAdjust$$($position$$,$target$$,$tooltip$$){var $self$$,$adjustedPosition$$,$adjust$$,$newCorner$$;$self$$=this;if($tooltip$$.corner=="center")return $target$$.position;$adjustedPosition$$=$jQuery$$.extend({},$position$$);$newCorner$$={x:false,y:false};$adjust$$={left:$adjustedPosition$$.left<$jQuery$$.fn.qtip.cache.screen.scroll.left,right:$adjustedPosition$$.left+
$tooltip$$.dimensions.width+2>=$jQuery$$.fn.qtip.cache.screen.width+$jQuery$$.fn.qtip.cache.screen.scroll.left,top:$adjustedPosition$$.top<$jQuery$$.fn.qtip.cache.screen.scroll.top,bottom:$adjustedPosition$$.top+$tooltip$$.dimensions.height+2>=$jQuery$$.fn.qtip.cache.screen.height+$jQuery$$.fn.qtip.cache.screen.scroll.top};$adjust$$={left:$adjust$$.left&&($tooltip$$.corner.search(/right/i)!=-1||$tooltip$$.corner.search(/right/i)==-1&&!$adjust$$.right),right:$adjust$$.right&&($tooltip$$.corner.search(/left/i)!=
-1||$tooltip$$.corner.search(/left/i)==-1&&!$adjust$$.left),top:$adjust$$.top&&$tooltip$$.corner.search(/top/i)==-1,bottom:$adjust$$.bottom&&$tooltip$$.corner.search(/bottom/i)==-1};if($adjust$$.left){$adjustedPosition$$.left=$self$$.options.position.target!=="mouse"?$target$$.position.left+$target$$.dimensions.width:$self$$.cache.mouse.x;$newCorner$$.x="Left"}else if($adjust$$.right){$adjustedPosition$$.left=$self$$.options.position.target!=="mouse"?$target$$.position.left-$tooltip$$.dimensions.width:
$self$$.cache.mouse.x-$tooltip$$.dimensions.width;$newCorner$$.x="Right"}if($adjust$$.top){$adjustedPosition$$.top=$self$$.options.position.target!=="mouse"?$target$$.position.top+$target$$.dimensions.height:$self$$.cache.mouse.y;$newCorner$$.y="top"}else if($adjust$$.bottom){$adjustedPosition$$.top=$self$$.options.position.target!=="mouse"?$target$$.position.top-$tooltip$$.dimensions.height:$self$$.cache.mouse.y-$tooltip$$.dimensions.height;$newCorner$$.y="bottom"}if($adjustedPosition$$.left<0){$adjustedPosition$$.left=
$position$$.left;$newCorner$$.x=false}if($adjustedPosition$$.top<0){$adjustedPosition$$.top=$position$$.top;$newCorner$$.y=false}if($self$$.options.style.tip.corner!==false){$adjustedPosition$$.corner=new String($tooltip$$.corner);if($newCorner$$.x!==false)$adjustedPosition$$.corner=$adjustedPosition$$.corner.replace(/Left|Right|Middle/,$newCorner$$.x);if($newCorner$$.y!==false)$adjustedPosition$$.corner=$adjustedPosition$$.corner.replace(/top|bottom/,$newCorner$$.y);$adjustedPosition$$.corner!==
$self$$.elements.tip.attr("rel")&&$createTip$$.call($self$$,$adjustedPosition$$.corner)}return $adjustedPosition$$}function $jQueryStyle$$($style_styleObj$$,$sub$$){var $i$$;$style_styleObj$$=$jQuery$$.extend(true,{},$style_styleObj$$);for($i$$ in $style_styleObj$$)if($sub$$===true&&$i$$.search(/(tip|classes)/i)!==-1)delete $style_styleObj$$[$i$$];else!$sub$$&&$i$$.search(/(width|border|tip|title|classes|user)/i)!==-1&&delete $style_styleObj$$[$i$$];return $style_styleObj$$}function $sanitizeStyle$$($style$$){if(typeof $style$$.tip!==
"object")$style$$.tip={corner:$style$$.tip};if(typeof $style$$.tip.size!=="object")$style$$.tip.size={width:$style$$.tip.size,height:$style$$.tip.size};if(typeof $style$$.border!=="object")$style$$.border={width:$style$$.border};if(typeof $style$$.width!=="object")$style$$.width={value:$style$$.width};if(typeof $style$$.width.max=="string")$style$$.width.max=parseInt($style$$.width.max.replace(/([0-9]+)/i,"jQuery1"));if(typeof $style$$.width.min=="string")$style$$.width.min=parseInt($style$$.width.min.replace(/([0-9]+)/i,
"jQuery1"));if(typeof $style$$.tip.size.x=="number"){$style$$.tip.size.width=$style$$.tip.size.x;delete $style$$.tip.size.x}if(typeof $style$$.tip.size.y=="number"){$style$$.tip.size.height=$style$$.tip.size.y;delete $style$$.tip.size.y}return $style$$}function $buildStyle$$(){var $self$$,$finalStyle_i$$,$ieAdjust$$;$self$$=this;$ieAdjust$$=[true,{}];for($finalStyle_i$$=0;$finalStyle_i$$<arguments.length;$finalStyle_i$$++)$ieAdjust$$.push(arguments[$finalStyle_i$$]);for($finalStyle_i$$=[$jQuery$$.extend.apply($jQuery$$,
$ieAdjust$$)];typeof $finalStyle_i$$[0].name=="string";)$finalStyle_i$$.unshift($sanitizeStyle$$($jQuery$$.fn.qtip.styles[$finalStyle_i$$[0].name]));$finalStyle_i$$.unshift(true,{classes:{tooltip:"qtip-"+(arguments[0].name||"defaults")}},$jQuery$$.fn.qtip.styles.defaults);$finalStyle_i$$=$jQuery$$.extend.apply($jQuery$$,$finalStyle_i$$);$ieAdjust$$=$jQuery$$.browser.msie?1:0;$finalStyle_i$$.tip.size.width+=$ieAdjust$$;$finalStyle_i$$.tip.size.height+=$ieAdjust$$;if($finalStyle_i$$.tip.size.width%
2>0)$finalStyle_i$$.tip.size.width+=1;if($finalStyle_i$$.tip.size.height%2>0)$finalStyle_i$$.tip.size.height+=1;if($finalStyle_i$$.tip.corner===true)$finalStyle_i$$.tip.corner=$self$$.options.position.corner.tooltip==="center"?false:$self$$.options.position.corner.tooltip;return $finalStyle_i$$}function $calculateTip$$($corner$$,$tips_width$$,$height$$){$tips_width$$={bottomRight:[[0,0],[$tips_width$$,$height$$],[$tips_width$$,0]],bottomLeft:[[0,0],[$tips_width$$,0],[0,$height$$]],topRight:[[0,$height$$],
[$tips_width$$,0],[$tips_width$$,$height$$]],topLeft:[[0,0],[0,$height$$],[$tips_width$$,$height$$]],topMiddle:[[0,$height$$],[$tips_width$$/2,0],[$tips_width$$,$height$$]],bottomMiddle:[[0,0],[$tips_width$$,0],[$tips_width$$/2,$height$$]],rightMiddle:[[0,0],[$tips_width$$,$height$$/2],[0,$height$$]],leftMiddle:[[$tips_width$$,0],[$tips_width$$,$height$$],[0,$height$$/2]]};$tips_width$$.leftTop=$tips_width$$.bottomRight;$tips_width$$.rightTop=$tips_width$$.bottomLeft;$tips_width$$.leftBottom=$tips_width$$.topRight;
$tips_width$$.rightBottom=$tips_width$$.topLeft;return $tips_width$$[$corner$$]}function $calculateBorders$$($radius$$){var $borders$$;if($jQuery$$("<canvas>").get(0).getContext)$borders$$={topLeft:[$radius$$,$radius$$],topRight:[0,$radius$$],bottomLeft:[$radius$$,0],bottomRight:[0,0]};else if($jQuery$$.browser.msie)$borders$$={topLeft:[-90,90,0],topRight:[-90,90,-$radius$$],bottomLeft:[90,270,0],bottomRight:[90,270,-$radius$$]};return $borders$$}function $bgiframe$$(){var $self$$,$dimensions$$;$self$$=
this;$dimensions$$=$self$$.getDimensions();$self$$.elements.bgiframe=$self$$.elements.wrapper.prepend('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:false" style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=\'0\'); border: 1px solid red; height:'+$dimensions$$.height+"px; width:"+$dimensions$$.width+'px" />').children(".qtip-bgiframe:first")}$jQuery$$.fn.qtip=function $$jQuery$$$fn$qtip$($options$$,$blanket$$){var $i$$,$id$$,$interfaces$$,$opts$$,
$obj$$,$command$$,$config$$,$api$$;if(typeof $options$$=="string"){typeof $jQuery$$(this).data("qtip")!=="object"&&$jQuery$$.fn.qtip.log.error.call(self,1,$jQuery$$.fn.qtip.constants.NO_TOOLTIP_PRESENT,false);if($options$$=="api")return $jQuery$$(this).data("qtip").interfaces[$jQuery$$(this).data("qtip").current];else if($options$$=="interfaces")return $jQuery$$(this).data("qtip").interfaces}else{$options$$||($options$$={});if(typeof $options$$.content!=="object"||$options$$.content.jquery&&$options$$.content.length>
0)$options$$.content={text:$options$$.content};if(typeof $options$$.content.title!=="object")$options$$.content.title={text:$options$$.content.title};if(typeof $options$$.position!=="object")$options$$.position={corner:$options$$.position};if(typeof $options$$.position.corner!=="object")$options$$.position.corner={target:$options$$.position.corner,tooltip:$options$$.position.corner};if(typeof $options$$.show!=="object")$options$$.show={when:$options$$.show};if(typeof $options$$.show.when!=="object")$options$$.show.when=
{event:$options$$.show.when};if(typeof $options$$.show.effect!=="object")$options$$.show.effect={type:$options$$.show.effect};if(typeof $options$$.hide!=="object")$options$$.hide={when:$options$$.hide};if(typeof $options$$.hide.when!=="object")$options$$.hide.when={event:$options$$.hide.when};if(typeof $options$$.hide.effect!=="object")$options$$.hide.effect={type:$options$$.hide.effect};if(typeof $options$$.style!=="object")$options$$.style={name:$options$$.style};$options$$.style=$sanitizeStyle$$($options$$.style);
$opts$$=$jQuery$$.extend(true,{},$jQuery$$.fn.qtip.defaults,$options$$);$opts$$.style=$buildStyle$$.call({options:$opts$$},$opts$$.style);$opts$$.user=$jQuery$$.extend(true,{},$options$$)}return $jQuery$$(this).each(function(){if(typeof $options$$=="string"){$command$$=$options$$.toLowerCase();$interfaces$$=$jQuery$$(this).qtip("interfaces");if(typeof $interfaces$$=="object")if($blanket$$===true&&$command$$=="destroy")for(;$interfaces$$.length>0;)$interfaces$$[$interfaces$$.length-1].destroy();else{if($blanket$$!==
true)$interfaces$$=[$jQuery$$(this).qtip("api")];for($i$$=0;$i$$<$interfaces$$.length;$i$$++)if($command$$=="destroy")$interfaces$$[$i$$].destroy();else if($interfaces$$[$i$$].status.rendered===true)if($command$$=="show")$interfaces$$[$i$$].show();else if($command$$=="hide")$interfaces$$[$i$$].hide();else if($command$$=="focus")$interfaces$$[$i$$].focus();else if($command$$=="disable")$interfaces$$[$i$$].disable(true);else $command$$=="enable"&&$interfaces$$[$i$$].disable(false)}}else{$config$$=$jQuery$$.extend(true,
{},$opts$$);$config$$.hide.effect.length=$opts$$.hide.effect.length;$config$$.show.effect.length=$opts$$.show.effect.length;if($config$$.position.container===false)$config$$.position.container=$jQuery$$(document.body);if($config$$.position.target===false)$config$$.position.target=$jQuery$$(this);if($config$$.show.when.target===false)$config$$.show.when.target=$jQuery$$(this);if($config$$.hide.when.target===false)$config$$.hide.when.target=$jQuery$$(this);$id$$=$jQuery$$.fn.qtip.interfaces.length;
for($i$$=0;$i$$<$id$$;$i$$++)if(typeof $jQuery$$.fn.qtip.interfaces[$i$$]=="undefined"){$id$$=$i$$;break}$obj$$=new $qTip$$($jQuery$$(this),$config$$,$id$$);$jQuery$$.fn.qtip.interfaces[$id$$]=$obj$$;if(typeof $jQuery$$(this).data=="object"&&typeof $jQuery$$(this).data("qtip")=="object"){if(typeof $jQuery$$(this).attr("qtip")==="undefined")$jQuery$$(this).data("qtip").current=$jQuery$$(this).data("qtip").interfaces.length;$jQuery$$(this).data("qtip").interfaces.push($obj$$)}else $jQuery$$(this).data("qtip",
{current:0,interfaces:[$obj$$]});if($config$$.content.prerender===false&&$config$$.show.when.event!==false&&$config$$.show.ready!==true)$config$$.show.when.target.bind($config$$.show.when.event+".qtip-"+$id$$+"-create",{qtip:$id$$},function($event$$){$api$$=$jQuery$$.fn.qtip.interfaces[$event$$.data.qtip];$api$$.options.show.when.target.unbind($api$$.options.show.when.event+".qtip-"+$event$$.data.qtip+"-create");$api$$.cache.mouse={x:$event$$.pageX,y:$event$$.pageY};$construct$$.call($api$$);$api$$.options.show.when.target.trigger($api$$.options.show.when.event)});
else{$obj$$.cache.mouse={x:$config$$.show.when.target.offset().left,y:$config$$.show.when.target.offset().top};$construct$$.call($obj$$)}}})};$jQuery$$(document).ready(function(){$jQuery$$.fn.qtip.cache={screen:{scroll:{left:$jQuery$$(window).scrollLeft(),top:$jQuery$$(window).scrollTop()},width:$jQuery$$(window).width(),height:$jQuery$$(window).height()}};var $adjustTimer$$;$jQuery$$(window).bind("resize scroll",function($event$$){clearTimeout($adjustTimer$$);$adjustTimer$$=setTimeout(function(){if($event$$.type===
"scroll")$jQuery$$.fn.qtip.cache.screen.scroll={left:$jQuery$$(window).scrollLeft(),top:$jQuery$$(window).scrollTop()};else{$jQuery$$.fn.qtip.cache.screen.width=$jQuery$$(window).width();$jQuery$$.fn.qtip.cache.screen.height=$jQuery$$(window).height()}for(i=0;i<$jQuery$$.fn.qtip.interfaces.length;i++){var $api$$=$jQuery$$.fn.qtip.interfaces[i];if($api$$.status.rendered===true&&($api$$.options.position.type!=="static"||$api$$.options.position.adjust.scroll&&$event$$.type==="scroll"||$api$$.options.position.adjust.resize&&
$event$$.type==="resize"))$api$$.updatePosition($event$$,true)}},100)});$jQuery$$(document).bind("mousedown.qtip",function($event$$){$jQuery$$($event$$.target).parents("div.qtip").length===0&&$jQuery$$(".qtip[unfocus]").each(function(){var $api$$=$jQuery$$(this).qtip("api");$jQuery$$(this).is(":visible")&&!$api$$.status.disabled&&$jQuery$$($event$$.target).add($api$$.elements.target).length>1&&$api$$.hide($event$$)})})});$jQuery$$.fn.qtip.interfaces=[];$jQuery$$.fn.qtip.log={error:function $$jQuery$$$fn$qtip$log$error$(){return this}};
$jQuery$$.fn.qtip.constants={};$jQuery$$.fn.qtip.defaults={content:{prerender:false,text:false,url:false,data:null,title:{text:false,button:false}},position:{target:false,corner:{target:"bottomRight",tooltip:"topLeft"},adjust:{x:0,y:0,mouse:true,screen:false,scroll:true,resize:true},type:"absolute",container:false},show:{when:{target:false,event:"mouseover"},effect:{type:"fade",length:100},delay:140,solo:false,ready:false},hide:{when:{target:false,event:"mouseout"},effect:{type:"fade",length:100},
delay:0,fixed:false},api:{beforeRender:function $$jQuery$$$fn$qtip$defaults$api$beforeRender$(){},onRender:function $$jQuery$$$fn$qtip$defaults$api$onRender$(){},beforePositionUpdate:function $$jQuery$$$fn$qtip$defaults$api$beforePositionUpdate$(){},onPositionUpdate:function $$jQuery$$$fn$qtip$defaults$api$onPositionUpdate$(){},beforeShow:function $$jQuery$$$fn$qtip$defaults$api$beforeShow$(){},onShow:function $$jQuery$$$fn$qtip$defaults$api$onShow$(){},beforeHide:function $$jQuery$$$fn$qtip$defaults$api$beforeHide$(){},
onHide:function $$jQuery$$$fn$qtip$defaults$api$onHide$(){},beforeContentUpdate:function $$jQuery$$$fn$qtip$defaults$api$beforeContentUpdate$(){},onContentUpdate:function $$jQuery$$$fn$qtip$defaults$api$onContentUpdate$(){},beforeContentLoad:function $$jQuery$$$fn$qtip$defaults$api$beforeContentLoad$(){},onContentLoad:function $$jQuery$$$fn$qtip$defaults$api$onContentLoad$(){},beforeTitleUpdate:function $$jQuery$$$fn$qtip$defaults$api$beforeTitleUpdate$(){},onTitleUpdate:function $$jQuery$$$fn$qtip$defaults$api$onTitleUpdate$(){},
beforeDestroy:function $$jQuery$$$fn$qtip$defaults$api$beforeDestroy$(){},onDestroy:function $$jQuery$$$fn$qtip$defaults$api$onDestroy$(){},beforeFocus:function $$jQuery$$$fn$qtip$defaults$api$beforeFocus$(){},onFocus:function $$jQuery$$$fn$qtip$defaults$api$onFocus$(){}}};$jQuery$$.fn.qtip.styles={defaults:{background:"white",color:"#111",overflow:"hidden",textAlign:"left",width:{min:0,max:250},padding:"5px 9px",border:{width:1,radius:0,color:"#d3d3d3"},tip:{corner:false,color:false,size:{width:13,
height:13},opacity:1},title:{background:"#e1e1e1",fontWeight:"bold",padding:"7px 12px"},button:{cursor:"pointer"},classes:{target:"",tip:"qtip-tip",title:"qtip-title",button:"qtip-button",content:"qtip-content",active:"qtip-active"}},cream:{border:{width:3,radius:0,color:"#F9E98E"},title:{background:"#F0DE7D",color:"#A27D35"},background:"#FBF7AA",color:"#A27D35",classes:{tooltip:"qtip-cream"}},light:{border:{width:3,radius:0,color:"#E2E2E2"},title:{background:"#f1f1f1",color:"#454545"},background:"white",
color:"#454545",classes:{tooltip:"qtip-light"}},dark:{border:{width:3,radius:0,color:"#303030"},title:{background:"#404040",color:"#f3f3f3"},background:"#505050",color:"#f3f3f3",classes:{tooltip:"qtip-dark"}},red:{border:{width:3,radius:0,color:"#CE6F6F"},title:{background:"#f28279",color:"#9C2F2F"},background:"#F79992",color:"#9C2F2F",classes:{tooltip:"qtip-red"}},green:{border:{width:3,radius:0,color:"#A9DB66"},title:{background:"#b9db8c",color:"#58792E"},background:"#CDE6AC",color:"#58792E",classes:{tooltip:"qtip-green"}},
blue:{border:{width:3,radius:0,color:"#ADD9ED"},title:{background:"#D0E9F5",color:"#5E99BD"},background:"#E5F6FE",color:"#4D9FBF",classes:{tooltip:"qtip-blue"}}}})(jQuery);
