


$(document).ready(function() {
	
});

(function( $ ){

	var methods = {
	
		// featureRotator Basic Functionality --------------------------------------------------------------
		init : function( options ) {
			
                        
			// Setting My Variables --------------------------------------------------------------------
			var settings = {
                            
		        }
			// -------------------------------------------------------------- END - Setting My Variables
			
			
			// Updating My Variables -------------------------------------------------------------------
			if ( options ) { 
                		$.extend( settings, options );
            		}
			
			// ------------------------------------------------------------- END - Updating My Variables
			
			
			// Each ------------------------------------------------------------------------------------
    			return this.each(function() {
                            
    				var $this = $(this);
                                
				// Fixes z-index woes in IE :)
				if ( $.browser.msie ) {
				var embedTag;
					$this.each(function(i) {
					embedTag = $(this).attr("outerHTML");
						if ((embedTag != null) && (embedTag.length > 0)) {
							embedTag = embedTag.replace(/embed /gi, "embed wmode=\"opaque\" ");
							$(this).attr("outerHTML", embedTag);
						}
					});
				}
				
				else { $this.prepend('<param name="wmode" value="transparent" />'); }
                                
    			});
    			
    			// ------------------------------------------------------------------------------ END - Each                
		}	// ------------------------------------------------------------------------------ END - init

                   
        };		// --------------------------------------------------------------------------- END - methods

	$.fn.fixFlash = function( method ) {

		if ( methods[method] ) {
			return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
		} else if ( typeof method === 'object' || ! method ) {
 			return methods.init.apply( this, arguments );
		} else {
			$.error( 'Method ' +  method + ' does not exist on jQuery.fixFlash' );
		}    
  
	};

})( jQuery );
