function LoadPlayer(id,src)
{
	$.ajax({
	  url: "JunoSWF.php",
	  type: "POST", 
    data: "url="+src, 
    dataType: "html", 
    async:true, 
	  success: function(html) {
	    $("#"+id).html(html);
	  }
	});
}

function LoadDiscoPlayer(id,src)
{
	if($("#player")!=null){
		$("#player").remove();
  }
	$.ajax({
	  url: "JunoSWF.php",
	  type: "POST", 
    data: "url="+src, 
    dataType: "html", 
    async:true, 
	  success: function(html) {
	    $("#"+id).html("<div id='player' style='margin-top:5px'>"+html+"</div>");
	  }
	});
}

function LoadFlashPlayer(id,src)
{
	if($("#player")!=null){
		$("#player").remove();
  }
	$.ajax({
	  url: "flashplayer.php",
	  type: "POST", 
    data: "url="+src, 
    dataType: "html", 
    async:true, 
	  success: function(html) {
	    $("#"+id).html("<div id='player' style='margin-top:5px'>"+html+"</div>");
	  }
	});
	
}

function RegisterEmail()
{
	$.ajax({
	  url: "_include/writeEmail.php",
	  type: "POST", 
    data: "email="+$("#email").val(), 
    dataType: "html", 
    async:true, 
	  success: function(html) {
	    $("#EmailAnswer").html(html);
	  }
	});
	
}
