
var player = null;
function playerReady(thePlayer) {
	player = window.document[thePlayer.id];
}


function createPlayer() {
	var flashvars = {
		file:"http://www.darkstarincorporated.net/media/gem/videos/rubio_hd.flv", 
		autostart:"true"
	}
	
	var params = {
		allowfullscreen:"true", 
		allowscriptaccess:"always",
		allownetworking:"all",
		/* This parameter allows flash objects to become transparent in Internet explorer and Firefox fixing issues with overlays */
		wmode:"transparent"
	
	}

	var attributes = {
		id:"player1",  
		name:"player1"
	}

	swfobject.embedSWF("http://www.darkstarincorporated.net/media/gem/videos/player.swf", "placeholder1", "460", "278", "9.0.115", false, flashvars, params, attributes);
}
