<head>
<title> שאלון</title>
<STYLE>BODY {
CURSOR: url('1.ani')
}
</STYLE>
<script language="JavaScript">
var errors
function name_empty()
{
if (document.tofes.shem1.value=="")
{
errors++
alert(" יש להכניס שם סרט")
}
}
function fname_empty()
{
if (document.tofes.shem2.value=="")
{
alert("יש להכניס ערוץ")
errors++
}
}
function aname_empty()
{
if (document.tofes.shem3.value=="")
{
errors++
alert(" שעת תחילת הסרט ?")
}
}function bname_empty()
{
if (document.tofes.shem4.value=="")
{
errors++
alert(" שעת סוף הסרט ?")
}
}function cname_empty()
{
if (document.tofes.shem5.value=="")
{
errors++
alert(" תאריך הסרט ?")
}
}
function sex_empty()
{
var index=-1
var a
var num=document.tofes.sex.length
for(i=0; i<num; i++)
if (document.tofes.sex.checked)
{
index=i
a=document.tofes.sex.value
break
}
if (index==-1)
{
alert("איזה סוג של ממיר יש לך ????")
errors++
}
}
function email_empty()
{
if (document.tofes.e_mail.value=="")
{
alert("חשוב! דואר אלקטרוני לא נכתב!")
errors++
}
}
function valid_email()
{
var a
a=document.tofes.e_mail.value.indexOf("@")
if (a==-1)
{
alert("דואר אלקטרוני שגוי!")
errors++
}
}
function how_empty()
{
index=document.tofes.how.selectedIndex
if (index==0)
{
alert ("באיזה דחיפות הריפ ?")
errors++
}
}
function send()
{
errors=0
name_empty()
fname_empty()
aname_empty()
bname_empty()
cname_empty()
sex_empty()
email_empty()
valid_email()
how_empty()
return errors==0
}
</script>
</head>
<body background="images/cube.gif">
<img src="1.JPG">
<center>
<div align="right">
<font size="4.5" color="white">
<br />
<br><br>
<form name="tofes" onsubmit="return send()" action="mailto:[email protected]" method="post">
<b>שם הסרט :</b>
<input type="text" name="shem1" style="text-align: right;" size="10" align="right"/><br /><br />
<b>ערוץ :</b>
<input type="text" name="shem2" style="text-align: right;" size="10" align="right"/><br /><br />
<b>שעת תחילת הסרט :</b>
<input type="text" name="shem3" style="text-align: right;" size="10" align="right"/><br /><br />
<b>שעת סוף הסרט :</b>
<input type="text" name="shem4" style="text-align: right;" size="10" align="right"/><br /><br />
<b>תאריך הסרט:</b>
<input type="text" name="shem5" style="text-align: right;" size="10" align="right"/><br /><br />
<b>כתובת דואר אלקטרוני :</b>
<input type="text" name="e_mail" style="text-align: right;" size="10" align="right"/><br /><br />
<b> ממיר </b>
<input type="radio" name="sex" value="a" />דיגיטלי
<input type="radio" name="sex" value="b" />אנאלוגי(רגיל)
<br /> <br /> <br />
<b> דחיפות הריפ : </b>
<br>
<select name="how">
<option value="0">יש לבחור אחד מן הרשימה</option>
<option value="1">מאוד דחוף</option>
<option value="2">דחוף</option>
<option value="3">חשוב</option>
<option value="4">רק אם יש לך זמן</option>
</select>
<br /> <br />
<b> בקשות מיוחדות :</b>
<br />
<textarea name="comments" rows="3" cols="33"> הקלד כאן
