﻿// jQuery 
$(document).ready(function() {

    $(document).pngFix(); 

	// Initialize Scrollable Content
	$("div.scrollable").scrollable({
	    size: 5,
	    items: "#thumbs",
	    clickable: false,
	    speed: 100,
	    hoverClass: "hover"
	});
	
	
	$('h3.flTextReplace').flash(
        { 
            src: '/Showcase/dell/Media/jfrGotham.swf',
            wmode: 'transparent',  
            flashvars: { 
                css: [
                    '* { color: #666666; text-transform: uppercase; }'
                ].join(' ')
            }
        },
        { version: 7 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = $alt.height();
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );


});