rendered paste body<HTML><HEAD><TITLE>main</TITLE><META HTTP-EQUIV="Content Type" content="text/html; charset=windows-1253"><link type="text/css" rel="stylesheet" href="mystyle.css"><script>function go(id){ var price=document.getElementById(id).value if (id == "list1") { document.getElementById("price1").value = price; document.getElementById("nofpaprice1").value = price - 19*price/100;} else if (id == "list2") { document.getElementById("price2").value = price; document.getElementById("nofpaprice2").value = price - 19*price/100;} else if (id == "list3") { document.getElementById("price3").value = price; document.getElementById("nofpaprice3").value = price - 19*price/100;} else if (id == "list4") { document.getElementById("price4").value = price; document.getElementById("nofpaprice4").value = price - 19*price/100;}}function sum(){ var price1 = document.getElementById("price1").value * document.getElementById("quantity1").value; var price2 = document.getElementById("price2").value * document.getElementById("quantity2").value; var price3 = document.getElementById("price3").value * document.getElementById("quantity3").value; var price4 = document.getElementById("price4").value * document.getElementById("quantity4").value; var sum = price1 +price2 +price3 +price4 ; document.getElementById("sum").value = sum; var nofpaprice1 = document.getElementById("nofpaprice1").value * document.getElementById("quantity1").value; var nofpaprice2 = document.getElementById("nofpaprice2").value * document.getElementById("quantity2").value; var nofpaprice3 = document.getElementById("nofpaprice3").value * document.getElementById("quantity3").value; var nofpaprice4 = document.getElementById("nofpaprice4").value * document.getElementById("quantity4").value; var nofpasum = nofpaprice1 +nofpaprice2 +nofpaprice3 +nofpaprice4 ; document.getElementById("nofpasum").value = nofpasum;}function validate_email(field,alerttxt){with (field){apos=value.indexOf("@")dotpos=value.lastIndexOf(".")if (apos<1||dotpos-apos<2) {alert(alerttxt);return false}else {return true}}}function validate_form(thisform){with (thisform){if (validate_email(email,"Λάθος email")==false) {email.focus();return false}}}</script></HEAD><BODY><br>Διαλεξτε το προϊόν που θέλετε.</br><br><FORM METHOD="POST" ACTION="mailto:epp1348@epp.teiher.com" onsubmit="return validate_form(this);"><SELECT ID="list1" SIZE="1" onchange="go('list1')"><option value="150" SELECTED> Ρολόι χειρός Festina<option value="250"> Ρολόι Rolex Χρυσό 24κ<option value="170"> Ρολόι επίχρυσο Tsiou-Tsiou <option value="100"> Ρολόι αργυρό Olympic<option value="75"> Nike Sport Watch</SELECT><table align="center" border="1" cellspacing="20"><tr><td><INPUT TYPE="text" ID="price1" SIZE="5"></td><td><INPUT TYPE="text" ID="quantity1" SIZE="5"></td><td><INPUT TYPE="text" ID="nofpaprice1" SIZE="5"></td></tr></table></br><br><SELECT ID="list2" SIZE="1" onchange="go('list2')"><option value="150" SELECTED> Ρολόι χειρός Festina<option value="250"> Ρολόι Rolex Χρυσό 24κ<option value="170"> Ρολόι επίχρυσο Tsiou-Tsiou <option value="100"> Ρολόι αργυρό Olympic<option value="75"> Nike Sport Watch</SELECT><table align="center" border="1" cellspacing="20"><tr><td><INPUT TYPE="text" ID="price2" SIZE="5"></td><td><INPUT TYPE="text" ID="quantity2" SIZE="5"></td><td><INPUT TYPE="text" ID="nofpaprice2" SIZE="5"></td></tr></table></br><br><SELECT ID="list3" SIZE="1" onchange="go('list3')"><option value="150" SELECTED> Ρολόι χειρός Festina<option value="250"> Ρολόι Rolex Χρυσό 24κ<option value="170"> Ρολόι επίχρυσο Tsiou-Tsiou <option value="100"> Ρολόι αργυρό Olympic<option value="75"> Nike Sport Watch</SELECT><table align="center" border="1" cellspacing="20"><tr><td><INPUT TYPE="text" ID="price3" SIZE="5"></td><td><INPUT TYPE="text" ID="quantity3" SIZE="5"></td><td><INPUT TYPE="text" ID="nofpaprice3" SIZE="5"><td></tr></table></br><br><SELECT ID="list4" SIZE="1" onchange="go('list4')"><option value="150" SELECTED> Ρολόι χειρός Festina<option value="250"> Ρολόι Rolex Χρυσό 24κ<option value="170"> Ρολόι επίχρυσο Tsiou-Tsiou <option value="100"> Ρολόι αργυρό Olympic<option value="75"> Nike Sport Watch</SELECT><table align="center" border="1" cellspacing="20"><tr><td><INPUT TYPE="text" ID="price4" SIZE="5"></td><td><INPUT TYPE="text" ID="quantity4" SIZE="5"></td><td><INPUT TYPE="text" ID="nofpaprice4" SIZE="5"></td></tr></table></br><table align="center" border="1" cellspacing="20"><tr><td><INPUT TYPE="text" ID="sum" SIZE="5"></td><td><INPUT TYPE="text" ID="nofpasum" SIZE="5"></td><td><input type="button" onclick="sum()"></td></tr></table><br><br><br>Oνοματεπώνυμο:<INPUT TYPE="text" NAME="onoma" SIZE="30"></br><br>Διεύθυνση Κατοικίας:<INPUT TYPE="text" NAME="address" SIZE="30"></br><br>TK:<INPUT TYPE="text" NAME="TK" SIZE="30"></br><br>email address:<INPUT TYPE="text" NAME="email" SIZE="30"></br><br>Πως θα γίνει η πληρωμή:<SELECT NAME="payment" SIZE="1"><OPTION SELECTED>Visa<OPTION>Αντικαβολή<OPTION>Κατάθεση σε Λογαριασμό</SELECT></br><br><input type="button" value="submit" name="submitbutton" style="background:red; color:white; font-size:1,2em" onclick="is_email()"></FORM>