Sundance Updates and Photos

// Check for on() ( jQuery 1.7+ ) if( jQuery.isFunction( jQuery(window).on ) ){ jQuery(window).on('load', function(){ jQuery('#id928-AlpinePhotoTiles_container').removeClass('loading');

var alpineLoadPlugin = function(){ jQuery('#id928-hidden-parent').AlpinePhotoTilesPlugin({ id:'id928', style:'bookshelf', shape:'vertical', perRow:4, imageBorder:0, imageShadow:1, imageCurve:1, imageHighlight:1, lightbox:1, galleryHeight:0, // Keep for Compatibility galRatioWidth:800, galRatioHeight:600, highlight:'#64a2d8', pinIt:0, siteURL:'http://www.cherokeemetro.org', callback: function(){jQuery( '#id928-AlpinePhotoTiles_container a.AlpinePhotoTiles-lightbox' ).attr( 'rel', 'alpine-fancybox-safemode-id928' );if(jQuery().fancyboxForAlpine){jQuery( 'a[rel^=\'alpine-fancybox-safemode-id928\']' ).fancyboxForAlpine( { titleShow: false, overlayOpacity: .8, overlayColor: '#000', titleShow: true, titlePosition: 'inside' } );}} }); }

// Load Alpine Plugin if( jQuery().AlpinePhotoTilesPlugin ){ alpineLoadPlugin(); }else{ // Load Alpine Script and Style var css = 'http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/css/AlpinePhotoTiles_style.css'; var link = jQuery(document.createElement('link')).attr({'rel':'stylesheet','href':css,'type':'text/css','media':'screen'}); jQuery.getScript('http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/js/AlpinePhotoTiles_script.js', function(){ if(document.createStyleSheet){ document.createStyleSheet(css); }else{ jQuery('head').append(link); } if( !jQuery().fancyboxForAlpine ){ // Load Lightbox jQuery.getScript('http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/js/fancybox-alpine-safemode/jquery.fancyboxForAlpine-1.3.4.pack.js?ver=1.3.4', function(){ css = 'http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/js/fancybox-alpine-safemode/jquery.fancyboxForAlpine-1.3.4.css?ver=1.3.4'; link = jQuery(document.createElement('link')).attr({'rel':'stylesheet','href':css,'type':'text/css','media':'screen'}); if(document.createStyleSheet){ document.createStyleSheet(css); }else{ jQuery('head').append(link); } alpineLoadPlugin(); }); // Close getScript }else{ alpineLoadPlugin(); } }); // Close getScript } }); }else{ // Otherwise, use bind() jQuery(window).bind('load', function(){ jQuery('#id928-AlpinePhotoTiles_container').removeClass('loading');

var alpineLoadPlugin = function(){ jQuery('#id928-hidden-parent').AlpinePhotoTilesPlugin({ id:'id928', style:'bookshelf', shape:'vertical', perRow:4, imageBorder:0, imageShadow:1, imageCurve:1, imageHighlight:1, lightbox:1, galleryHeight:0, // Keep for Compatibility galRatioWidth:800, galRatioHeight:600, highlight:'#64a2d8', pinIt:0, siteURL:'http://www.cherokeemetro.org', callback: function(){jQuery( '#id928-AlpinePhotoTiles_container a.AlpinePhotoTiles-lightbox' ).attr( 'rel', 'alpine-fancybox-safemode-id928' );if(jQuery().fancyboxForAlpine){jQuery( 'a[rel^=\'alpine-fancybox-safemode-id928\']' ).fancyboxForAlpine( { titleShow: false, overlayOpacity: .8, overlayColor: '#000', titleShow: true, titlePosition: 'inside' } );}} }); }

// Load Alpine Plugin if( jQuery().AlpinePhotoTilesPlugin ){ alpineLoadPlugin(); }else{ // Load Alpine Script and Style var css = 'http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/css/AlpinePhotoTiles_style.css'; var link = jQuery(document.createElement('link')).attr({'rel':'stylesheet','href':css,'type':'text/css','media':'screen'}); jQuery.getScript('http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/js/AlpinePhotoTiles_script.js', function(){ if(document.createStyleSheet){ document.createStyleSheet(css); }else{ jQuery('head').append(link); } if( !jQuery().fancyboxForAlpine ){ // Load Lightbox jQuery.getScript('http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/js/fancybox-alpine-safemode/jquery.fancyboxForAlpine-1.3.4.pack.js?ver=1.3.4', function(){ css = 'http://www.cherokeemetro.org/wp-content/plugins/alpine-photo-tile-for-picasa-and-google-plus/js/fancybox-alpine-safemode/jquery.fancyboxForAlpine-1.3.4.css?ver=1.3.4'; link = jQuery(document.createElement('link')).attr({'rel':'stylesheet','href':css,'type':'text/css','media':'screen'}); if(document.createStyleSheet){ document.createStyleSheet(css); }else{ jQuery('head').append(link); } alpineLoadPlugin(); }); // Close getScript }else{ alpineLoadPlugin(); } }); // Close getScript } }); }