Warning: Illegal string offset 'menu' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 14
Warning: Illegal string offset 'post_types' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 25
Warning: Illegal string offset 'post_formats' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 33
Warning: Illegal string offset 'taxonomies' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 38
Warning: Illegal string offset 'wp_menus' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 45
Warning: Illegal string offset 'sidebar_template' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 53
Warning: Illegal string offset 'sidebars' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 63
Warning: Illegal string offset 'pages_with_sidebars' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 115
Warning: Illegal string offset 'widgets' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 122
Warning: Illegal string offset 'shortcodes' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 138
Warning: Illegal string offset 'imagesizes' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php on line 151
Warning: Illegal string offset 'sidebars' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 107
Warning: Invalid argument supplied for foreach() in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 107
Warning: Illegal string offset 'post_types' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 139
Warning: Invalid argument supplied for foreach() in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 139
Warning: Illegal string offset 'taxonomies' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 148
Warning: Invalid argument supplied for foreach() in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 148
Warning: Illegal string offset 'post_formats' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 169
Warning: Illegal string offset 'widgets' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 181
Warning: Invalid argument supplied for foreach() in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 181
Warning: Illegal string offset 'shortcodes' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 190
Warning: Invalid argument supplied for foreach() in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 190
Warning: Illegal string offset 'imagesizes' in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 199
Warning: Invalid argument supplied for foreach() in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/init.php on line 199
Warning: Invalid argument supplied for foreach() in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/framework/core/admin.common.php on line 362
Warning: Cannot modify header information - headers already sent by (output started at /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/config.php:14) in /homepages/40/d236054955/htdocs/app314704034/wp-content/themes/shutter/config/resources/custom-slideshow.php on line 6
$j(document).ready(function() {
var body = $j("body");
$j.fullBackground({
speed: 250
});
var slides = $j("#background_slider").children(".slide");
if( slides.length > 0 ) {
$j("#background_slider iframe").each(function() {
var src = $j(this).attr('src');
if( src != "" ) {
var wmode = "wmode=transparent";
if(src.indexOf('?') != -1) {
var getQString = src.split('?');
var oldString = getQString[1];
var newString = getQString[0];
$j(this).attr('src',newString+'?'+wmode+'&'+oldString);
}
else $j(this).attr('src',src+'?'+wmode);
}
});
}
if( slides.length > 1 ) {
$j("#background_slider").cycle({
fx: 'fade',
cleartypeNoBg: true,
timeout: 6000,
speed: 250,
pause: 0,
prev: $j(".bg-prev"),
next: $j(".bg-next"),
startingSlide: 0,
after: function(currSlideElement, nextSlideElement, opts) {
var img = $j(nextSlideElement).find("img");
var title = "";
if( img.length > 0 ) {
title = "" + img.attr("alt") + "";
var url = img.attr("data-url");
if( url != "" ) {
title = "" + title + "";
}
} else {
var iframe = $j(nextSlideElement).find("iframe");
title = "" + iframe.attr("data-alt") + "";
}
$j(".slide_title")
.fadeOut(function() {
$j(this)
.html(title)
.fadeIn();
});
}
});
$j("a.bg-play").click(function() {
$j("#background_slider").cycle('toggle');
$j(this).toggleClass('paused');
return false;
});
}
$j(".bg-expand a").click(function(e) {
e.preventDefault();
if( !body.hasClass("background-faded") )
contentOut(thbConfig.contentOutSpeed, thbConfig.contentOutEasing);
else
contentIn(thbConfig.contentInSpeed, thbConfig.contentInEasing);
return false;
});
});