function mailto_uncrypt_adress(adress) {
	var character = 0;
	var result = "";
	for(i = 0; i < adress.length; i++) {
		character=adress.charCodeAt(i);
		result += String.fromCharCode(character+4);
	}
	location.href = result;
}

function player(profile,media,quantity,quantity_video,type,extension) {
	if (profile == 1) {
		profile = "christophe";
	}
         if (profile == 2) {
		profile = "evamarcos";
	}
         if (profile == 3) {
		profile = "felix";
	}
         if (profile == 4) {
		profile = "miriam";
	}
         if (profile == 5) {
		profile = "tobias";
	}
         var url = "player.php?profile="+profile+"&media="+media+"&quantity="+quantity+"&quantity_video="+quantity_video+"&type="+type+"&extension="+extension;
  	window.open(url,'Player','width=900,height=600');
}
