if(top.frames.length != 0)
{
	top.location = self.document.location;
}
if(top.location != document.location.href)
{
	top.location = document.location.href;
}
if(self != top)
{
	top.location = self.location;
}
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
self.focus();

(new Image()).src="includes/cron.php";

function note(id, note)
{
	window.open('note.php?id=' + id + '&note=' + note, 'Noter une vidéo !', 'width=350,height=150,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,directories=no,status=no');
}

function codehtml()
{
	var targetElement;
	targetElement = document.getElementById('codehtml');
	if(targetElement.style.display == "none")
	{
		targetElement.style.display = "";
	}
	else
	{
		targetElement.style.display = "none";
	}
}
