function OpenBox()
{		
		var box = document.getElementById('share');				
		box.style.display = 'block';
}
function CloseBox()
{
		var box = document.getElementById('share');
		box.style.display = 'none';
}
function CloseShadowBox()
{
	setTimeout("Shadowbox.close()",3000);
}
function LienMySpace()
{
		var id = "qIrN486rb1k";
		var titre = "Fonange";
		var video = "http://www.fonange.fr/images/interface/vignette-share.jpg";
		var lien = "http://www.fonange.fr/images/interface/vignette-share.jpg";
		
		var embed = "<object width='425' height='355'><param name='movie' value='"
									+video
									+"'></param><embed src='"
									+video
									+"' type='application/x-shockwave-flash' width='425' height='355'></embed></object>";
									
		embed = encodeURIComponent(embed);
		
		var adresse = "http://www.myspace.com/Modules/PostTo/Pages/?t="
									+titre
									+"&c="
									+embed
									+"&u="
									+lien;	
		
		window.open(adresse);

}
function LienFacebook()
{
		var id = "qIrN486rb1k";
		var titre = "Fonange";
		var video = "http://www.fonange.fr/";
		var image = "http://www.fonange.fr/images/interface/vignette-share.jpg";
		var attachment = "Maquettiste Infographiste Webdesigner Webmaster. J'étudie, imagine, crée, développe et réalise différents projets de communication pour des réalisations qui découlent d'un talent artistique et d'une qualité technique performante. Ma souplesse et réactivité vous apporteront une sensibilité créative et un regard extérieur sur votre savoir-faire.";
		
		var embed = video;
									
		embed = encodeURIComponent(embed);
		
		var adresse = "http://www.facebook.com/sharer.php?u="
									+embed
									+"&t="
									+titre;	
		
		window.open(adresse);
}
function LienDigg()
{
		var id = "qIrN486rb1k";
		var titre = "Fonange";
		var video = "http://www.fonange.fr/";
		var accroche = "Maquettiste Infographiste Webdesigner Webmaster. J'étudie, imagine, crée, développe et réalise différents projets de communication pour des réalisations qui découlent d'un talent artistique et d'une qualité technique performante. Ma souplesse et réactivité vous apporteront une sensibilité créative et un regard extérieur sur votre savoir-faire.";

		var adresse = "http://digg.com/submit?Phase=2&url="
									+video
									+"&title="
									+titre
									+"&bodytext="
									+accroche
									+"&topic=videos_educational";
									
		window.open(adresse);
}
function LienTwitter()
{				
		var id = "qIrN486rb1k";
		var titre = "Fonange";
		var video = "http://www.fonange.fr/";
		
		titre = encodeURIComponent(titre);
		video = encodeURIComponent(video);
		
		var adresse = "http://twitter.com/home?status="
									+titre
									+"%20"
									+video;
									
		window.open(adresse);
}
function LienMail()
{
		var id = "qIrN486rb1k";
		
		Shadowbox.open({
				content:    "/share-mail.htm",
				player:     "iframe",
				title:      "",
				height:     550,
				width:      700
		});

}

function LienContact()
{
		var id = "qIrN486rb1k";
		
		Shadowbox.open({
				content:    "/share-contact.htm",
				player:     "iframe",
				title:      "",
				height:     550,
				width:      700
		});

}
