$(function() {

    $("a[rel]").overlay({
        //$("a[@rel]:eq(0)").overlay({
        // setup exposing (optional operation);
        onBeforeLoad: function() {
            this.expose();
        },

        onLoad: function(content) {

        },

        onClose: function(content) {
            $f().stop();
            $.expose.close();
        }
    });

});

$f("sampleoverlay", "flash/flowplayer-3.0.7.swf", {

	// this will enable pseudostreaming support 
	plugins: { 
		pseudo: { url: 'flash/flowplayer.pseudostreaming-3.1.1.swf' } 
	},
	
	// clip properties 
	clip: {
		
		// make this clip use pseudostreaming plugin with "provider" property
		provider: 'pseudo',				
		
		// all videos under this baseUrl support pseudostreaming on the server side		
		url: 'http://abbott.vo.llnwd.net/o18/similac/demo_intro.flv'		
	}   
});
