//Pour que la page se load dans un frame, mettre ça dans review.js (mettre code pour qu'en local ça fasse rien).

function InitPage()
{
   PreInit()
}

window.onload = InitPage;

function PreInit()
{
    if (top == self)
       {
	ValueStr = document.URL.substr(0,4);
	if(ValueStr == "http")
           {
            location.replace("http://" + document.domain +"/cgi-bin/genframe.cgi?url=" + document.URL.substring("http://".length + document.domain.length));
           }
       }
}

function OuvreFenetreImageURL(url, largeur, hauteur)
{
	var newWindow;
	newWindow = window.open('',"_blank",'toolbar=0,width=' + largeur + ',height=' + hauteur + ',locationbar=0,directories=0,status=0,scrollbars=0,resizable=0,menubar=0,left=100,top=100')
	newWindow.document.write('<HTML><HEAD><TITLE>Le Coin Du DVD</TITLE></HEAD><BODY BGCOLOR="#000000" TEXT="#FFFFFF" VLINK="#999999" LINK="#999999" TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>');
	newWindow.document.write('<TABLE border=0 cellpadding=0 cellspacing=0 HEIGHT=' + hauteur + ' width=' + largeur + '><TR><TD WIDTH=' + largeur + ' HEIGHT=' + hauteur + '>');
	newWindow.document.write('<CENTER><A HREF="javascript:window.close();"><IMG SRC="' + url + '" border=0 width=' + largeur + ' height=' + hauteur + '></A></CENTER>');
	newWindow.document.write('</TD></TR></TABLE></BODY></HTML>');
	newWindow.document.close();
}
