function DcMediaViewer(){var f=null;function j(n,o){if(!n.indexOf){var m=n.length+1;while(m-=1){if(n[m-1]===o){return true}}return false}else{return(n.indexOf(o)!=-1)}}function b(){}b.prototype={getDetailLink:function(l){return"http://load.doccheck.com/de/load.php/cl/details/anid/"+l+"/?cide=dce104648"},getFullPanel:function(o,n){var l='<div style="float:left; width:50%; margin-top: 30px; text-align:center;"><a target="_blank" href="'+this.getDetailLink(o.extid)+'"><img style=""src="'+o.image+'"alt=""/></a><br/><br/><strong>'+o.price+'</strong><br /><br /><a class="dcSlideshowCiButton dcSlideshowCiButtonGray" href="'+this.getDetailLink(o.extid)+'">Download</a></div><div style="float:left; width:50%; height: auto;"><a target="_blank" href="'+this.getDetailLink(o.extid)+'"><strong>'+o.title+"</strong></a><br/><p>"+o.description+'</p></div><div style="clear:both;"></div>';var m=document.createElement("div");m.innerHTML=l;return m}};function g(){}g.prototype={getDetailLink:function(l){return"http://shop.doccheck.com/de/shop.php/cl/details/anid/"+l+"/?cide=dce104648"},getFullPanel:function(o,n){var l='<div style="float:left; width:50%; margin-top: 30px; text-align:center;"><a target="_blank" href="'+this.getDetailLink(o.extid)+'"><img style=""src="'+o.icon+'"alt=""/></a><br/><br/><strong>'+o.price+'</strong><br/><br/><a class="dcSlideshowCiButton dcSlideshowCiButtonGray" href="'+this.getDetailLink(o.extid)+'">Produktdetails</a></div><div style="float:left; width:50%; height: auto;"><a target="_blank" href="'+this.getDetailLink(o.extid)+'"><strong>'+o.title+"</strong></a><br/><p>"+o.description+'</p></div><div style="clear:both;"></div>';var m=document.createElement("div");m.innerHTML=l;return m}};function k(){}k.prototype={getDetailLink:function(l){return"http://pictures.doccheck.com/de/photos//"+l+"/?cide=dce104648"},getFullPanel:function(o,n){var l="<div style=\"height:355px;background: url('"+o.fullurl+'\') center no-repeat;background-size: 100% auto;"><a href="'+this.getDetailLink(o.extid)+'" style="display:block;height:100%;width:100%;text-decoration:none"><span style="width:100%;height:100%;display:block;cursor:pointer">&nbsp;</span></a></div><p style="padding:5px 0;bottom:0"><a target="_blank" href="'+this.getDetailLink(o.extid)+'"><strong>'+o.title+"</strong></a>";if(typeof(o.authorname)!="undefined"&&o.authorname!=""){l+="<br/>Hochgeladen von "+o.authorname}l+="</p>";var m=document.createElement("div");m.innerHTML=l;return m}};function e(){}e.prototype={getDetailLink:function(l){return"http://tv.doccheck.com/de/movie/"+l+"/?cide=dce104648"},getFullPanel:function(r,o){if(typeof(o)=="undefined"){o=true}var m=0;if(o){m=1}var l="";var p=document.getElementById("dcSlideShow_DcTvEmbed_Area");if(p!=null){p.id=undefined}l+='<center><div id="dcSlideShow_DcTvEmbed_Area"></div></center><p style="padding:5px 0;display:block;background:#fafafa;margin:0"><a target="_blank" href="'+this.getDetailLink(r.extid)+'"><strong>'+r.title+"</strong></a>";if(typeof(r.authorname)!="undefined"&&r.authorname!=""){l+="<br/>Hochgeladen von "+r.authorname}l+="</p>";var n=document.createElement("div");n.innerHTML=l;var q=function(s){if(s.target!=n){return}if(typeof(DcTvEmbed)=="undefined"){window.jQuery.getScript("http://cdn.doccheck.com/tv.doccheck.com/js/dcTvEmbed.js",function(){new DcTvEmbed().embedMovie(r.identkey,true,"dcSlideShow_DcTvEmbed_Area","",355)})}else{new DcTvEmbed().embedMovie(r.identkey,true,"dcSlideShow_DcTvEmbed_Area","",355)}};if(n.addEventListener){n.addEventListener("DOMNodeInserted",q,false)}else{if(n.attachEvent){n.attachEvent("DOMNodeInserted",q,false)}}return n},manipulateSliderChild:function(m){var l=document.createElement("img");l.src="http://dccdn.de/mediaviewer.doccheck.com/img/play_button.png";l.style.position="absolute";l.style.zIndex=1000;l.style.bottom="7px";l.style.left="5px";var p=document.createElement("span");p.style.position="absolute";p.style.zIndex=1000;p.style.top="0px";p.style.right="0px";p.style.background="#606060";p.style.color="#fff";p.style.fontSize="10px";p.style.padding="2px";function n(q){if(q<=9){return"0"+q}return q}var o=Math.floor(m.children("a").data("details").duration/60)+":"+n(m.children("a").data("details").duration%60);p.innerHTML=o;m.children("a").first().append(p);m.children("a").first().append(l);return m}};function a(){}a.prototype={getDetailLink:function(l){return"http://www.youtube.com/watch?v="+l},getFullPanel:function(p,o){if(typeof(o)=="undefined"){o=true}var m=0;if(o){m=1}var l='<center><object width="100%" height="355" style="height:355px;width:100%"><param name="movie" value="'+p.embedurl+"&autoplay="+m+'"/><param name="allowFullScreen" value="true"/><param name="wmode" value="transparent"/><param name="allowscriptaccess" value="always"/><embed wmode="transparent" style="height:355px;width:100%" src="'+p.embedurl+"&autoplay="+m+'" type="application/x-shockwave-flash" allowscriptaccess="always"allowfullscreen="true"width="100%" height="355"></embed></object></center><p style="padding:5px 0;"><a target="_blank" href="'+this.getDetailLink(p.extid)+'"><strong>'+p.title+"</strong></p>";var n=document.createElement("div");n.innerHTML=l;return n},manipulateSliderChild:function(m){var l=document.createElement("img");l.src="http://dccdn.de/mediaviewer.doccheck.com/img/play_button.png";l.style.position="absolute";l.style.zIndex=1000;l.style.bottom="7px";l.style.left="5px";var p=document.createElement("span");p.style.position="absolute";p.style.zIndex=1000;p.style.top="0px";p.style.right="0px";p.style.background="#606060";p.style.color="#fff";p.style.fontSize="10px";p.style.padding="2px";function n(q){if(q<=9){return"0"+q}return q}var o=Math.floor(m.children("a").data("details").duration/60)+":"+n(m.children("a").data("details").duration%60);p.innerHTML=o;m.children("a").first().append(p);m.children("a").first().append(l);return m}};function i(){}i.prototype={getDetailLink:function(l){return"http://vimeo.com/"+l},getFullPanel:function(p,o){if(typeof(o)=="undefined"){o=true}var m=0;if(o){m=1}var l='<object style="height:355px;width:100%" width="100%" height="355"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="wmode" value="transparent" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id='+p.extid+"&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1&amp;autoplay="+m+'" /><embed style="height:355px;width:100%" src="http://vimeo.com/moogaloop.swf?clip_id='+p.extid+"&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1&amp;autoplay="+m+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" wmode="transparent"width="100%" height="355"></embed></object><p style="padding:5px 0;"><a target="_blank" href="'+this.getDetailLink(p.extid)+'"><strong>'+p.title+"</strong></a></p>";var n=document.createElement("div");n.innerHTML=l;return n},manipulateSliderChild:function(m){var l=document.createElement("img");l.src="http://dccdn.de/mediaviewer.doccheck.com/img/play_button.png";l.style.position="absolute";l.style.zIndex=1000;l.style.bottom="7px";l.style.left="5px";m.children("a").first().append(l);var p=document.createElement("span");p.style.position="absolute";p.style.zIndex=1000;p.style.top="0px";p.style.right="0px";p.style.background="#606060";p.style.color="#fff";p.style.fontSize="10px";p.style.padding="2px";function n(q){if(q<=9){return"0"+q}return q}var o=Math.floor(m.children("a").data("details").duration/60)+":"+n(m.children("a").data("details").duration%60);p.innerHTML=o;m.children("a").first().append(p);return m}};function h(){}h.prototype={getDetailLink:function(l){return"http://flickr.com/photo.gne?id="+l},getFullPanel:function(o,n){var l="<div style=\"height:400px;background: url('"+o.fullurl+'\') center no-repeat;background-size: 100% auto;"><a href="'+this.getDetailLink(o.extid)+'" style="display:block;height:100%;width:100%;text-decoration:none"><span style="width:100%;height:100%;display:block;cursor:pointer">&nbsp;</span></a></div>';var m=document.createElement("div");m.innerHTML=l;return m}};function c(l){switch(l){case"DcLoad":return new b();case"DcShop":return new g();case"DcPictures":return new k();case"DcTv":return new e();case"YouTube":return new a();case"Vimeo":return new i();case"Flickr":return new h()}}function d(A,v,y,m){var w;var q;var l;var K;var E;var z;var F;var x;var r=false;var H;if(typeof(document.ontouchstart)!="undefined"){r=true}jQuery(document).ready(function(){D("http://dccdn.de/mediaviewer.doccheck.com/css/api/slideshow/0.1.1/slideshow.min.css");q=jQuery("<div></div>").attr({"class":"dcSlideshowCanvas"});w=Array();F=jQuery("<div></div>").attr({"class":"dcSlideshowSlidingTrack"});z=n();F.append(z);q.append(F);l=jQuery("<div/>").attr({"class":"dcSlideshowScrollbar"});t();l.one("mouseenter",M);q.append(l.wrap('<div class="dcSlideshowScrollbarWrap"/>').parent());H=jQuery("<img/>").attr("src","http://mediaviewer.doccheck.com/tracking/track/?actionType=init&slider=");q.append(H);if(y=="max"){s(null)}f(A).append(q)});function t(){var N=z.width()-F.width()-parseInt(w[0].css("margin-right"));l.slider({slide:function(O,P){z.css("left",-P.value)},change:function(O,P){z.css("left",-P.value)}});if(r){I(l)}}function M(N){var O=z.width()-F.width()-parseInt(w[0].css("margin-right"));l.slider("option","max",O)}function D(N){jQuery("head").append(jQuery("<link/>").attr({type:"text/css",href:N,rel:"stylesheet"}))}function n(){var N=jQuery("<div/>").attr({"class":"dcSlideshowSlidingPanel"});for(var P=0;P<v.length;P++){var O=v[P];var Q=G(O);N.append(Q);w.push(Q)}return N}function G(Q){var O=jQuery("<span/>").attr({style:"position:relative;","class":"dcSlideshowChild"});var N=jQuery("<img/>").attr({src:Q.strThumbnailUrl,"class":"dcSlideshowElementImg"});var R=c(Q.intProviderId);var P=jQuery("<a/>").attr({href:R.getDetailLink(Q.strExternalId),target:"_blank","class":"dcSlideshowElementLink"});if(y!="min"){P.click(s)}P.data("provider",Q.intProviderId).data("extid",Q.arrDetails.extid).data("details",Q.arrDetails);P.append(N);O.append(P);if(R.manipulateSliderChild){O=R.manipulateSliderChild(O)}if(m&&!r&&P.data("details").title){O.tooltip({bodyHandler:function(){var S=jQuery(this).children("a").data("details").title;return S},positionTop:true,top:0,left:-38,fade:true,latency:0,delay:100,id:"dcSlideShowTooltipOverlay"})}return O}function s(N){var O=jQuery(this);jQuery("div.dcSlideshowCanvas span.dcSlideshowChild").removeClass("dcSlideshowCurrent");if(N!=null){O.blur();O.parent("span.dcSlideshowChild").addClass("dcSlideshowCurrent")}if(typeof(x)=="undefined"){x=jQuery("<div/>").attr({"class":"dcSlideshowFullPanel"}).css({overflow:"hidden",position:"relative","margin-bottom":"10px","border-bottom":"1px solid #dfdfdf",height:"400px"});if(y=="dynamic"){x.css("display","none");x.slideDown();x.html("<div></div>")}else{if(y=="max"){x.append(J())}}q.prepend(x)}if(N!=null){x.children("div").first().replaceWith(c(O.data("provider")).getFullPanel(O.data("details")));x.children("div").first().trigger({type:"DOMNodeInserted",target:x.children("div").first().context});o(O)}return false}function o(N){H.attr("src","http://mediaviewer.doccheck.com/tracking/track/?slider=&actionType=displayitem&item="+N.data("details")["id"])}function J(){return c(v[0].intProviderId).getFullPanel(v[0].arrDetails,false)}var C=0;function I(N){N.children("a").bind("touchstart",p);N.children("a").bind("touchmove",u)}function p(N){M();N.originalEvent.preventDefault();C=N.originalEvent.touches[0].pageX}var L;var B;function u(O){if(!(O.originalEvent.currentTarget.style.left)){O.originalEvent.currentTarget.style.left="0px"}O.originalEvent.preventDefault();B=O.originalEvent.touches[0].pageX-C;var N=l.slider("option","max")*B/jQuery(O.originalEvent.currentTarget).parent("div").innerWidth();var P=l.slider("value")+N;l.slider("value",P);C=O.originalEvent.touches[0].pageX}}return{slider:"",container:"",view:"dynamic",tooltips:false,embed:function(m){var l=this;if(typeof(m)!="undefined"){if(typeof(m.children)!="undefined"){d(this.container,m.children,l.view,l.tooltips);return}if(typeof(m.slider)!="undefined"){l.slider=m.slider}if(typeof(m.container)!="undefined"){if(typeof(m.container)=="string"){l.container=document.getElementById(m.container)}else{l.container=m.container}}else{document.write('<div id="dcMv_'+l.slider+'"></div>');l.container=document.getElementById("dcMv_"+l.slider)}if(typeof(m.view)!="undefined"){l.view=m.view}if(typeof(m.tooltips)!="undefined"){l.tooltips=m.tooltips}}if(typeof(window.DcMediaViewer.awaitingMediaViewers)!="object"){window.DcMediaViewer.awaitingMediaViewers=new Array()}if(!j(window.DcMediaViewer.awaitingMediaViewers,l)){window.DcMediaViewer.awaitingMediaViewers.push(l)}if(typeof(window.jQuery)=="function"){f=window.jQuery;if(typeof(f.prototype.first)=="undefined"){f.prototype.first=function(){return this.eq(0)};
/*!
 * jQuery UI 1.8.5
 *
 * Special Version for DocCheck MediaViewer - Use only if no other jqueryui is
 * available on your content
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI
 */
}(function(n,p){n.ui=n.ui||{};if(n.ui.version){return}n.extend(n.ui,{version:"1.8.5",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});n.fn.extend({_focus:n.fn.focus,focus:function(q,r){return typeof q==="number"?this.each(function(){var s=this;setTimeout(function(){n(s).focus();if(r){r.call(s)}},q)}):this._focus.apply(this,arguments)},scrollParent:function(){var q;if((n.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){q=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(n.curCSS(this,"position",1))&&(/(auto|scroll)/).test(n.curCSS(this,"overflow",1)+n.curCSS(this,"overflow-y",1)+n.curCSS(this,"overflow-x",1))}).eq(0)}else{q=this.parents().filter(function(){return(/(auto|scroll)/).test(n.curCSS(this,"overflow",1)+n.curCSS(this,"overflow-y",1)+n.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!q.length?n(document):q},zIndex:function(t){if(t!==p){return this.css("zIndex",t)}if(this.length){var r=n(this[0]),q,s;while(r.length&&r[0]!==document){q=r.css("position");if(q==="absolute"||q==="relative"||q==="fixed"){s=parseInt(r.css("zIndex"));if(!isNaN(s)&&s!=0){return s}}r=r.parent()}}return 0},disableSelection:function(){return this.bind("mousedown.ui-disableSelection selectstart.ui-disableSelection",function(q){q.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});n.each(["Width","Height"],function(s,q){var r=q==="Width"?["Left","Right"]:["Top","Bottom"],t=q.toLowerCase(),v={innerWidth:n.fn.innerWidth,innerHeight:n.fn.innerHeight,outerWidth:n.fn.outerWidth,outerHeight:n.fn.outerHeight};function u(y,x,w,z){n.each(r,function(){x-=parseFloat(n.curCSS(y,"padding"+this,true))||0;if(w){x-=parseFloat(n.curCSS(y,"border"+this+"Width",true))||0}if(z){x-=parseFloat(n.curCSS(y,"margin"+this,true))||0}});return x}n.fn["inner"+q]=function(w){if(w===p){return v["inner"+q].call(this)}return this.each(function(){n.style(this,t,u(this,w)+"px")})};n.fn["outer"+q]=function(w,x){if(typeof w!=="number"){return v["outer"+q].call(this,w)}return this.each(function(){n.style(this,t,u(this,w,true,x)+"px")})}});function o(q){return !n(q).parents().andSelf().filter(function(){return n.curCSS(this,"visibility")==="hidden"||n.expr.filters.hidden(this)}).length}n.extend(n.expr[":"],{data:function(s,r,q){return !!n.data(s,q[3])},focusable:function(s){var v=s.nodeName.toLowerCase(),q=n.attr(s,"tabindex");if("area"===v){var u=s.parentNode,t=u.name,r;if(!s.href||!t||u.nodeName.toLowerCase()!=="map"){return false}r=n("img[usemap=#"+t+"]")[0];return !!r&&o(r)}return(/input|select|textarea|button|object/.test(v)?!s.disabled:"a"==v?s.href||!isNaN(q):!isNaN(q))&&o(s)},tabbable:function(r){var q=n.attr(r,"tabindex");return(isNaN(q)||q>=0)&&n(r).is(":focusable")}});n(function(){var r=document.createElement("div"),q=document.body;n.extend(r.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});n.support.minHeight=q.appendChild(r).offsetHeight===100;q.removeChild(r).style.display="none"})})(jQuery);
/*!
 * jQuery UI Widget 1.8.5
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Widget
 */
(function(o,q){if(o.cleanData){var p=o.cleanData;o.cleanData=function(r){for(var s=0,t;(t=r[s])!=null;s++){o(t).triggerHandler("remove")}p(r)}}else{var n=o.fn.remove;o.fn.remove=function(r,s){return this.each(function(){if(!s){if(!r||o.filter(r,[this]).length){o("*",this).add([this]).each(function(){o(this).triggerHandler("remove")})}}return n.call(o(this),r,s)})}}o.widget=function(s,u,r){var t=s.split(".")[0],w;s=s.split(".")[1];w=t+"-"+s;if(!r){r=u;u=o.Widget}o.expr[":"][w]=function(x){return !!o.data(x,s)};o[t]=o[t]||{};o[t][s]=function(x,y){if(arguments.length){this._createWidget(x,y)}};var v=new u();v.options=o.extend(true,{},v.options);o[t][s].prototype=o.extend(true,v,{namespace:t,widgetName:s,widgetEventPrefix:o[t][s].prototype.widgetEventPrefix||s,widgetBaseClass:w},r);o.widget.bridge(s,o[t][s])};o.widget.bridge=function(s,r){o.fn[s]=function(v){var t=typeof v==="string",u=Array.prototype.slice.call(arguments,1),w=this;v=!t&&u.length?o.extend.apply(null,[true,v].concat(u)):v;if(t&&v.substring(0,1)==="_"){return w}if(t){this.each(function(){var x=o.data(this,s);if(!x){throw"cannot call methods on "+s+" prior to initialization; attempted to call method '"+v+"'"}if(!o.isFunction(x[v])){throw"no such method '"+v+"' for "+s+" widget instance"}var y=x[v].apply(x,u);if(y!==x&&y!==q){w=y;return false}})}else{this.each(function(){var x=o.data(this,s);if(x){x.option(v||{})._init()}else{o.data(this,s,new r(v,this))}})}return w}};o.Widget=function(r,s){if(arguments.length){this._createWidget(r,s)}};o.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(s,t){o.data(t,this.widgetName,this);this.element=o(t);this.options=o.extend(true,{},this.options,o.metadata&&o.metadata.get(t)[this.widgetName],s);var r=this;this.element.bind("remove."+this.widgetName,function(){r.destroy()});this._create();this._init()},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(t,u){var s=t,r=this;if(arguments.length===0){return o.extend({},r.options)}if(typeof t==="string"){if(u===q){return this.options[t]}s={};s[t]=u}o.each(s,function(v,w){r._setOption(v,w)});return r},_setOption:function(r,s){this.options[r]=s;if(r==="disabled"){this.widget()[s?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",s)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(s,t,u){var w=this.options[s];t=o.Event(t);t.type=(s===this.widgetEventPrefix?s:this.widgetEventPrefix+s).toLowerCase();u=u||{};if(t.originalEvent){for(var r=o.event.props.length,v;r;){v=o.event.props[--r];t[v]=t.originalEvent[v]}}this.element.trigger(t,u);return !(o.isFunction(w)&&w.call(this.element[0],t,u)===false||t.isDefaultPrevented())}}})(jQuery);
/*!
 * jQuery UI Mouse 1.8.5
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Mouse
 *
 * Depends:
 *	jquery.ui.widget.js
 */
(function(n,o){n.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var p=this;this.element.bind("mousedown."+this.widgetName,function(q){return p._mouseDown(q)}).bind("click."+this.widgetName,function(q){if(p._preventClickEvent){p._preventClickEvent=false;q.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(r){r.originalEvent=r.originalEvent||{};if(r.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(r));this._mouseDownEvent=r;var q=this,s=(r.which==1),p=(typeof this.options.cancel=="string"?n(r.target).parents().add(r.target).filter(this.options.cancel).length:false);if(!s||p||!this._mouseCapture(r)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){q.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(r)&&this._mouseDelayMet(r)){this._mouseStarted=(this._mouseStart(r)!==false);if(!this._mouseStarted){r.preventDefault();return true}}this._mouseMoveDelegate=function(t){return q._mouseMove(t)};this._mouseUpDelegate=function(t){return q._mouseUp(t)};n(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(n.browser.safari||r.preventDefault());r.originalEvent.mouseHandled=true;return true},_mouseMove:function(p){if(n.browser.msie&&!p.button){return this._mouseUp(p)}if(this._mouseStarted){this._mouseDrag(p);return p.preventDefault()}if(this._mouseDistanceMet(p)&&this._mouseDelayMet(p)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,p)!==false);(this._mouseStarted?this._mouseDrag(p):this._mouseUp(p))}return !this._mouseStarted},_mouseUp:function(p){n(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(p.target==this._mouseDownEvent.target);this._mouseStop(p)}return false},_mouseDistanceMet:function(p){return(Math.max(Math.abs(this._mouseDownEvent.pageX-p.pageX),Math.abs(this._mouseDownEvent.pageY-p.pageY))>=this.options.distance)},_mouseDelayMet:function(p){return this.mouseDelayMet},_mouseStart:function(p){},_mouseDrag:function(p){},_mouseStop:function(p){},_mouseCapture:function(p){return true}})})(jQuery);(function(o,p){var n=5;o.widget("ui.slider",o.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var q=this,r=this.options;this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();if(r.disabled){this.element.addClass("ui-slider-disabled ui-disabled")}this.range=o([]);if(o(".ui-slider-handle",this.element).length===0){o("<a href='#'></a>").appendTo(this.element).addClass("ui-slider-handle")}this.handles=o(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(s){s.preventDefault()});this.handles.each(function(s){o(this).data("index.ui-slider-handle",s)});this.handles.keydown(function(x){var u=true,t=o(this).data("index.ui-slider-handle"),y,v,s,w;if(q.options.disabled){return}switch(x.keyCode){case o.ui.keyCode.HOME:case o.ui.keyCode.END:case o.ui.keyCode.PAGE_UP:case o.ui.keyCode.PAGE_DOWN:case o.ui.keyCode.UP:case o.ui.keyCode.RIGHT:case o.ui.keyCode.DOWN:case o.ui.keyCode.LEFT:u=false;if(!q._keySliding){q._keySliding=true;o(this).addClass("ui-state-active");y=q._start(x,t);if(y===false){return}}break}w=q.options.step;if(q.options.values&&q.options.values.length){v=s=q.values(t)}else{v=s=q.value()}switch(x.keyCode){case o.ui.keyCode.HOME:s=q._valueMin();break;case o.ui.keyCode.END:s=q._valueMax();break;case o.ui.keyCode.PAGE_UP:s=q._trimAlignValue(v+((q._valueMax()-q._valueMin())/n));break;case o.ui.keyCode.PAGE_DOWN:s=q._trimAlignValue(v-((q._valueMax()-q._valueMin())/n));break;case o.ui.keyCode.UP:case o.ui.keyCode.RIGHT:if(v===q._valueMax()){return}s=q._trimAlignValue(v+w);break;case o.ui.keyCode.DOWN:case o.ui.keyCode.LEFT:if(v===q._valueMin()){return}s=q._trimAlignValue(v-w);break}q._slide(x,t,s);return u}).keyup(function(t){var s=o(this).data("index.ui-slider-handle");if(q._keySliding){q._keySliding=false;q._stop(t,s);q._change(t,s);o(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_mouseCapture:function(s){var t=this.options,w,y,r,u,A,x,z,v,q;if(t.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();w={x:s.pageX,y:s.pageY};y=this._normValueFromMouse(w);r=this._valueMax()-this._valueMin()+1;A=this;this.handles.each(function(B){var C=Math.abs(y-A.values(B));if(r>C){r=C;u=o(this);x=B}});if(t.range===true&&this.values(1)===t.min){x+=1;u=o(this.handles[x])}z=this._start(s,x);if(z===false){return false}this._mouseSliding=true;A._handleIndex=x;u.addClass("ui-state-active").focus();v=u.offset();q=!o(s.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=q?{left:0,top:0}:{left:s.pageX-v.left-(u.width()/2),top:s.pageY-v.top-(u.height()/2)-(parseInt(u.css("borderTopWidth"),10)||0)-(parseInt(u.css("borderBottomWidth"),10)||0)+(parseInt(u.css("marginTop"),10)||0)};this._slide(s,x,y);this._animateOff=true;return true},_mouseStart:function(q){return true},_mouseDrag:function(s){var q={x:s.pageX,y:s.pageY},r=this._normValueFromMouse(q);this._slide(s,this._handleIndex,r);return false},_mouseStop:function(q){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(q,this._handleIndex);this._change(q,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(r){var q,u,t,s,v;if(this.orientation==="horizontal"){q=this.elementSize.width;u=r.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{q=this.elementSize.height;u=r.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}t=(u/q);if(t>1){t=1}if(t<0){t=0}if(this.orientation==="vertical"){t=1-t}s=this._valueMax()-this._valueMin();v=this._valueMin()+t*s;return this._trimAlignValue(v)},_start:function(s,r){var q={handle:this.handles[r],value:this.value()};if(this.options.values&&this.options.values.length){q.value=this.values(r);q.values=this.values()}return this._trigger("start",s,q)},_slide:function(u,t,s){var q,r,v;if(this.options.values&&this.options.values.length){q=this.values(t?0:1);if((this.options.values.length===2&&this.options.range===true)&&((t===0&&s>q)||(t===1&&s<q))){s=q}if(s!==this.values(t)){r=this.values();r[t]=s;v=this._trigger("slide",u,{handle:this.handles[t],value:s,values:r});q=this.values(t?0:1);if(v!==false){this.values(t,s,true)}}}else{if(s!==this.value()){v=this._trigger("slide",u,{handle:this.handles[t],value:s});if(v!==false){this.value(s)}}}},_stop:function(s,r){var q={handle:this.handles[r],value:this.value()};if(this.options.values&&this.options.values.length){q.value=this.values(r);q.values=this.values()}this._trigger("stop",s,q)},_change:function(s,r){if(!this._keySliding&&!this._mouseSliding){var q={handle:this.handles[r],value:this.value()};if(this.options.values&&this.options.values.length){q.value=this.values(r);q.values=this.values()}this._trigger("change",s,q)}},value:function(q){if(arguments.length){this.options.value=this._trimAlignValue(q);this._refreshValue();this._change(null,0)}return this._value()},values:function(r,u){var t,q,s;if(arguments.length>1){this.options.values[r]=this._trimAlignValue(u);this._refreshValue();this._change(null,r)}if(arguments.length){if(o.isArray(arguments[0])){t=this.options.values;q=arguments[0];for(s=0;s<t.length;s+=1){t[s]=this._trimAlignValue(q[s]);this._change(null,s)}this._refreshValue()}else{if(this.options.values&&this.options.values.length){return this._values(r)}else{return this.value()}}}else{return this._values()}},_setOption:function(r,s){var q,t=0;if(o.isArray(this.options.values)){t=this.options.values.length}o.Widget.prototype._setOption.apply(this,arguments);switch(r){case"disabled":if(s){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case"orientation":this._detectOrientation();this.element.removeClass("ui-slider-horizontal ui-slider-vertical").addClass("ui-slider-"+this.orientation);this._refreshValue();break;case"value":this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"values":this._animateOff=true;this._refreshValue();for(q=0;q<t;q+=1){this._change(null,q)}this._animateOff=false;break}},_value:function(){var q=this.options.value;q=this._trimAlignValue(q);return q},_values:function(q){var t,s,r;if(arguments.length){t=this.options.values[q];t=this._trimAlignValue(t);return t}else{s=this.options.values.slice();for(r=0;r<s.length;r+=1){s[r]=this._trimAlignValue(s[r])}return s}},_trimAlignValue:function(t){if(t<this._valueMin()){return this._valueMin()}if(t>this._valueMax()){return this._valueMax()}var q=(this.options.step>0)?this.options.step:1,s=t%q,r=t-s;if(Math.abs(s)*2>=q){r+=(s>0)?q:(-q)}return parseFloat(r.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var t=this.options.range,s=this.options,z=this,r=(!this._animateOff)?s.animate:false,u,q={},v,x,w,y;x=this.value();w=this._valueMin();y=this._valueMax();u=(y!==w)?(x-w)/(y-w)*100:0;q[z.orientation==="horizontal"?"left":"bottom"]=u+"%";this.handle.stop(1,1)[r?"animate":"css"](q,s.animate)}});o.extend(o.ui.slider,{version:"1.8.5"})})(jQuery);document.write('<script type="text/javascript" src="http://mediaviewer.doccheck.com/api/slideshow.js?slider='+l.slider+'&version=0.1.1" ><\/script>');return}else{if(!DcMediaViewer.isJqueryRequested){document.write('<script type="text/javascript" src="http://dccdn.de/mediaviewer.doccheck.com/js/api/jquery-custom-dcmv.0.1.2.min.js" ><\/script>');DcMediaViewer.isJqueryRequested=true}}}}}DcMediaViewer.remoteServiceResultListener=function(c,a){if(c=="jquery_loaded"){for(var b=0;b<window.DcMediaViewer.awaitingMediaViewers.length;b++){window.DcMediaViewer.awaitingMediaViewers[b].embed()}}else{if(c=="children_result"){for(var b=0;b<window.DcMediaViewer.awaitingMediaViewers.length;b++){if(window.DcMediaViewer.awaitingMediaViewers[b].slider==a.slider){window.DcMediaViewer.awaitingMediaViewers[b].embed(a)}}}}};
