/**
 * @author dboz
 */
$(document).ready(function () {
	
	$('img.scrollButtons, .navItem *').pngFix();
	
	$('a').click(function() {
   			this.blur();
    	});
		
		
		//lightbox functions		
		// any link with rel=lightbox
		$('a[@rel*=lightbox]').lightBox();

	$('.stripViewer').addClass("overflowHider");

		//***************************************************
		//home animation	
		$('.header .banner').innerfade({ 
			animationtype: 'fade', //Type of animation 'fade' or 'slide' (Default: 'fade'), 
			speed: 'slow', 
			timeout: 6000, 
			type: 'sequence', 
			containerheight: '139px',
			containerwidth: '854px',
			children: 'span img'
		});
	$('.wrapper table tr:odd').addClass('odd');
	
});


function popUp(URL) {
                day = new Date();
                id = day.getTime();
                eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=600,height=450,left = 100,top = 30');");
        }
		
		jQuery(window).bind("load", function() {
			jQuery("div#slider1").codaSlider()
			// jQuery("div#slider2").codaSlider()
			// etc, etc. Beware of cross-linking difficulties if using multiple sliders on one page.
			//$('.slider-wrap').addClass("overflowHider");
			//class="slider-wrap"
		});