function PopupPage() {
	w=open("http://holymelody.9online.fr/samples/index.html",'OSTAIR','width=300,height=10,location=no,directories=no,status=no,menubar=no,toolbar=no,scrollbars=no,resizable=no');
	w.document.close();
}
/*
	w.document.write("<HTML><HEAD><TITLE>FMWarehouse</TITLE></HEAD>");
	w.document.write("<BODY leftMargin=0 topMargin=0 marginwidth=0 marginheight=0><?php header (\"Location: http://holymelody.9online.fr/samples/index.html\"); ?>");
	w.document.write("</BODY></HTML>");

  w.document.write("<frameset noresize='noresize'  rows='0,*' frameborder='no' border='0' framespacing='0'>");
	w.document.write("<frame noresize='noresize' name='TopFrame' src='http://holymelody.9online.fr/samples/index.html' frameborder='no'>");
	w.document.write("<frame noresize='noresize' name='mainFrame' src='http://holymelody.9online.fr/samples/index.html' frameborder='no'>");
	w.document.write("</frameset>");
*/
var hexa = "0123465789ABCDEF";

function DecToHexa(DecNb) {
    x = Math.floor(DecNb / 16);
    h = hexa.charAt(x);
    x = DecNb % 16;
    h += hexa.charAt(x);

    return h;
}

function Degrade(dr,dg,db,fr,fg,fb,texte) {
    steps = texte.length;
    cr = dr; cg = dg; cb = db;
    sr = (fr - dr) / steps;
    sg = (fg - dg) / steps;
    sb = (fb - db) / steps;

    for (var x = 0; x <= steps; x++) {
        document.write('<FONT COLOR="#' + DecToHexa(cr) + DecToHexa(cg) + DecToHexa(cb) + '">');
        document.write(texte.charAt(x));
        document.write('</FONT>');
        cr += sr; cg += sg; cb += sb;
    }
}
function ShowHide(status, cible) {document.getElementById(cible).style.visibility=status;}


