<script LANGUAGE="JavaScript">
function build_it(form) {
print_out=""
if (form.normal_color.value||!form.normal_size[0].selected||form.normal_type.value||!form.normal_style[0].selected||!form.normal_weight[0].selected||!form.normal_underline[0].selected||!form.normal_cursor[0].selected||!form.normal_variant[0].selected||!form.normal_case[0].selected||form.normal_bgcolor.value)
{
print_out += "A:link\t{\n"
if (form.normal_color.value) { print_out += "color:" + form.normal_color.value +
";\n"}
if (!form.normal_size[0].selected) { print_out += "font-size:" +
form.normal_size.options[form.normal_size.selectedIndex].value + ";\n"}
if (form.normal_type.value) { print_out += "font-family:" +
form.normal_type.value + ";\n"}
if (!form.normal_style[0].selected) { print_out += "font-style:" +
form.normal_style.options[form.normal_style.selectedIndex].value + ";\n"}
if (!form.normal_weight[0].selected) { print_out += "font-weight:" +
form.normal_weight.options[form.normal_weight.selectedIndex].value + ";\n"}
if (!form.normal_underline[0].selected) { print_out += "text-decoration:" +
form.normal_underline.options[form.normal_underline.selectedIndex].value +
";\n"}
if (!form.normal_cursor[0].selected) { print_out += "cursor:" +
form.normal_cursor.options[form.normal_cursor.selectedIndex].value + ";\n"}
if (!form.normal_variant[0].selected) { print_out += "font-variant:" +
form.normal_variant.options[form.normal_variant.selectedIndex].value + ";\n"}
if (!form.normal_case[0].selected) { print_out += "text-transform:" +
form.normal_case.options[form.normal_case.selectedIndex].value + ";\n"}
if (form.normal_bgcolor.value) { print_out += "background-color:" +
form.normal_bgcolor.value + ";\n"}
print_out += "\t}\n"}
/* HOVER Links */
if (form.hover_color.value||!form.hover_size[0].selected||form.hover_type.value||!form.hover_style[0].selected||!form.hover_weight[0].selected||!form.hover_underline[0].selected||!form.hover_cursor[0].selected||!form.hover_variant[0].selected||!form.hover_case[0].selected||form.hover_bgcolor.value)
{
print_out += "A:hover\t{\n"
if (form.hover_color.value) { print_out += "color:" + form.hover_color.value +
";\n"}
if (!form.hover_size[0].selected) { print_out += "font-size:" +
form.hover_size.options[form.hover_size.selectedIndex].value + ";\n"}
if (form.hover_type.value) { print_out += "font-family:" + form.hover_type.value
+ ";\n"}
if (!form.hover_style[0].selected) { print_out += "font-style:" +
form.hover_style.options[form.hover_style.selectedIndex].value + ";\n"}
if (!form.hover_weight[0].selected) { print_out += "font-weight:" +
form.hover_weight.options[form.hover_weight.selectedIndex].value + ";\n"}
if (!form.hover_underline[0].selected) { print_out += "text-decoration:" +
form.hover_underline.options[form.hover_underline.selectedIndex].value + ";\n"}
if (!form.hover_cursor[0].selected) { print_out += "cursor:" +
form.hover_cursor.options[form.hover_cursor.selectedIndex].value + ";\n"}
if (!form.hover_variant[0].selected) { print_out += "font-variant:" +
form.hover_variant.options[form.hover_variant.selectedIndex].value + ";\n"}
if (!form.hover_case[0].selected) { print_out += "text-transform:" +
form.hover_case.options[form.hover_case.selectedIndex].value + ";\n"}
if (form.hover_bgcolor.value) { print_out += "background-color:" +
form.hover_bgcolor.value + ";\n"}
print_out += "\t}\n"}
/* ACTIVE Links */
if (form.active_color.value||!form.active_size[0].selected||form.active_type.value||!form.active_style[0].selected||!form.active_weight[0].selected||!form.active_underline[0].selected||!form.active_cursor[0].selected||!form.active_variant[0].selected||!form.active_case[0].selected||form.active_bgcolor.value)
{
print_out += "A:active\t{\n"
if (form.active_color.value) { print_out += "color:" + form.active_color.value +
";\n"}
if (!form.active_size[0].selected) { print_out += "font-size:" +
form.active_size.options[form.active_size.selectedIndex].value + ";\n"}
if (form.active_type.value) { print_out += "font-family:" +
form.active_type.value + ";\n"}
if (!form.active_style[0].selected) { print_out += "font-style:" +
form.active_style.options[form.active_style.selectedIndex].value + ";\n"}
if (!form.active_weight[0].selected) { print_out += "font-weight:" +
form.active_weight.options[form.active_weight.selectedIndex].value + ";\n"}
if (!form.active_underline[0].selected) { print_out += "text-decoration:" +
form.active_underline.options[form.active_underline.selectedIndex].value +
";\n"}
if (!form.active_cursor[0].selected) { print_out += "cursor:" +
form.active_cursor.options[form.active_cursor.selectedIndex].value + ";\n"}
if (!form.active_variant[0].selected) { print_out += "font-variant:" +
form.active_variant.options[form.active_variant.selectedIndex].value + ";\n"}
if (!form.active_case[0].selected) { print_out += "text-transform:" +
form.active_case.options[form.active_case.selectedIndex].value + ";\n"}
if (form.active_bgcolor.value) { print_out += "background-color:" +
form.active_bgcolor.value + ";\n"}
print_out += "\t}\n"}
/* VISITED Links */
if (form.visited_color.value||!form.visited_size[0].selected||form.visited_type.value||!form.visited_style[0].selected||!form.visited_weight[0].selected||!form.visited_underline[0].selected||!form.visited_cursor[0].selected||!form.visited_variant[0].selected||!form.visited_case[0].selected||form.visited_bgcolor.value)
{
print_out += "A:visited\t{\n"
if (form.visited_color.value) { print_out += "color:" + form.visited_color.value
+ ";\n"}
if (!form.visited_size[0].selected) { print_out += "font-size:" +
form.visited_size.options[form.visited_size.selectedIndex].value + ";\n"}
if (form.visited_type.value) { print_out += "font-family:" +
form.visited_type.value + ";\n"}
if (!form.visited_style[0].selected) { print_out += "font-style:" +
form.visited_style.options[form.visited_style.selectedIndex].value + ";\n"}
if (!form.visited_weight[0].selected) { print_out += "font-weight:" +
form.visited_weight.options[form.visited_weight.selectedIndex].value + ";\n"}
if (!form.visited_underline[0].selected) { print_out += "text-decoration:" +
form.visited_underline.options[form.visited_underline.selectedIndex].value +
";\n"}
if (!form.visited_cursor[0].selected) { print_out += "cursor:" +
form.visited_cursor.options[form.visited_cursor.selectedIndex].value + ";\n"}
if (!form.visited_variant[0].selected) { print_out += "font-variant:" +
form.visited_variant.options[form.visited_variant.selectedIndex].value + ";\n"}
if (!form.visited_case[0].selected) { print_out += "text-transform:" +
form.visited_case.options[form.visited_case.selectedIndex].value + ";\n"}
if (form.visited_bgcolor.value) { print_out += "background-color:" +
form.visited_bgcolor.value + ";\n"}