/*
 * luebbe specific javascript
 * this is an automatically generated file
 * 
 * 
 * copyright: 2010 core4
 * contact person: felix hamann <f.hamann@core4.de>
 * 
 * release: 
 * generated: 11.01.12 - 08.34.15
 * generator: Lujacami, version 1.0
 * compressed with YUI: <http://yuilibrary.com/projects/yuicompressor>
 *
 * comment []
 *
 *
 * plugins from external authors:
 *
 *   scrollable.js
 *     Dual licensed under MIT and GPL 2+ licenses
 *     Copyright (c) 2009, Tero Piirainen
 *
 *   scrollableCircular.js
 *     Dual licensed under MIT and GPL 2+ licenses
 *     Copyright (c) 2009, Tero Piirainen
 *
 *   featureCarousel.js
 *     Licensed under GPL version 3
 *     Copyright (c) 2010, Brian Osborne
 *
 *   prettyPhoto.js
 *     Copyright (c) 2010, Stephane Caron
 */

//	0: bookalize.js |  *	Version: 3.0
		jQuery.fn.bookalize=function(){jQuery(this).each(function(a,f){if(jQuery(f).parent().parent().parent().parent().hasClass("bookalized")){var e=f;jQuery(f).clone(true).insertBefore(jQuery(f).parent().parent().parent().parent());jQuery(f).parent().parent().parent().parent().parent().children().each(function(l,m){if((jQuery(m).attr("class").match(/bookalize.+[^d]/))!=null){f=jQuery(m)}});jQuery(e).parent().parent().parent().parent().remove()}var k=jQuery(f).attr("class").split(" ");var b;jQuery.each(k,function(l,m){b=(m.match(/bookalize.*/))?m:"";b=String(b)});var b=d(b);function d(l){var l=l.replace("bookalize_","");jQuery.trim(l);var l=l.split("_");if(l==""||l==undefined){var l="default"}if(l.length<=1){var l=l.push("8","28","5","5")}return l}var h=jQuery(f).height();var i=jQuery(f).width();var g=b.shift();var c={top:Number(b[0]),right:Number(b[1]),bottom:Number(b[2]),left:Number(b[3])};jQuery(f).wrap('<div class="bookalized"><div class="bd"><div class="c"><div class="s"></div></div></div></div>');var j=jQuery(f).parent().parent().parent().parent();jQuery(j).prepend('<div class="hd"></div><div class="c"></div>').append('<div class="ft"></div><div class="c"></div>');jQuery(j).css({width:i+c.left+c.right+"px",height:h+c.top+c.bottom+"px"});jQuery(f).parent().css({margin:"0 "+c.right+"px 0 "+c.left+"px"});jQuery(f).css({margin:"0"});jQuery(j).children().filter(".hd").css({background:"transparent url(/img/bookalize/"+g+"_tl.png) no-repeat 0px 0px",height:c.top+"px",width:Number(i)+Number(c.left)+"px","float":"left"});jQuery(j).children().filter(".hd").next().css({background:"transparent url(/img/bookalize/"+g+"_tr.png) no-repeat right 0px",height:c.top+"px"});jQuery(j).children().filter(".bd").css({background:"transparent url(/img/bookalize/"+g+"_ml.png) repeat-y 0px 0px"});jQuery(j).children().filter(".bd").children().filter(".c").css({background:"transparent url(/img/bookalize/"+g+"_mr.png) repeat-y right bottom"});jQuery(j).children().filter(".ft").css({background:"transparent url(/img/bookalize/"+g+"_bl.png) no-repeat 0px 0px",width:Number(i)+Number(c.left)+"px",height:c.bottom+"px","float":"left"});jQuery(j).children().filter(".ft").next().css({background:"transparent url(/img/bookalize/"+g+"_br.png) no-repeat right 0px",height:c.bottom+"px"})})};
	
//	1: buehne.js |  *	Version: 2
		(function(a,b){jQuery.fn.stagePreloader=function(d){var c;if(d.buehne_wechsler){c=[{section:"general",src:d.Allgemein},{section:"spannung",src:d.Spannung},{section:"fantasy",src:d.Fantasy},{section:"frauen",src:d.Frauen},{section:"kinder",src:d.Kinder},{section:"historisches",src:d.Historisches},{section:"serienwelten",src:d.Serienwelten}]}else{c=[{section:"general",src:d.Default}]}jQuery(c).each(function(g,k){var f=(k.src&&k.src.buehne_slideshow&&k.src.buehne_slideshow.length>0)?k.src.buehne_slideshow:[k.src],l=b("<div />",{id:"buehnenImg_"+k.section}).appendTo("#head_preloader"),h=f.length,e=0,j=function(){if(e===h&&h>1){l.stageFader()}};b(f).each(function(n,p){var m,i=(p)?p.buehnen_flash||p.flash:null,o=(p)?p.buehnen_grafik||p.grafik:null;if(o==null&&i==null){return true}if(k.src!==null){m=b("<div />",{id:"buehnenCaroussel-"+n,"class":"buehnenCaroussel"}).appendTo(l);if(i&&i.length>10){i=i.split("|");m.flash({swf:"/daten_pool/ir_buehnen/"+i[0],width:i[1],height:i[2],wmode:"transparent",scale:"exactfit",quality:"high"});e+=1;j()}else{b(new Image()).load(function(){e+=1;var r=b(this).appendTo(m),q=p.buehnen_grafik_externer_link||p.externer_link;if(q){r.wrap('<a href="'+q+'" />').click(function(){try{ET_Event.eventStart("Bühne_"+k.src.buehne_titel+"_"+k.src.buehne_themenwelt_bezeichnung,k.src.buehnen_grafik_externer_link,"Klick","")}catch(s){return}})}j()}).attr({src:o})}}})});if(c.length>1){b("#head_preloader_hover li").stageChange(c)}};jQuery.fn.stageFader=function(){var d=b(this),c=d.children(),k=b('<div class="stageFader-handler" />').appendTo(d),j,g=0,h=[],i=function(l){l=parseInt(l,10);if(g===l){return}if(j===undefined){j=k.children()}var n=h[g],m=h[l];m.css({zIndex:2,display:"block"});j.css({background:"white"}).eq(l).css({background:"#E4EDF5"});n.fadeOut("slow",function(){n.css("zIndex",1);m.css("zIndex",3);g=l})},e,f=function(l){if(l==="start"){e=a.setInterval(function(){var m=(g===c.length-1)?0:g+1;i(m)},5000)}if(l==="stop"){a.clearInterval(e);e=a.setTimeout(function(){f("start")},3000)}};c.each(function(l,m){m=b(m).css({zIndex:(l===0)?3:1});h.push(m);k.append('<a href="#">'+(l+1)+"</a>");if(l===0){k.children().css("background","white")}});k.children().bind("click",function(l){l.preventDefault();f("stop");i(parseInt(b(this).text())-1)});f("start")};jQuery.fn.stageChange=function(d){var f=b(this),c={all:b("#head_preloader").children()},e={};function g(k,h){var j=(k==="hide")?c.general:c[h],i=e[h],l=i.css("backgroundPosition");if(l===undefined){l=e.css("background-position-y")}else{l=l.substring(7)}c.all.hide();j.show();if(k==="show"){i.css({backgroundPosition:"-235px "+l,width:"250px",position:"relative",left:"-20px"})}if(k==="hide"){i.css({backgroundPosition:"-255px "+l,width:"230px",left:"0px"})}}b(d).each(function(j,k){var h=(k.src)?k.section:d[0].section;c[h]=b("#buehnenImg_"+h);if(h!=="general"){c[h].hide()}});f.each(function(l,m){var j=b(m),k=b(m).children(),h=k.attr("type");e[h]=k;k.hover(function(i){g("show",h)},function(i){g("hide",h)})})}}(this,jQuery));
	
//	2: graphicalSelectbox.js |  *	Version: 1.0
		var graphicalSelectBoxIsOpened=null;this.graphicalselectBox=function(){jQuery(".selectBox a.current").click(function(b){graphicalSelectBoxIsOpened=false;var a=jQuery(this).parent();var c=a.offset();jQuery("body").append('<div class="jQuerySelectBox"><div class="bookalize bookalize_overlayshadow_0_3_8_0 ">'+a.html()+"</div></div>");jQuery(".jQuerySelectBox").css({position:"absolute",left:c.left,top:c.top});jQuery(".selectBox a.current").hide();b.preventDefault()});jQuery("body").bind("click",function(){if(graphicalSelectBoxIsOpened){jQuery(".jQuerySelectBox").replaceWith("");jQuery(".selectBox a.current").show();graphicalSelectBoxIsOpened=false}else{graphicalSelectBoxIsOpened=true}})};
	
//	3: highlightStage.js |  *	Version: 1.0
		var hs_items=new Array;var hs_current=0;function highlightStage(){jQuery("#hs_array .hs_item").each(function(g){var k=jQuery(this).children(".hs_smallThumb").attr("src");var d=jQuery(this).children(".hs_bigThumb").attr("src");var j=jQuery(this).children(".hs_headline").html();var l=jQuery(this).children(".hs_content").html();var e=jQuery(this).children(".hs_anchor").attr("href");var f=jQuery(this).children(".hs_type").html();hs_items[g]=new hs_item(k,d,j,l,e,f)});manipulate();jQuery("#hs_next").click(function(){(hs_current==0)?hs_current=hs_items.length-1:--hs_current;manipulate("next")});jQuery("#hs_prev").click(function(){(hs_current!=(hs_items.length-1))?++hs_current:hs_current=0;manipulate("prev")})}function manipulate(e){var a=hs_items.length-1;var b=hs_current;var d=1;var c=2;switch(b){case 0:var d=a;var c=a-1;break;case 1:var d=0;var c=a;break;default:var d=b-1;var c=b-2;break}jQuery("#hs_h").html(hs_items[b].h);jQuery("#hs_c").html(hs_items[b].c);jQuery("#hs_t").html(hs_items[b].t);jQuery("#hs_b").attr({src:hs_items[b].b}).bookalize();jQuery(".hs_reference").attr({href:hs_items[b].a});(hs_items[d])?jQuery("#hs_firstnext").attr({src:hs_items[d].s}).bookalize():jQuery("#hs_firstnext").remove();(hs_items[c])?jQuery("#hs_secondnext").attr({src:hs_items[c].s}).bookalize():jQuery("#hs_secondnext").remove()}function hs_item(i,d,g,j,e,f){this.s=i;this.b=d;this.h=g;this.c=j;this.a=e;this.t=f};
	
//	4: lightbox.js |  *	Version: 2.6
		jQuery.fn.lightbox=function(){jQuery(this).each(function(f){var d=a(jQuery(this).attr("class"));if(d=="prev"){var g=jQuery(this).prev();var d=f}else{var g="#lightbox_"+d}var e={height:jQuery(g).height()+8,width:jQuery(g).width()+8};if(jQuery(g).length){jQuery("#lightboxes").append('<div id="lightboxOuter_'+d+'" class="lightboxOuter"><div id="lightboxInner_'+d+'" class="lightboxInner"><div class="LightBoxBox bookalize bookalize_overlayshadow_0_5_8_3"><div class="CloseLightBox"><span class="title">'+jQuery(this).attr("title")+'</span><a class="closeButton" href="#" title="Schlie&szlig;en"><dfn>close</dfn></a></div><div class="content">'+jQuery(g).html()+"</div></div></div></div>");jQuery(g).remove();var c=jQuery("#lightboxInner_"+d);jQuery(c).css({width:e.width,height:e.height})}jQuery(this).click(function(h){h.preventDefault();if(!jQuery(this).hasClass("noLightbox")){jQuery("#lightboxOuter_"+d).placeLightbox()}});jQuery(".closeButton").click(function(h){b(h)});function b(h){h.preventDefault();jQuery("#lightboxOuter_"+d).css({top:"-3000px"});jQuery("#LightBoxWrapper").fadeTo(0,0).hide()}});function a(c){var b=c.split(" ");var d;jQuery.each(b,function(f,g){d=(g.match(/lightbox.*/))?g:"";d=String(d)});var d=d.replace(/lightbox_/,"");jQuery.trim(d);return d}jQuery("body").append('<div id="LightBoxWrapper"></div>');jQuery("#LightBoxWrapper").fadeTo(0,0).hide()};jQuery.fn.placeLightbox=function(){var b=this;var a={height:jQuery(window).height()};jQuery("#LightBoxWrapper").show().fadeTo(500,0.7);jQuery(b).hide().css({top:(((a.height/2)-(jQuery(b).height()/2))<20)?20:((a.height/2)-(jQuery(b).height()/2)+jQuery(window).scrollTop())}).fadeIn(1000)};function lightbox(c,a,b){if(c=="content"){switch(a){case"passwordForgottenFromLogin":var d=jQuery(b).parent().parent().parent();d.children().slideUp("slow",function(){d.children(".hideme").removeAttr("class").slideDown("slow",function(){jQuery(this).css("zoom","1")})});d.prev().children().click(function(){d.children().show().next().removeAttr("style").addClass("hideme")});d.parent().parent().parent().parent().parent().parent().parent().placeLightbox();break;default:break}}if(c=="whole"){switch(a){case"registrationFromLogin":jQuery(b).parent().parent().parent().parent().parent().parent().parent().parent().parent().fadeOut("slow",function(){jQuery(b).css({top:"-3000px"});jQuery("#lightboxOuter_MyWorldRegistration").placeLightbox()});break;case"loginErrorfromLoginOverlay":jQuery(b).fadeOut("slow",function(){jQuery(b).css({top:"-3000px"});jQuery("#lightboxOuter_myWorldLoginError").placeLightbox()});break;case"pressregistrationFromLogin":jQuery(b).parent().parent().parent().parent().parent().parent().parent().parent().parent().fadeOut("slow",function(){jQuery(b).css({top:"-3000px"});jQuery("#lightboxOuter_PressRegistration").placeLightbox()});break;case"pressLoginErrorFromPressNotLoggedIn":jQuery(b).fadeOut("slow",function(){jQuery(b).css("top","-3000px");jQuery("#lightboxOuter_pressLoginError").placeLightbox()});break;default:break}}};
	
//	5: scrollable.js |  *	Version: 1.1.1
		(function(c){jQuery.tools=jQuery.tools||{};jQuery.tools.scrollable={version:"1.1.1",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var d,a=0;function b(q,o,m){var t=this,r=jQuery(this),e=!o.vertical,f=q.children(),l=0,j;if(!d){d=t}jQuery.each(o,function(u,v){if(jQuery.isFunction(v)){r.bind(u,v)}});if(f.length>1){f=jQuery(o.items,q)}function n(v){var u=jQuery(v);return m==1||u.length==1||o.globalNav?u:q.parent().find(v)}q.data("finder",n);var g=n(o.prev),i=n(o.next),h=n(o.prevPage),p=n(o.nextPage);jQuery.extend(t,{getIndex:function(){return l},getClickIndex:function(){var u=t.getItems();return u.index(u.filter("."+o.activeClass))},getConf:function(){return o},getSize:function(){return t.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/o.size)},getPageIndex:function(){return Math.ceil(l/o.size)},getNaviButtons:function(){return g.add(i).add(h).add(p)},getRoot:function(){return q},getItemWrap:function(){return f},getItems:function(){return f.children(o.item)},getVisibleItems:function(){return t.getItems().slice(l,l+o.size)},seekTo:function(u,y,v){if(u<0){u=0}if(l===u){return t}if(y===undefined){y=o.speed}if(jQuery.isFunction(y)){v=y;y=o.speed}if(u>t.getSize()-o.size){return o.loop?t.begin():this.end()}var w=t.getItems().eq(u);if(!w.length){return t}var x=jQuery.Event("onBeforeSeek");r.trigger(x,[u]);if(x.isDefaultPrevented()){return t}function z(){if(v){v.call(t)}r.trigger("onSeek",[u])}if(e){f.animate({left:-w.position().left},y,o.easing,z)}else{f.animate({top:-w.position().top},y,o.easing,z)}d=t;l=u;return t},move:function(w,v,u){j=w>0;return this.seekTo(l+w,v,u)},next:function(v,u){return this.move(1,v,u)},prev:function(v,u){return this.move(-1,v,u)},movePage:function(y,x,w){j=y>0;var u=o.size*y;var v=l%o.size;if(v>0){u+=(y>0?-v:o.size-v)}return this.move(u,x,w)},prevPage:function(v,u){return this.movePage(-1,v,u)},nextPage:function(v,u){return this.movePage(1,v,u)},setPage:function(v,w,u){return this.seekTo(v*o.size,w,u)},begin:function(v,u){j=false;return this.seekTo(0,v,u)},end:function(v,u){j=true;var w=this.getSize()-o.size;return w>0?this.seekTo(w,v,u):t},reload:function(){r.trigger("onReload");return t},bind:function(u,v){r.bind(u,v);return t},onBeforeSeek:function(u){return this.bind("onBeforeSeek",u)},onSeek:function(u){return this.bind("onSeek",u)},onReload:function(u){return this.bind("onReload",u)},unbind:function(u){r.unbind(u);return t},focus:function(){d=t;return t},click:function(w){var x=t.getItems().eq(w),u=o.activeClass,v=o.size;if(w<0||w>=t.getSize()){return t}if(v==1){if(o.loop){return t.next()}if(w===0||w==t.getSize()-1){j=(j===undefined)?true:!j}return j===false?t.prev():t.next()}if(v==2){if(w==l){w--}t.getItems().removeClass(u);x.addClass(u);return t.seekTo(w,time,fn)}if(!x.hasClass(u)){t.getItems().removeClass(u);x.addClass(u);var z=Math.floor(v/2);var y=w-z;if(y>t.getSize()-v){y=t.getSize()-v}if(y!==w){return t.seekTo(y)}}return t}});g.addClass(o.disabledClass).click(function(){t.prev()});i.click(function(){t.next()});p.click(function(){t.nextPage()});h.addClass(o.disabledClass).click(function(){t.prevPage()});t.onSeek(function(v,u){if(u===0){g.add(h).addClass(o.disabledClass)}else{g.add(h).removeClass(o.disabledClass)}if(u>=t.getSize()-o.size){i.add(p).addClass(o.disabledClass)}else{i.add(p).removeClass(o.disabledClass)}});var k=o.hoverClass,s="keydown."+Math.random().toString().substring(10);t.onReload(function(){if(k){t.getItems().hover(function(){jQuery(this).addClass(k)},function(){jQuery(this).removeClass(k)})}if(o.clickable){t.getItems().each(function(u){jQuery(this).unbind("click.scrollable").bind("click.scrollable",function(v){if(jQuery(v.target).is("a")){return}return t.click(u)})})}if(o.keyboard){jQuery(document).unbind(s).bind(s,function(u){if(u.altKey||u.ctrlKey){return}if(o.keyboard!="static"&&d!=t){return}var v=o.keyboardSteps;if(e&&(u.keyCode==37||u.keyCode==39)){t.move(u.keyCode==37?-v:v);return u.preventDefault()}if(!e&&(u.keyCode==38||u.keyCode==40)){t.move(u.keyCode==38?-v:v);return u.preventDefault()}return true})}else{jQuery(document).unbind(s)}});t.reload()}jQuery.fn.scrollable=function(e){var f=this.eq(typeof e=="number"?e:0).data("scrollable");if(f){return f}var g=jQuery.extend({},jQuery.tools.scrollable.conf);e=jQuery.extend(g,e);e.keyboardSteps=e.keyboardSteps||e.size;a+=this.length;this.each(function(){f=new b(jQuery(this),e);jQuery(this).data("scrollable",f)});return e.api?f:this}})(jQuery);
	
//	6: scrollableCircular.js |  *	Version: 0.5.1
		(function(b){var a=jQuery.tools.scrollable;a.plugins=a.plugins||{};a.plugins.circular={version:"0.5.1",conf:{api:false,clonedClass:"cloned"}};jQuery.fn.circular=function(e){var d=jQuery.extend({},a.plugins.circular.conf),c;jQuery.extend(d,e);this.each(function(){var i=b(this).scrollable(),n=i.getItems(),k=i.getConf(),f=i.getItemWrap(),j=0;if(i){c=i}if(n.length<k.size){return false}n.slice(0,k.size).each(function(o){b(this).clone().appendTo(f).click(function(){i.click(n.length+o)}).addClass(d.clonedClass)});var l=jQuery.makeArray(n.slice(-k.size)).reverse();b(l).each(function(o){b(this).clone().prependTo(f).click(function(){i.click(-o-1)}).addClass(d.clonedClass)});var m=f.children(k.item);var h=k.hoverClass;if(h){m.hover(function(){b(this).addClass(h)},function(){b(this).removeClass(h)})}function g(o){var p=m.eq(o);if(k.vertical){f.css({top:-p.position().top})}else{f.css({left:-p.position().left})}}g(k.size);jQuery.extend(i,{move:function(s,r,p,q){var u=j+s+k.size;var t=u>i.getSize()-k.size;if(u<0||t){var o=j+k.size+(t?-n.length:n.length);g(o);u=o+s}if(q){m.removeClass(k.activeClass).eq(u+Math.floor(k.size/2)).addClass(k.activeClass)}if(u===j+k.size){return self}return i.seekTo(u,r,p)},begin:function(p,o){return this.seekTo(k.size,p,o)},end:function(p,o){return this.seekTo(n.length,p,o)},click:function(p,r,q){if(!k.clickable){return self}if(k.size==1){return this.next()}var s=p-j,o=k.activeClass;s-=Math.floor(k.size/2);return this.move(s,r,q,true)},getIndex:function(){return j},setPage:function(p,q,o){return this.seekTo(p*k.size+k.size,q,o)},getPageAmount:function(){return Math.ceil(n.length/k.size)},getPageIndex:function(){if(j<0){return this.getPageAmount()-1}if(j>=n.length){return 0}return(j+k.size)/k.size-1},getVisibleItems:function(){var o=j+k.size;return m.slice(o,o+k.size)}});i.onSeek(function(p,o){j=o-k.size;i.getNaviButtons().removeClass(k.disabledClass)});i.getNaviButtons().removeClass(k.disabledClass)});return d.api?c:this}})(jQuery);
	
//	7: tooltip.js |  *	Version: 1.0
		jQuery.fn.tooltip=function(){jQuery(this).hover(function(){jQuery("body").prepend('<div class="tooltip_books">'+jQuery(this).parent().parent().parent().parent().prev("dfn").html()+"</div>");jQuery(this).bind("mousemove",function(a){jQuery(".tooltip_books").css({top:a.pageY-45,left:a.pageX+30})});jQuery(".tooltip_books").css({zIndex:300,position:"absolute",top:"-500px",left:"-500px"}).show()},function(){jQuery(this).unbind("mousemove");jQuery(".tooltip_books").hide().remove()})};
	
//	8: simpleSlider.js |  *	Version: 2.0.0
		jQuery.fn.simpleSlider=function(){var e=jQuery(this);var d=e.prev().prev();var c=e.prev();var b=e.next();var a=e.next().next();d.hide();c.hide();a.hide();jQuery(".simpleSliderToggle").click(function(){var f=jQuery(this).attr("href");if(f=="#simpleSliderContent"){d.slideUp("fast");c.slideUp("fast");e.slideDown("slow");b.show();a.hide()}else{e.slideUp("fast");if(f=="#simpleSliderContent_1"){d.slideDown("slow")}else{c.slideDown("slow")}b.hide();a.show()}return false})};
	
//	9: calendar.js |  *	Version: 1.1
		jQuery.fn.calendar=function(a){jQuery(this).live("dateGotTriggered",function(b){window.setTimeout(function(){for(var c=0;c<=a.length;c++){var d=jQuery(".dateNumber"+c);if(d.length){d.removeAttr("onclick").removeClass("dateNumber"+c).children().attr({href:a[c].url,title:a[c].title})}}},1000)});jQuery(this).datepicker({dayNamesMin:["So","Mo","Di","Mi","Do","Fr","Sa"],dayNamesShort:["Son","Mon","Die","Mit","Don","Fre","Sam"],dayNames:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],monthNames:["Januar","Februar","M&auml;rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthNamesShort:["Jan","Feb","M&auml;r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],beforeShowDay:function(b){for(var c=0;c<a.length;c++){if(b.getDate()==a[c].day&&b.getMonth()==a[c].month-1&&b.getFullYear()==a[c].year){return[true,"dateNumber"+c,jQuery(this).trigger("dateGotTriggered")]}}return[false,"notSelectable"]}})};
	
//	10: validate.luebbe.js |  *	Version: 3.4.11
		function sendNewsletter(c){var b=c;var a=checkNewsl();prepareForm(a);if(jQuery.browser.msie){b.submit()}else{switch(a){case"handelnews":jQuery.ajax({url:"http://news.luebbe.de/cpi/cpi.php",data:jQuery("#newsletterPopupHandel").serializeArray(),type:"GET",success:function(d,f,g){confirmAbo()},error:function(d,f,g){alert("Fehler im Handel-Newsletterversand aufgetreten!")}});break;case"pressenews":jQuery.ajax({url:"http://news.luebbe.de/cpi/cpi.php",data:jQuery("#newsletterPopupPresse").serializeArray(),type:"GET",success:function(d,f,g){confirmAbo()},error:function(d,f,g){alert("Fehler im Presse-Newsletterversand aufgetreten!")}});break;default:jQuery.ajax({url:"http://news.luebbe.de/cpi/cpi.php",data:jQuery("#newsletterPopupStandard").serializeArray(),type:"GET",success:function(d,f,g){confirmAbo()},error:function(d,f,g){alert("Fehler im Newsletterversand aufgetreten!")}});break}}}function checkNewsl(){var a=(jQuery(".newsletterPopup input.luebbenews")[0]!=undefined)?jQuery(".newsletterPopup input.luebbenews")[0].checked:false;var b=(jQuery(".newsletterPopup input.audionews")[0]!=undefined)?jQuery(".newsletterPopup input.audionews")[0].checked:false;var d=(jQuery("#newsletterPopupHandel").length)?true:false;var c=(jQuery("#newsletterPopupPresse").length)?true:false;if(a&&!b){return"luebbenews"}if(b&&!a){return"audionews"}if(b&&a){return"both"}if(d){return"handelnews"}if(c){return"pressenews"}if(!b&&!a){return false}}function prepareForm(a){switch(a){case"luebbenews":jQuery(".newsletterPopup input.pp10141174")[0].value="1";jQuery(".newsletterPopup input.options")[0].value="10007006,2818405,10141174";break;case"audionews":jQuery(".newsletterPopup input.pp10067399")[0].value="1";jQuery(".newsletterPopup input.options")[0].value="10007006,2818405,10067399";break;case"both":jQuery(".newsletterPopup input.pp10141174")[0].value="1";jQuery(".newsletterPopup input.pp10067399")[0].value="1";jQuery(".newsletterPopup input.options")[0].value="10007006,2818405,10141174,10067399";break;case"handelnews":break;case"pressenews":break;default:alert("Achtung, es ist etwas schiefgegangen! Die Wahl der Newsletter wird nicht korrekt erkannt. Bitte wenden Sie sich an den Administrator!");break}}function confirmAbo(){jQuery(".newsletterPopup").slideUp("slow",showConfirmation)}function showConfirmation(){jQuery(".newsletterPopup").html('			<p class="smallText" style="line-height: 14px">Wir haben Ihre Bestellung f&uuml;r unseren Newsletter erhalten. 			Unser Newsletter wird Ihnen ausschließlich mit Ihrem Einverst&auml;ndnis zugesandt und kann 			jederzeit widerrufen werden.</p><br /><br /> 			<p class="smallText" style="line-height: 14px">Sobald Sie in der automatisch zugeschickten E-Mail Ihre Anmeldung 			best&auml;tigt haben, erhalten Sie bis auf Widerruf in regelm&auml;&szlig;igen Abst&auml;nden 			stets die neuste Ausgabe an Ihre gespeicherte Mailadresse.</p><br /><br /> 			<p class="smallText" style="line-height: 14px">F&uuml;r R&uuml;ckfragen zu einzelnen Beitr&auml;gen 			und Themen stehen wir Ihnen gern zur Verf&uuml;gung. Bitte wenden Sie sich bei Fragen 			 &uuml;ber das Kontaktformular an den Webmaster. 			');jQuery(".newsletterPopup").slideDown("slow")}jQuery.fn.clearAndRestore=function(){var b=jQuery(this);var a=b.val();b.bind("focus",function(){if(b.val()==a){b.val("")}});b.bind("blur",function(){if(b.val()==""){b.val(a)}})};function validateLuebbe(){jQuery("input, textarea").filter(".clearAndRestore").each(function(c,d){jQuery(d).clearAndRestore()});if(jQuery("#overlaySearch").length){jQuery("#overlaySearch").validate({errorElement:"div",errorClass:"formError",errorLabelContainer:"#overlaySearchError",rules:{searchterm:{required:true,minlength:3}},messages:{searchterm:"Bitte geben Sie mindestens 3 Zeichen ein."},submitHandler:function(c){c.submit()}})}if(jQuery("#kontaktformular").length){jQuery("#pressAdd").hide();jQuery("#vendorAdd").hide();jQuery("#kontaktformular").validate({errorElement:"div",errorClass:"formError",errorLabelContainer:"#kontaktformularError",rules:{sex:{required:true},fname:{required:true},lname:{required:true},email:{required:true,email:true},subject:{required:true},message:{required:true}},messages:{sex:"Bitte wählen Sie eine Anrede.",fname:"Bitte geben Sie Ihren Vornamen ein.",lname:"Bitte geben Sie Ihren Nachnamen ein.",email:"Bitte geben Sie Ihre Email-Adresse ein.",subject:"Bitte wählen Sie einen Betreff.",message:"Bitte geben Sie eine Nachricht ein.",pressStreet:"Bitte geben Sie Ihre Stra&szlig;e ein.",pressNr:"Bitte geben Sie Ihre Hausnummer ein.",pressZip:"Bitte geben Sie Ihre Postleitzahl ein.",pressLoc:"Bitte geben Sie Ihren Ort ein.",pressRed:"Bitte geben Sie Ihre Redaktion an.",vendorNr:"Bitte geben Sie Ihre Verkehrsnummer an."},submitHandler:function(c){c.submit()}});jQuery("#subject").change(function(){var c=jQuery(this);jQuery("#pressStreet").rules("remove");jQuery("#pressNr").rules("remove");jQuery("#pressZip").rules("remove");jQuery("#pressLoc").rules("remove");jQuery("#pressRed").rules("remove");jQuery("#vendorNr").rules("remove");jQuery("#pressAdd").slideUp("slow");jQuery("#vendorAdd").slideUp("slow");if(c.children("option:selected").hasClass("pressAdd")){jQuery("#pressAdd").slideDown("slow",function(){jQuery(this).css("zoom","1")});jQuery("#pressStreet").rules("add",{required:true});jQuery("#pressNr").rules("add",{required:true});jQuery("#pressZip").rules("add",{required:true});jQuery("#pressLoc").rules("add",{required:true});jQuery("#pressRed").rules("add",{required:true})}else{if(c.children("option:selected").hasClass("vendorAdd")){jQuery("#vendorAdd").slideDown("slow",function(){jQuery(this).css("zoom","1")});jQuery("#vendorNr").rules("add",{required:true})}}})}if(jQuery("#empfehlen").length){var b=jQuery("#empfehlen");if(b.hasClass("sent_true")||b.hasClass("sent_false")){var a=b.hasClass("sent_true")?"Ihre Nachricht wurde erfolgreich versendet!":"Ihre Anfrage konnte leider nicht bearbeitet werden.";b.parent().prepend('<div class="whitecontent" style="padding: 10px; margin-bottom: 10px; width: 690px">'+a+"</div>");jQuery(window).load(function(){jQuery("#toggleToRecomend").click()})}b.validate({errorElement:"div",errorClass:"formError",errorLabelContainer:"#weiterempfehlenError",rules:{message:{required:true},recEmail:{required:true,email:true},recName:{required:true},name:{required:true},email:{required:true,email:true}},messages:{message:"Bitte geben Sie Ihre Nachricht ein.",recEmail:"Bitte geben Sie eine Empfänger-Mail-Adresse ein.",recName:"Bitte geben Sie einen Empfänger-Namen ein.",name:"Bitte geben Sie Ihren Namen ein.",email:"Bitte geben Sie Ihre E-Mail-Adresse ein."},submitHandler:function(c){c.submit()}})}if(jQuery(".newsletterPopup").length){jQuery(".newsletterPopup").validate({errorElement:"div",errorClass:"formError",errorLabelContainer:".newsletterPopupError",rules:{chosenNewsletter:{required:true},addr:{required:true,email:true},checkJa:{required:true}},messages:{chosenNewsletter:"Bitte entscheiden Sie sich f&uuml;r mindestens eines der Abonnements.",addr:"Bitte geben Sie eine korrekte E-Mail Adresse ein.",checkJa:"Bitte best&auml;tigen Sie das Newsletter Abonnement."},submitHandler:function(c){sendNewsletter(c);return}})}if(jQuery("#myWorldRegistration").length){jQuery("#myWorldRegistration").validate({errorElement:"div",errorClass:"formError",errorLabelContainer:"#myWorldRegistrationPopupError",rules:{username:{required:true,minlength:3},email:{required:true,email:true},passwort:{required:true,minlength:6,maxlength:12},passwort_bestaetigung:{required:true,equalTo:"#myWorld_passwort",minlength:6,maxlength:12},lieblingsgenre:{required:true},anrede:{required:true},vorname:{required:true},nachname:{required:true},strasse:{required:true},hausnummer:{required:true},plz:{required:true,minlength:4},ort:{required:true},myWorld_accepted:{required:true},myWorld_bonussystem:{required:true}},messages:{username:"Bitte geben Sie einen Username ein (min. 3 Zeichen).",email:"Bitte geben Sie eine korrekte E-Mail Adresse ein.",passwort:"Bitte geben Sie Ihr gew&uuml;nschtes Passwort ein (min. 6 Zeichen).",passwort_bestaetigung:"Bitte best&auml;tigen Sie Ihr Passwort.",lieblingsgenre:"Bitte wählen Sie Ihr Lieblingsgenre",anrede:"Bitte wählen Sie eine Anrede.",vorname:"Bitte geben Sie Ihren Vornamen ein.",nachname:"Bitte geben Sie Ihren Nachnamen ein.",strasse:"Bitte geben Sie Ihre Strasse ein.",hausnummer:"Bitte geben Sie Ihre Hausnummer ein.",plz:"Bitte geben Sie Ihre Postleitzahl ein.",ort:"Bitte geben Sie Ihren Ort ein.",myWorld_accepted:"Bitte best&auml;tigen Sie die Teilnahmebedingungen.",myWorld_bonussystem:"Bitte best&auml;tigen Sie die Informationen des Bonussystems."},submitHandler:function(c){jQuery.post("/register.php",jQuery("#myWorldRegistration").serializeArray(),function(d){if(jQuery("status",d).text()=="success"){jQuery("#myWorldRegistration_content").html(jQuery("text",d).text())}else{jQuery("#myWorldRegistrationPopupError").html(jQuery("text",d).text());jQuery("#myWorldRegistrationPopupError").show()}},"xml")}})}if(jQuery("#pressRegistration").length){jQuery("#pressRegistration").validate({errorElement:"div",errorClass:"formError",errorLabelContainer:"#pressRegistrationError",rules:{email:{required:true,email:true},passwort:{required:true,minlength:6,maxlength:12},passwort_bestaetigung:{required:true,equalTo:"#Press_passwort_bestaetigung",minlength:6,maxlength:12},anrede:{required:true},arbeitsstatus:{required:true},p_lieferanschrift:{required:true},vorname:{required:true},nachname:{required:true},p_redaktion:{required:true},strasse:{required:true},hausnummer:{required:true},plz:{required:true,minlength:4},ort:{required:true}},messages:{email:"Bitte geben Sie eine korrekte E-Mail Adresse ein.",passwort:"Bitte geben Sie Ihr gew&uuml;nschtes Passwort ein (min. 6 Zeichen).",passwort_bestaetigung:"Bitte best&auml;tigen Sie Ihr Passwort.",anrede:"Bitte wählen Sie eine Anrede.",arbeitsstatus:"Bitte wählen Sie Ihren Arbeitsstatus aus",vorname:"Bitte geben Sie Ihren Vornamen ein.",nachname:"Bitte geben Sie Ihren Nachnamen ein.",strasse:"Bitte geben Sie Ihre Strasse ein.",p_redaktion:"Bitte geben Sie Ihre Redaktion ein.",p_lieferanschrift:"Bitte geben Sie Ihre Lieferadresse an.",hausnummer:"Bitte geben Sie Ihre Hausnummer ein.",plz:"Bitte geben Sie Ihre Postleitzahl ein.",ort:"Bitte geben Sie Ihren Ort ein."},submitHandler:function(c){jQuery.ajax({url:"/pressregister.php",cache:false,data:jQuery("#pressRegistration").serializeArray(),dataType:"json",type:"POST",success:function(d,f,g){if(d.status=="success"){jQuery("#pressRegistration").parent().slideUp("slow",function(){jQuery(this).hide().html(d.text).slideDown("slow",function(){jQuery(this).show()})})}else{jQuery("#pressRegistrationError").html(d.text);jQuery("#pressRegistrationError").show()}},error:function(d,f,g){jQuery("#pressRegistrationError").html("Bei der &UUml;bermittlung des Formulars ist ein Fehler aufgetreten, bitte versuchen Sie es zu einem sp&auml;teren Zeitpunkt erneut.");jQuery("#pressRegistrationError").show()}})}})}if(jQuery("#pressedit").length){jQuery("#pressedit").validate({errorElement:"div",errorClass:"formError",errorLabelContainer:"#pressRegistrationError",rules:{email:{required:true,email:true},anrede:{required:true},arbeitsstatus:{required:true},vorname:{required:true},nachname:{required:true},strasse:{required:true},p_redaktion:{required:true},p_lieferanschrift:{required:true},hausnummer:{required:true},plz:{required:true,minlength:4},ort:{required:true}},messages:{email:"Bitte geben Sie eine korrekte E-Mail Adresse ein.",anrede:"Bitte wählen Sie eine Anrede.",arbeitsstatus:"Bitte wählen Sie Ihren Arbeitsstatus aus",vorname:"Bitte geben Sie Ihren Vornamen ein.",nachname:"Bitte geben Sie Ihren Nachnamen ein.",strasse:"Bitte geben Sie Ihre Strasse ein.",p_redaktion:"Bitte geben Sie Ihre Redaktion ein.",p_lieferanschrift:"Bitte geben Sie Ihre Lieferadresse an.",hausnummer:"Bitte geben Sie Ihre Hausnummer ein.",plz:"Bitte geben Sie Ihre Postleitzahl ein.",ort:"Bitte geben Sie Ihren Ort ein."},submitHandler:function(c){jQuery.ajax({url:"/pressedit.php",cache:false,data:jQuery("#pressedit").serializeArray(),dataType:"json",type:"POST",success:function(d,f,g){if(d.status=="success"){window.location.reload()}else{jQuery("#pressRegistrationError").html(d.text);jQuery("#pressRegistrationError").show()}},error:function(d,f,g){jQuery("#pressRegistrationError").html("Es ist ein Fehler aufgetreten, bitte versuchen Sie es sp&auml;ter erneut.");jQuery("#pressRegistrationError").show()}})}})}};
	
//	11: rate.js |  *	Version: 1.0
		jQuery.fn.rate=function(){var a=jQuery(this).children().children(".rateRow");a.each(function(b,c){jQuery(c).children().click(function(){jQuery("#"+jQuery(c).prev().html()).val(jQuery(this).html());jQuery(this).addClass("selected").prev().addClass("selected").prev().addClass("selected").prev().addClass("selected").prev().addClass("selected").prev().addClass("selected").prev().addClass("selected");jQuery(this).next().removeClass("selected").next().removeClass("selected").next().removeClass("selected").next().removeClass("selected").next().removeClass("selected").next().removeClass("selected").next().removeClass("selected")});jQuery(c).children().hover(function(){jQuery(this).addClass("hovered").prev().addClass("hovered").prev().addClass("hovered").prev().addClass("hovered").prev().addClass("hovered").prev().addClass("hovered").prev().addClass("hovered");jQuery(this).next().removeClass("hovered").next().removeClass("hovered").next().removeClass("hovered").next().removeClass("hovered").next().removeClass("hovered").next().removeClass("hovered").next().removeClass("hovered")});jQuery(a).mouseleave(function(){jQuery(this).children().each(function(d,f){jQuery(f).removeClass("hovered")})})});jQuery("#myWorldRate").validate({errorElement:"div",errorClass:"error",errorLabelContainer:"#rateError",rules:{rate_charaktere:{required:true},rate_recherche:{required:true},rate_handlung:{required:true},rate_abenteuer:{required:true},rate_cover:{required:true},review:{required:true}},messages:{rate_charaktere:"Bitte vergeben Sie mindestens einen Stern für "+jQuery(this).children().children().next().next().html(),rate_recherche:"Bitte vergeben Sie mindestens einen Stern für "+jQuery(this).children().children().next().next().next().next().html(),rate_handlung:"Bitte vergeben Sie mindestens einen Stern für "+jQuery(this).children().children().next().next().next().next().next().next().html(),rate_abenteuer:"Bitte vergeben Sie mindestens einen Stern für "+jQuery(this).children().children().next().next().next().next().next().next().next().next().html(),rate_cover:"Bitte vergeben Sie mindestens einen Stern für "+jQuery(this).children().children().next().next().next().next().next().next().next().next().next().next().html(),review:"Bitte geben Sie eine Rezension ab "},submitHandler:function(b){b.submit()}})};
	
//	12: tabselect.js |  *	Version: 1.8
		(function(a,b){a.tabselect=function(){function d(p,j){var m=(j.match(/subtab=[0-9]+/))?j.replace(/subtab=/,""):0,h=(j.match(/lowertab=[0-9]+/))?j.replace(/lowertab=/,""):0,l,k=/(\/[a-zA-Z,\-]+)+\/[0-9]+\/[0-9]+/,i=/(\/[a-zA-Z,\-]+)+\/[0-9]+/,o=k.exec(o),n=i.exec(n);if(o!==null){l=o[0]}else{if(n!==null){l=n[0]}else{l=p}}if(window.location.hash){l+=window.location.hash}return l}var f={},e=[],c=a.location.hash.substr(1),g=jQuery(".frame_sortSearchResults");b(["subtab","lowertab"]).each(function(j,l){if(a["_"+l]!==false){f[l]=a["_"+l]-1}var k=new RegExp(l+"=([0-9]+)","g"),h=k.exec(c);f[l]=(h!==null)?parseInt(h[1],10)-1:0;if(b("#"+l+"Container").length){b("."+l+"ReiterContainer").tabs({selected:f[l],select:function(o,i){var m=i.tab.hash.substring(1).replace("_","="),n=a.location.hash;if(n.match(k)){a.location.hash=n.replace(k,m)}else{a.location.hash+=m}}})}});jQuery(".teasertabReiterContainer").tabs();if(g.length){g.each(function(j,k){var h=false;jQuery(k).parents().filter(function(l){if((jQuery(this).attr("id").match(/subtab_[0-9]+/)||jQuery(this).attr("id").match(/lowertab_[0-9]+/))&&(h===false)){h=jQuery(this).attr("id")}});if((h!==undefined)&&(h!==false)){h=h.replace(/_/,"=");jQuery(k).find("a").each(function(l,n){var m=jQuery(n);if(m.attr("href")!==undefined){if(m.attr("href").match(/#subtab=[0-9]+/)||m.attr("href").match(/#lowertab=[0-9]+/)){return}else{m.attr("href",m.attr("href")+"#"+h)}}});jQuery(k).find("form").each(function(m,n){var l=jQuery(n);l.attr("action",d(l.attr("action"),h))})}})}}}(this,jQuery));
	
//	13: featureCarousel.js |  *	Version: 1.0
		(function(a){a.fn.featureCarousel=function(b){b=a.extend({},a.fn.featureCarousel.defaults,b||{});return a(this).each(function(){var s={currentCenterNum:b.startingFeature,containerWidth:0,containerHeight:0,largeFeatureWidth:0,largeFeatureHeight:0,smallFeatureWidth:0,smallFeatureHeight:0,totalFeatureCount:a(this).children("div").length,currentlyMoving:false,featuresContainer:a(this),featuresArray:[],containerIDTag:"#"+a(this).attr("id"),timeoutVar:null,rotationsRemaining:0,itemsToAnimate:0,borderWidth:0};o(function(){p();c();e();r();i(true,1)});function o(w){if(b.preload==true){var u=s.featuresContainer.find("img");var t=0;var v=u.length;u.each(function(){a(this).load(function(){t++;if(t==v){w()}});if(this.complete){a(this).trigger("load")}})}else{w()}}function k(t){return s.featuresArray[t-1]}function l(t){a.each(s.featuresArray,function(){if(a(this).data().setPosition==t){return a(this)}})}function h(t){if((t-1)==0){return s.totalFeatureCount}else{return t-1}}function f(t){if((t+1)>s.totalFeatureCount){return 1}else{return t+1}}function p(){s.containerWidth=s.featuresContainer.width();s.containerHeight=s.featuresContainer.height();var t=a(s.containerIDTag).find("div img:first");if(b.largeFeatureWidth>1){s.largeFeatureWidth=b.largeFeatureWidth}else{if(b.largeFeatureWidth>0&&b.largeFeatureWidth<1){s.largeFeatureWidth=t.width()*b.largeFeatureWidth}else{s.largeFeatureWidth=t.outerWidth()}}if(b.largeFeatureHeight>1){s.largeFeatureHeight=b.largeFeatureHeight}else{if(b.largeFeatureHeight>0&&b.largeFeatureHeight<1){s.largeFeatureHeight=t.height()*b.largeFeatureHeight}else{s.largeFeatureHeight=t.outerHeight()}}if(b.smallFeatureWidth>1){s.smallFeatureWidth=b.smallFeatureWidth}else{if(b.smallFeatureWidth>0&&b.smallFeatureWidth<1){s.smallFeatureWidth=t.width()*b.smallFeatureWidth}else{s.smallFeatureWidth=t.outerWidth()/2}}if(b.smallFeatureHeight>1){s.smallFeatureHeight=b.smallFeatureHeight}else{if(b.smallFeatureHeight>0&&b.smallFeatureHeight<1){s.smallFeatureHeight=t.height()*b.smallFeatureHeight}else{s.smallFeatureHeight=t.outerHeight()/2}}}function c(){if(b.displayCutoff>0&&b.displayCutoff<s.totalFeatureCount){s.totalFeatureCount=b.displayCutoff}s.featuresContainer.children("div").each(function(t){if(t<s.totalFeatureCount){s.featuresArray[t]=a(this)}});if(s.featuresContainer.children("div").first().css("borderLeftWidth")!="medium"){s.borderWidth=parseInt(s.featuresContainer.children("div").first().css("borderLeftWidth"))*2}s.featuresContainer.children("div").each(function(){a(this).css({left:(s.containerWidth/2)-(s.smallFeatureWidth/2)-(s.borderWidth/2),width:s.smallFeatureWidth,height:s.smallFeatureHeight,top:b.smallFeatureOffset+b.topPadding,opacity:0})}).find("img:first").css({width:s.smallFeatureWidth});if(s.totalFeatureCount<4){s.itemsToAnimate=s.totalFeatureCount}else{s.itemsToAnimate=4}s.featuresContainer.find("div > div").hide()}function e(){a.each(s.featuresArray,function(x){a(this).data("setPosition",x+1)});var w=h(b.startingFeature);s.currentCenterNum=w;var v=k(w);v.data("position",1);var u=v.prevAll();u.each(function(x){a(this).data("position",(s.totalFeatureCount-x)).children().addClass("noLightbox")});var t=v.nextAll();t.each(function(x){if(a(this).data("setPosition")!=undefined){a(this).data("position",(x+2)).children().addClass("noLightbox")}});if(b.counterStyle==3){a.each(s.featuresArray,function(){var y=h(a(this).data("position"));var x=a("<span></span>");x.addClass("numberTag");x.html("("+y+" of "+s.totalFeatureCount+") ");a(this).find("div p").prepend(x)})}}function r(){if(b.counterStyle==1||b.counterStyle==2){var u=a("<ul></ul>");u.addClass("blipsContainer");for(var v=0;v<s.totalFeatureCount;v++){var t;if(b.counterStyle==2){t=""}else{t=v+1}var w=a("<div>"+t+"</div>");w.addClass("blip");w.css("cursor","pointer");w.attr("id","blip_"+(v+1));var x=a("<li></li>");x.append(w);x.css("float","left");x.css("list-style-type","none");u.append(x)}a(s.containerIDTag).append(u);u.hide().show()}}function n(x,u){var t=s.featuresContainer.find(".blipsContainer");var v=t.find("#blip_"+x);var w=t.find("#blip_"+u);v.removeClass("blipSelected");w.addClass("blipSelected")}function j(){if(s.timeoutVar!=null){s.timeoutVar=clearTimeout(s.timeoutVar)}if(b.autoPlay!=0){var t=(Math.abs(b.autoPlay)<b.carouselSpeed)?b.carouselSpeed:Math.abs(b.autoPlay);s.timeoutVar=setTimeout(function(){if(b.autoPlay>0){i(true,1)}else{if(b.autoPlay<0){i(false,1)}}},t)}}function q(t){a.each(s.featuresArray,function(){var u;if(t==false){u=f(a(this).data().position)}else{u=h(a(this).data().position)}a(this).data("position",u)})}function m(y,C){var w,t,v,z,u,D,A;var B=y.data("position");var x;if(C==true){x=h(B)}else{x=f(B)}if(x==1){w=s.largeFeatureWidth;t=s.largeFeatureHeight;v=b.topPadding;u=y.css("z-index");z=(s.containerWidth/2)-(s.largeFeatureWidth/2)-(s.borderWidth/2);A=1}else{w=s.smallFeatureWidth;t=s.smallFeatureHeight;v=b.smallFeatureOffset+b.topPadding;u=1;A=0.4;if(x==s.totalFeatureCount){z=b.sidePadding}else{if(x==2){z=s.containerWidth-s.smallFeatureWidth-b.sidePadding-s.borderWidth}else{z=(s.containerWidth/2)-(s.smallFeatureWidth/2)-(s.borderWidth/2);A=0}}}if(x!=1){y.find("div").hide()}y.animate({width:w,height:t,top:v,left:z,opacity:A},b.carouselSpeed,b.animationEasing,function(){if(x==1){y.find("div.featureInner").fadeTo("fast",0.85)}s.rotationsRemaining=s.rotationsRemaining-1;y.css("z-index",u);if(b.counterStyle==1||b.counterStyle==2){if(x==1){var E=s.featuresContainer.children("div").index(y)+1;var F;if(C==false){F=f(E)}else{F=h(E)}n(F,E)}}var G=s.rotationsRemaining/s.itemsToAnimate;if(G%1==0){s.currentlyMoving=false;q(C);if(s.rotationsRemaining>0){d(C)}}j()}).find("img:first").animate({width:w,height:t},b.carouselSpeed,b.animationEasing).end()}function d(w){s.currentlyMoving=true;var x,v,t,u;if(w==true){x=k(f(s.currentCenterNum));v=k(s.currentCenterNum);t=k(f(f(s.currentCenterNum)));u=k(h(s.currentCenterNum));s.currentCenterNum=f(s.currentCenterNum)}else{x=k(h(s.currentCenterNum));v=k(h(h(s.currentCenterNum)));t=k(s.currentCenterNum);u=k(f(s.currentCenterNum));s.currentCenterNum=h(s.currentCenterNum)}if(w){v.css("z-index",3).children().addClass("noLightbox")}else{t.css("z-index",3).children().addClass("noLightbox")}x.css("z-index",4).children().removeClass("noLightbox");m(v,w);m(x,w);m(t,w);if(s.totalFeatureCount>3){m(u,w)}}function i(v,u){if(s.currentlyMoving==false){var t=u*s.itemsToAnimate;s.rotationsRemaining=t;d(v)}}function g(x,w){var u=1,t=1,v;v=x;while((v=h(v))!=w){u++}v=x;while((v=f(v))!=w){t++}return(u<t)?u*-1:t}a(".leftButton").click(function(){i(false,1)});a(".rightButton").click(function(){i(true,1)});s.featuresContainer.children("div").click(function(){var t=a(this).data("position");if(t==2){i(true,1)}else{if(t==s.totalFeatureCount){i(false,1)}}}).mouseover(function(){if(s.currentlyMoving==false){var t=a(this).data("position");if(t==2||t==s.totalFeatureCount){a(this).css("opacity",0.8)}}}).mouseout(function(){if(s.currentlyMoving==false){var t=a(this).data("position");if(t==2||t==s.totalFeatureCount){a(this).css("opacity",0.4)}}});a("a",s.containerIDTag).live("click",function(u){var t=a(this).parentsUntil(s.containerIDTag);t.each(function(){var v=a(this).data("position");if(v!=undefined){if(v!=1){if(v==s.totalFeatureCount){i(false,1)}else{if(v==2){i(true,1)}}u.preventDefault();return false}}})});a(".blip").live("click",function(){var t=a(this).attr("id").substring(5);var v=s.featuresContainer.children("div").eq(t-1).data("position");var u=s.currentCenterNum;if(t!=u){var w=g(1,v);if(w<0){i(false,(w*-1))}else{i(true,w)}}})})};a.fn.featureCarousel.defaults={largeFeatureWidth:0,largeFeatureHeight:0,smallFeatureWidth:0.5,smallFeatureHeight:0.5,topPadding:20,sidePadding:30,smallFeatureOffset:50,startingFeature:1,carouselSpeed:1000,autoPlay:0,counterStyle:1,preload:true,displayCutoff:0,animationEasing:"swing"}})(jQuery);
	
//	14: prettyPhoto.js |  * 	Version: 2.5.6
		(function(a){a.prettyPhoto={version:"2.5.6"};a.fn.prettyPhoto=function(u){u=jQuery.extend({animationSpeed:"normal",opacity:0.8,showTitle:true,allowresize:true,default_width:500,default_height:344,counter_separator_label:"/",theme:"light_rounded",hideflash:false,wmode:"opaque",autoplay:true,modal:false,changepicturecallback:function(){},callback:function(){},markup:'<div class="pp_pic_holder">       <div class="pp_top">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>       <div class="pp_content_container">        <div class="pp_left">        <div class="pp_right">         <div class="pp_content">          <div class="pp_loaderIcon"></div>          <div class="pp_fade">           <a href="#" class="pp_expand" title="Expand the image">Expand</a>           <div class="pp_hoverContainer">            <a class="pp_next" href="#">next</a>            <a class="pp_previous" href="#">previous</a>           </div>           <div id="pp_full_res"></div>           <div class="pp_details pp_clearfix">            <a class="pp_close" href="#">Close</a>            <p class="pp_description"></p>            <div class="pp_nav">             <a href="#" class="pp_arrow_previous">Previous</a>             <p class="currentTextHolder">0/0</p>             <a href="#" class="pp_arrow_next">Next</a>            </div>           </div>          </div>         </div>        </div>        </div>       </div>       <div class="pp_bottom">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>      </div>      <div class="pp_overlay"></div>      <div class="ppt"></div>',image_markup:'<img id="fullResImage" src="" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline pp_clearfix">{content}</div>'},u);if(a.browser.msie&&parseInt(a.browser.version)==6){u.theme="light_square"}if(a(".pp_overlay").size()==0){v()}var e=true,i=false,t,o,z,c,m,n,s,w,g=a(window).height(),y=a(window).width(),d=0,r=f();a(window).scroll(function(){r=f();j();q()});a(window).resize(function(){j();q()});a(document).keydown(function(A){if(o.is(":visible")){switch(A.keyCode){case 37:a.prettyPhoto.changePage("previous");break;case 39:a.prettyPhoto.changePage("next");break;case 27:if(!u.modal){a.prettyPhoto.close()}break}}});a(this).each(function(){a(this).bind("click",function(){_self=this;theRel=a(this).attr("rel");galleryRegExp=/\[(?:.*)\]/;theGallery=galleryRegExp.exec(theRel);var A=new Array(),C=new Array(),B=new Array();if(theGallery){a("a[rel*="+theGallery+"]").each(function(D){if(a(this)[0]===a(_self)[0]){d=D}A.push(a(this).attr("href"));C.push(a(this).find("img").attr("alt"));B.push(a(this).attr("title"))})}else{A=a(this).attr("href");C=(a(this).find("img").attr("alt"))?a(this).find("img").attr("alt"):"";B=(a(this).attr("title"))?a(this).attr("title"):""}a.prettyPhoto.open(A,C,B);return false})});a.prettyPhoto.open=function(C,B,A){if(a.browser.msie&&a.browser.version==6){a("select").css("visibility","hidden")}if(u.hideflash){a("object,embed").css("visibility","hidden")}images=a.makeArray(C);titles=a.makeArray(B);descriptions=a.makeArray(A);image_set=(a(images).size()>0)?true:false;h(a(images).size());a(".pp_loaderIcon").show();c.show().fadeTo(u.animationSpeed,u.opacity);o.find(".currentTextHolder").text((d+1)+u.counter_separator_label+a(images).size());if(descriptions[d]){o.find(".pp_description").show().html(unescape(descriptions[d]))}else{o.find(".pp_description").hide().text("")}if(titles[d]&&u.showTitle){hasTitle=true;z.html(unescape(titles[d]))}else{hasTitle=false}movie_width=(parseFloat(b("width",images[d])))?b("width",images[d]):u.default_width.toString();movie_height=(parseFloat(b("height",images[d])))?b("height",images[d]):u.default_height.toString();if(movie_width.indexOf("%")!=-1||movie_height.indexOf("%")!=-1){movie_height=parseFloat((a(window).height()*parseFloat(movie_height)/100)-100);movie_width=parseFloat((a(window).width()*parseFloat(movie_width)/100)-100);i=true}o.fadeIn(function(){imgPreloader="";switch(x(images[d])){case"image":imgPreloader=new Image();nextImage=new Image();if(image_set&&d>a(images).size()){nextImage.src=images[d+1]}prevImage=new Image();if(image_set&&images[d-1]){prevImage.src=images[d-1]}o.find("#pp_full_res")[0].innerHTML=u.image_markup;o.find("#fullResImage").attr("src",images[d]);imgPreloader.onload=function(){t=k(imgPreloader.width,imgPreloader.height);_showContent()};imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist.");a.prettyPhoto.close()};imgPreloader.src=images[d];break;case"youtube":t=k(movie_width,movie_height);movie="http://www.youtube.com/v/"+b("v",images[d]);if(u.autoplay){movie+="&autoplay=1"}toInject=u.flash_markup.replace(/{width}/g,t.width).replace(/{height}/g,t.height).replace(/{wmode}/g,u.wmode).replace(/{path}/g,movie);break;case"vimeo":t=k(movie_width,movie_height);movie_id=images[d];movie="http://vimeo.com/moogaloop.swf?clip_id="+movie_id.replace("http://vimeo.com/","");if(u.autoplay){movie+="&autoplay=1"}toInject=u.flash_markup.replace(/{width}/g,t.width).replace(/{height}/g,t.height).replace(/{wmode}/g,u.wmode).replace(/{path}/g,movie);break;case"quicktime":t=k(movie_width,movie_height);t.height+=15;t.contentHeight+=15;t.containerHeight+=15;toInject=u.quicktime_markup.replace(/{width}/g,t.width).replace(/{height}/g,t.height).replace(/{wmode}/g,u.wmode).replace(/{path}/g,images[d]).replace(/{autoplay}/g,u.autoplay);break;case"flash":t=k(movie_width,movie_height);flash_vars=images[d];flash_vars=flash_vars.substring(images[d].indexOf("flashvars")+10,images[d].length);filename=images[d];filename=filename.substring(0,filename.indexOf("?"));toInject=u.flash_markup.replace(/{width}/g,t.width).replace(/{height}/g,t.height).replace(/{wmode}/g,u.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":t=k(movie_width,movie_height);frame_url=images[d];frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1);toInject=u.iframe_markup.replace(/{width}/g,t.width).replace(/{height}/g,t.height).replace(/{path}/g,frame_url);break;case"inline":myClone=a(images[d]).clone().css({width:u.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline pp_clearfix"></div></div>').appendTo(a("body"));t=k(a(myClone).width(),a(myClone).height());a(myClone).remove();toInject=u.inline_markup.replace(/{content}/g,a(images[d]).html());break}if(!imgPreloader){o.find("#pp_full_res")[0].innerHTML=toInject;_showContent()}})};a.prettyPhoto.changePage=function(A){if(A=="previous"){d--;if(d<0){d=0;return}}else{if(a(".pp_arrow_next").is(".disabled")){return}d++}if(!e){e=true}l(function(){a.prettyPhoto.open(images,titles,descriptions)});a("a.pp_expand,a.pp_contract").fadeOut(u.animationSpeed)};a.prettyPhoto.close=function(){o.find("object,embed").css("visibility","hidden");a("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(u.animationSpeed);c.fadeOut(u.animationSpeed,function(){a("#pp_full_res").html("");o.attr("style","").find("div:not(.pp_hoverContainer)").attr("style","");j();if(a.browser.msie&&a.browser.version==6){a("select").css("visibility","visible")}if(u.hideflash){a("object,embed").css("visibility","visible")}d=0;u.callback()});e=true};_showContent=function(){a(".pp_loaderIcon").hide();projectedTop=r.scrollTop+((g/2)-(t.containerHeight/2));if(projectedTop<0){projectedTop=0+z.height()}o.find(".pp_content").animate({height:t.contentHeight},u.animationSpeed);o.animate({top:projectedTop,left:(y/2)-(t.containerWidth/2),width:t.containerWidth},u.animationSpeed,function(){o.find(".pp_hoverContainer,#fullResImage").height(t.height).width(t.width);o.find(".pp_fade").fadeIn(u.animationSpeed);if(image_set&&x(images[d])=="image"){o.find(".pp_hoverContainer").show()}else{o.find(".pp_hoverContainer").hide()}if(u.showTitle&&hasTitle){z.css({top:o.offset().top-25,left:o.offset().left+20,display:"none"});z.fadeIn(u.animationSpeed)}if(t.resized){a("a.pp_expand,a.pp_contract").fadeIn(u.animationSpeed)}u.changepicturecallback()})};function l(A){o.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");o.find(".pp_fade").fadeOut(u.animationSpeed,function(){a(".pp_loaderIcon").show();if(A){A()}});z.fadeOut(u.animationSpeed)}function h(A){if(d==A-1){o.find("a.pp_next").css("visibility","hidden");o.find("a.pp_arrow_next").addClass("disabled").unbind("click")}else{o.find("a.pp_next").css("visibility","visible");o.find("a.pp_arrow_next.disabled").removeClass("disabled").bind("click",function(){a.prettyPhoto.changePage("next");return false})}if(d==0){o.find("a.pp_previous").css("visibility","hidden");o.find("a.pp_arrow_previous").addClass("disabled").unbind("click")}else{o.find("a.pp_previous").css("visibility","visible");o.find("a.pp_arrow_previous.disabled").removeClass("disabled").bind("click",function(){a.prettyPhoto.changePage("previous");return false})}if(A>1){a(".pp_nav").show()}else{a(".pp_nav").hide()}}function k(B,A){hasBeenResized=false;p(B,A);imageWidth=B;imageHeight=A;if(((w>y)||(s>g))&&e&&u.allowresize&&!i){hasBeenResized=true;notFitting=true;while(notFitting){if((w>y)){imageWidth=(y-200);imageHeight=(A/B)*imageWidth}else{if((s>g)){imageHeight=(g-200);imageWidth=(B/A)*imageHeight}else{notFitting=false}}s=imageHeight;w=imageWidth}p(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(s),containerWidth:Math.floor(w)+40,contentHeight:Math.floor(m),contentWidth:Math.floor(n),resized:hasBeenResized}}function p(B,A){B=parseFloat(B);A=parseFloat(A);$pp_details=o.find(".pp_details");$pp_details.width(B);detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom"));$pp_details=$pp_details.clone().appendTo(a("body")).css({position:"absolute",top:-10000});detailsHeight+=$pp_details.height();detailsHeight=(detailsHeight<=34)?36:detailsHeight;if(a.browser.msie&&a.browser.version==7){detailsHeight+=8}$pp_details.remove();m=A+detailsHeight;n=B;s=m+z.height()+o.find(".pp_top").height()+o.find(".pp_bottom").height();w=B}function x(A){if(A.match(/youtube\.com\/watch/i)){return"youtube"}else{if(A.match(/vimeo\.com/i)){return"vimeo"}else{if(A.indexOf(".mov")!=-1){return"quicktime"}else{if(A.indexOf(".swf")!=-1){return"flash"}else{if(A.indexOf("iframe")!=-1){return"iframe"}else{if(A.substr(0,1)=="#"){return"inline"}else{return"image"}}}}}}}function j(){if(e){titleHeight=z.height();contentHeight=o.height();contentwidth=o.width();projectedTop=(g/2)+r.scrollTop-((contentHeight+titleHeight)/2);o.css({top:projectedTop,left:(y/2)+r.scrollLeft-(contentwidth/2)});z.css({top:projectedTop-titleHeight,left:(y/2)+r.scrollLeft-(contentwidth/2)+20})}}function f(){if(self.pageYOffset){return{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}}else{if(document.documentElement&&document.documentElement.scrollTop){return{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}}else{if(document.body){return{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}}}}}function q(){g=a(window).height();y=a(window).width();c.css({height:a(document).height()})}function v(){a("body").append(u.markup);o=a(".pp_pic_holder");z=a(".ppt");c=a("div.pp_overlay");o.attr("class","pp_pic_holder "+u.theme);c.css({opacity:0,height:a(document).height()}).bind("click",function(){if(!u.modal){a.prettyPhoto.close()}});a("a.pp_close").bind("click",function(){a.prettyPhoto.close();return false});a("a.pp_expand").bind("click",function(){$this=a(this);if($this.hasClass("pp_expand")){$this.removeClass("pp_expand").addClass("pp_contract");e=false}else{$this.removeClass("pp_contract").addClass("pp_expand");e=true}l(function(){a.prettyPhoto.open(images,titles,descriptions)});o.find(".pp_fade").fadeOut(u.animationSpeed);return false});o.find(".pp_previous, .pp_arrow_previous").bind("click",function(){a.prettyPhoto.changePage("previous");return false});o.find(".pp_next, .pp_arrow_next").bind("click",function(){a.prettyPhoto.changePage("next");return false})}j()};function b(e,d){e=e.replace(/[\[]/,"\[").replace(/[\]]/,"\]");var c="[\?&]"+e+"=([^&#]*)";var g=new RegExp(c);var f=g.exec(d);if(f==null){return""}else{return f[1]}}})(jQuery);
	
//	15: swfObject.js | (function(f,h,i){function k(a,c){var b=(a[0]||0)-(c[0]||0);return b>0||!b&&a.length>0&&k(a.slice(1),c.slice(1))}function l(a){if(typeof a!=g)return a;var c=[],b="";for(var d in a){b=typeof a[d]==g?l(a[d]):[d,m?encodeURI(a[d]):a[d]].join("=");c.push(b)}return c.join("&")}function n(a){var c=[];for(var b in a)a[b]&&c.push([b,'="',a[b],'"'].join(""));return c.join(" ")}function o(a){var c=[];for(var b in a)c.push(['<param name="',b,'" value="',l(a[b]),'" />'].join(""));return c.join("")}var g="object",m=true;try{var j=i.description||function(){return(new i("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}()}catch(p){j="Unavailable"}var e=j.match(/\d+/g)||[0];f[h]={available:e[0]>0,activeX:i&&!i.name,version:{original:j,array:e,string:e.join("."),major:parseInt(e[0],10)||0,minor:parseInt(e[1],10)||0,release:parseInt(e[2],10)||0},hasVersion:function(a){a=/string|number/.test(typeof a)?a.toString().split("."):/object/.test(typeof a)?[a.major,a.minor]:a||[0,0];return k(e,a)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(a){if(!a.swf||this.expressInstallIsActive||!this.available&&!a.hasVersionFail)return false;if(!this.hasVersion(a.hasVersion||1)){this.expressInstallIsActive=true;if(typeof a.hasVersionFail=="function")if(!a.hasVersionFail.apply(a))return false;a={swf:a.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:a.swf,type:"application/x-shockwave-flash",id:a.id||"flash_"+Math.floor(Math.random()*999999999),width:a.width||320,height:a.height||180,style:a.style||""};m=typeof a.useEncode!=="undefined"?a.useEncode:this.encodeParams;a.movie=a.swf;a.wmode=a.wmode||"opaque";delete a.fallback;delete a.hasVersion;delete a.hasVersionFail;delete a.height;delete a.id;delete a.swf;delete a.useEncode;delete a.width;var c=document.createElement("div");c.innerHTML=["<object ",n(attrs),">",o(a),"</object>"].join("");return c.firstChild}};f.fn[h]=function(a){var c=this.find(g).andSelf().filter(g);/string|object/.test(typeof a)&&this.each(function(){var b=f(this),d;a=typeof a==g?a:{swf:a};a.fallback=this;if(d=f[h].create(a)){b.children().remove();b.html(d)}});typeof a=="function"&&c.each(function(){var b=this;b.jsInteractionTimeoutMs=b.jsInteractionTimeoutMs||0;if(b.jsInteractionTimeoutMs<660)b.clientWidth||b.clientHeight?a.call(b):setTimeout(function(){f(b)[h](a)},b.jsInteractionTimeoutMs+66)});return c}})(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject);
		(function(w,u,t){function r(f,g){var e=(f[0]||0)-(g[0]||0);return e>0||!e&&f.length>0&&r(f.slice(1),g.slice(1))}function q(f){if(typeof f!=v){return f}var h=[],e="";for(var g in f){e=typeof f[g]==v?q(f[g]):[g,d?encodeURI(f[g]):f[g]].join("=");h.push(e)}return h.join("&")}function c(f){var g=[];for(var e in f){f[e]&&g.push([e,'="',f[e],'"'].join(""))}return g.join(" ")}function b(f){var g=[];for(var e in f){g.push(['<param name="',e,'" value="',q(f[e]),'" />'].join(""))}return g.join("")}var v="object",d=true;try{var s=t.description||function(){return(new t("ShockwaveFlash.ShockwaveFlash")).GetVariable("$version")}()}catch(a){s="Unavailable"}var x=s.match(/\d+/g)||[0];w[u]={available:x[0]>0,activeX:t&&!t.name,version:{original:s,array:x,string:x.join("."),major:parseInt(x[0],10)||0,minor:parseInt(x[1],10)||0,release:parseInt(x[2],10)||0},hasVersion:function(e){e=/string|number/.test(typeof e)?e.toString().split("."):/object/.test(typeof e)?[e.major,e.minor]:e||[0,0];return r(x,e)},encodeParams:true,expressInstall:"expressInstall.swf",expressInstallIsActive:false,create:function(e){if(!e.swf||this.expressInstallIsActive||!this.available&&!e.hasVersionFail){return false}if(!this.hasVersion(e.hasVersion||1)){this.expressInstallIsActive=true;if(typeof e.hasVersionFail=="function"){if(!e.hasVersionFail.apply(e)){return false}}e={swf:e.expressInstall||this.expressInstall,height:137,width:214,flashvars:{MMredirectURL:location.href,MMplayerType:this.activeX?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}}attrs={data:e.swf,type:"application/x-shockwave-flash",id:e.id||"flash_"+Math.floor(Math.random()*999999999),width:e.width||320,height:e.height||180,style:e.style||""};d=typeof e.useEncode!=="undefined"?e.useEncode:this.encodeParams;e.movie=e.swf;e.wmode=e.wmode||"opaque";delete e.fallback;delete e.hasVersion;delete e.hasVersionFail;delete e.height;delete e.id;delete e.swf;delete e.useEncode;delete e.width;var f=document.createElement("div");f.innerHTML=["<object ",c(attrs),">",b(e),"</object>"].join("");return f.firstChild}};w.fn[u]=function(e){var f=this.find(v).andSelf().filter(v);/string|object/.test(typeof e)&&this.each(function(){var g=w(this),h;e=typeof e==v?e:{swf:e};e.fallback=this;if(h=w[u].create(e)){g.children().remove();g.html(h)}});typeof e=="function"&&f.each(function(){var g=this;g.jsInteractionTimeoutMs=g.jsInteractionTimeoutMs||0;if(g.jsInteractionTimeoutMs<660){g.clientWidth||g.clientHeight?e.call(g):setTimeout(function(){w(g)[u](e)},g.jsInteractionTimeoutMs+66)}});return f}})(jQuery,"flash",navigator.plugins["Shockwave Flash"]||window.ActiveXObject);
	
//	16: configuration.js |  *	Version: 3.5
		jQuery(document).ready(function(){jQuery(".scrollable").each(function(){if(!jQuery(this).hasClass("lame")){jQuery(this).scrollable({size:4,clickable:false,keyboard:false,next:".browse.right",prev:".browse.left"}).circular()}});jQuery(".bookalize").bookalize();jQuery(".lightbox").lightbox();jQuery(".hoverbox_image").tooltip();graphicalselectBox();validateLuebbe();if(jQuery("#hs_array").length){highlightStage()}if(jQuery("#simpleSliderContent").length){jQuery("#simpleSliderContent").simpleSlider()}if(jQuery("#bigAccordion").length){jQuery("#bigAccordion").accordion({autoHeight:false,collapsible:true})}if(jQuery("#rate").length){jQuery("#rate").rate()}if(jQuery("#featureCarousel").length){jQuery("#featureCarousel").featureCarousel()}});jQuery(window).load(function(){jQuery(".bookalize").bookalize();if(jQuery("#accordion").length){jQuery("#accordion").accordion({autoHeight:false})}tabselect();jQuery("#change_order_form select").change(function(){jQuery("#change_order_form").submit()});jQuery("#renew_list_form select").change(function(){jQuery("#renew_list_form").submit()})});
	

