// JavaScript Document
     function loadFile(swf, obj)
		{
	    // alert(obj);		
		var myplayer = document.getElementById(swf);
		myplayer.sendEvent("LOAD",obj);
		myplayer.sendEvent("PLAY","true");
		myplayer.sendEvent("file","../sample/flashVDO/health_playlist.xml");
        myplayer.sendEvent("playlist","bottom");                             
		
		}

    

      var flashvars =
      {
        
		'skin':                                  '../jwplayerskinfull/icecreamsneaka.swf',
		'file':                                  '../sample/flashVDO/health_playlist2.xml',
        'playlist':                              'bottom',
        'playlistsize':                          '99',
        'playlist.thumbs':                       'true',
        'shuffle':                               'false',
        'backcolor':                             '00000',
        'frontcolor':                            'FFFFFF',
        'lightcolor':                            'CCFF66',
        'id':                                    'mpl',
        'autostart':                             'true',
		'repeat':								 'always',
		'javascriptid':                          'mpl',
		
		'plugins': 								  'drelated-1',
        'drelated.dxmlpath':                      '../sample/flashVDO/health_playlistRelate2.xml',
        'drelated.dposition':                     'bottom',
        'drelated.dskin':                         '../jwplayerskinfull/grayskin.swf',
        'drelated.dtarget':                       '_self'
		
      };

      var params =
      {

        'allowfullscreen':                       'true',
        'allowscriptaccess':                     'always',
        'bgcolor':                               '#FFFFFF'
      };

      var attributes =
      {
        'id':                                    'mpl',
        'name':                                  'mpl'
      };

      swfobject.embedSWF('../sample/flashmp3/player-viral.swf', 'mpl', '250', '350', '9.0.124', false, flashvars, params, attributes);
 
