//
var GbFormBgColor = "#e2bc95";
var GbFormTlColor = "#a8a800";

function setGBFormColor(bgColor, tlColor)
{	
    GbFormBgColor = bgColor;
    GbFormTlColor = tlColor;
}

function GBForm(head)
{
    document.write("<form method=POST action=\"/feedback/page.xhtml\" target=_top>");
    document.write("<input type=hidden name=Page value=\"");
    document.write(document.location.href);
    document.write("\">");
    document.write("<input type=hidden name=Title value=\"");
    document.write(document.title);
    document.write("\">");
    document.write("<input type=hidden name=head value=\"");
    document.write(head);
    document.write("\">");
    document.write("<table border=0 cellspacing=0 cellpadding=4 align=center bgcolor = ");
    document.write(GbFormBgColor);
    document.write("><tr><td bgcolor = ");
    document.write(GbFormTlColor);
    document.write("><p style=\"text-align: center;\"><b>Ваш отзыв об этой странице</b></p>");
    document.write("</td></tr><tr><td>");
    document.write("<p style='text-align: left; text-indent: 0pt;'>&nbsp;<br>");
    document.write("<nobr><B>Ваше имя: </b><input name=Name type=text size=20 value=''>&nbsp;");
    document.write("<B>E-mail: </b><input name=Email type=text size=15 value=''></nobr></p>");
    document.write("<p style='text-align: left; text-indent: 0pt;'>");
    document.write("<nobr><b>Этот материал:</b>");
    document.write("<input type=radio name=Level value=Хороший CHECKED> Хороший &nbsp;");
    document.write("<input type=radio name=Level value=Никакой> Никакой &nbsp;");
    document.write("<input type=radio name=Level value=Плохой> Плохой</nobr></p>");
    document.write("<p style='text-align: left; text-indent: 0pt;'>");
    document.write("<B>Ваш комментарий:</b><BR>");
    document.write("<textarea name=Comment wrap=virtual cols=50 rows=5></textarea></p>");
    document.write("<p style='text-align: center;'><input VALUE='Послать отзыв' TYPE=submit></p>");
    document.writeln("</td></tr></table></form><p>&nbsp;</p>");
}

