
/* Merged Plone Javascript file
 * This file is dynamically assembled from separate parts.
 * Some of these parts have 3rd party licenses or copyright information attached
 * Such information is valid for that section,
 * not for the entire composite file
 * originating files are separated by - filename.js -
 */

/* - ++resource++plonetheme.etec.javascripts/jquery.boxshadow.js - */
// http://www.etec.de/portal_javascripts/++resource++plonetheme.etec.javascripts/jquery.boxshadow.js?original=1
(function(jq){jq.fn.boxShadow=function(xOffset,yOffset,IEAbsoluteX,IEAbsoluteY,blurRadius,shadowColor){if(!jq.browser.msie){return this.each(function(){jq(this).css({'box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor,'-o-box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor,'-moz-box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor,'-webkit-box-shadow':xOffset+'px '+yOffset+'px '+blurRadius+'px '+shadowColor})})}
return this.each(function(){jq(this).parent().css({position:"relative"});var div=document.createElement("div");if(!(jq(div).hasClass("ieboxshadow"))){jq(div).addClass("ieboxshadow")}
jq(this).append(div);var _top,_left,_width,_height;if(blurRadius!==0){jq(div).css("filter","progid:DXImageTransform.Microsoft.Blur(pixelRadius="+(blurRadius)+", enabled='true')");_top=IEAbsoluteY-blurRadius-1;_left=IEAbsoluteX-blurRadius-1;_width=jq(this).width()+1;h=jq(this).height();if(h>4){_height=h-4}
else{_height=h}} else{_top=IEAbsoluteY;_left=IEAbsoluteX;_width=jq(this).width();_height=jq(this).height()}
jq(div).css({top:_top,left:_left,width:_width,height:_height,background:shadowColor,position:"absolute",zIndex:-1})})}})(jQuery);

/* - ++resource++plonetheme.etec.javascripts/allpage.js - */
// http://www.etec.de/portal_javascripts/++resource++plonetheme.etec.javascripts/allpage.js?original=1
jq(document).ready(function(){jq(".LSBox").mouseover(function(){if(jq("#searchSection").is(":hidden")){jq("#searchSection").slideDown("fast")}});jq("#portal-logo").mouseover(function(){if(jq("#searchSection").is(":shown")){jq("#searchSection").slideUp("fast")}})});jq(document).ready(function(){jq(".portletSitemapTree").hide();jq("#left_navigation li a").each(function(itemIndex,tab){var itemclass=jq(tab).attr('class');var top_left=jq(tab).offset();jq(tab).mouseover(function(){jq(".portletSitemapTree dd ul li").hide();jq(".portletSitemapTree").mouseover(function(){jq(".portletSitemapTree").show()}).mouseout(function(){jq(".portletSitemapTree").hide()}).show().css("top",top_left.top-2);jq(".portletSitemapTree dd ul li:has(a[title='"+itemclass+"'])").show()
if(jq(".portletSitemapTree li:has(a[title='"+itemclass+"']) ul li").is(":hidden")){jq(".portletSitemapTree li:has(a[title='"+itemclass+"']) ul li").show()}})
jq(tab).mouseout(function(){jq(".portletSitemapTree").hide()})})});jq(document).ready(function(){jq("#objektwechsler").boxShadow(3,3,0,4,8,"#CCC");jq("#objektwechsler").hide();jq("#siteaction-objektwechsler").click(function(){jq("#objektwechsler").click(function(){jq("#objektwechsler").show();return true}).mouseleave(function(){jq("#objektwechsler").hide()}).show();return false})});
function callFancy(my_href){var j1=document.getElementById("#hiddenVideolink");j1.href=my_href;jq("#hiddenVideolink").trigger("click")}
jq(document).ready(function(){jq("#hiddenVideolink").fancybox({'width':580,'height':340,'autoScale':false,'overlayColor':'#000','transitionIn':'none','transitionOut':'none','content':'<p><p><iframe width="560" height="315" frameborder="0" allowfullscreen="" src="http://www.youtube.com/embed/_AqOlucsjoU"></iframe></p>'})});

