// 300x250 window calc form start
document.write("<div style=\"float: left; margin: 0; background:url(http:\/\/www.unitedhomeimprovement.com\/affiliates_new\/images\/bg-calc-windows.gif) no-repeat; height: 250px; width: 300px; font-family: arial; text-align: left;\">");
document.write("  <form method=\"post\" style=\"margin: 0;\" onSubmit=\"redirectOutputWindows(this);\">");
document.write("    <p style=\"color: #333333; font-size: 11px; margin: 84px 0 0 15px; font-weight: bold;\">Project Type:<\/p>");
document.write("    <select style=\"width: 170px; height: 20px; margin: 3px 0 3px 15px; font-size: 12px;\" name=\"PROJ\" id=\"PROJ\">");
document.write("      <option value=\"Replacement Windows\" selected>Replacement Windows<\/option>");
document.write("      <option value=\"New Construction\">New Construction<\/option>");
document.write("    <\/select>");
document.write("    <p style=\"color: #333333; font-size: 11px; margin: 0 0 0 15px; font-weight: bold; clear: both;\">Budget Type:<\/p>");
document.write("    <select style=\"width: 100px; height: 20px; margin: 3px 0 3px 15px; font-size: 12px;\" name=\"BPREF\" id=\"BPREF\">");
document.write("      <option value=\"300\" selected>Economy<\/option>");
document.write("      <option value=\"500\">Mid Range<\/option>");
document.write("      <option value=\"800\">High End<\/option>");
document.write("    <\/select>");
document.write("    <p style=\"color: #333333; font-size: 11px; margin: 0 0 0 15px; font-weight: bold;\">Number of Windows:<\/p>");
document.write("    <select style=\"width: 50px; height: 20px; margin: 3px 0 3px 15px; font-size: 12px;\" name=\"NUMB\" id=\"NUMB\">");
document.write("      <option value=\"1\" selected>1<\/option>");
document.write("      <option value=\"3\">3<\/option>");
document.write("      <option value=\"5\">5<\/option>");
document.write("      <option value=\"10\">10<\/option>");
document.write("      <option value=\"15\">15<\/option>");
document.write("    <\/select>");
document.write("    <p style=\"color: #333333; font-size: 11px; margin: 0 0 0 15px; font-weight: bold;\">Enter Zip Code:<\/p>");
document.write("    <input style=\"float: left; width: 80px; height: 16px; margin: 3px 0 3px 15px; font-size: 14px; font-weight: bold; text-align: center;\" name=\"PC\" type=\"text\" value=\"\" \/>");
document.write("    <input name=\"form_submit\" type=\"submit\" value=\"\" style=\"background: url('http:\/\/www.unitedhomeimprovement.com\/affiliates_new\/images\/btn-calc-windows.gif'); float: right; margin: -3px 5px 0 0; height: 29px; width: 129px; border: solid 0px #000000;\" alt=\"GET QUOTES\" hspace=\"0\" vspace=\"0\" border=\"0\" \/>");
document.write("  <\/form>");
document.write("<\/div>");
document.write("");

function redirectOutputWindows(myForms) {
var w = window.open('http://www.unitedhomeimprovement.com/affiliates_new/price-quote-c.html?QUAD='+BuildWidget.quad+'&LOGO='+BuildWidget.logo+'&CSS='+BuildWidget.css+'&PSID=calc-'+document.location.href.replace("#","")+'&PC='+myForms.PC.value+'&PROJ='+myForms.PROJ.value+'&BPREF='+myForms.BPREF.value+'&NUMB='+myForms.NUMB.value+'&SERVICE=servicescheckbox=WINDOWS','','height=850,width=705,location=no,scrollbars=yes');
return true;
}


