<script
language="javascript"
type="text/javascript">
site="http://yaldex.com/JSFactory_Pro.htm";
function
combineMenus(frm,
menu1,
menu2)
{
with
(frm)
{
for
(var
i =
0;
i <
document.menufrm.menu1.length;
i++)
{
if
(document.menufrm.menu1[i].checked)
{
str
=
document.menufrm.menu1[i].value;
break;
}
}
for
(var
i =
0;
i <
document.menufrm.menu2.length;
i++)
{
if
(document.menufrm.menu2[i].checked)
{
str
+=
document.menufrm.menu2[i].value;
break;
}
}
url
=
site +
"/"
+
str +
".html";
window.location.href
=
url;
}
}
</script>
<center>
<FORM
NAME="menufrm">
<INPUT
TYPE="radio"
NAME="menu1"
VALUE="chevy"
CHECKED>Chevy
<INPUT
TYPE="radio"
NAME="menu1"
VALUE="ford">Ford
<INPUT
TYPE="radio"
NAME="menu1"
VALUE="dodge">Dodge
<INPUT
TYPE="radio"
NAME="menu1"
VALUE="olds">Oldsmobile
<P>
<INPUT
TYPE="radio"
NAME="menu2"
VALUE="1998"
CHECKED>1998
<INPUT
TYPE="radio"
NAME="menu2"
VALUE="1999">1999
<INPUT
TYPE="radio"
NAME="menu2"
VALUE="2000">2000
<INPUT
TYPE="radio"
NAME="menu2"
VALUE="2001">2001
<P>
<INPUT
TYPE="button"
VALUE="Select"
onClick="combineMenus(this.form,
this.form.menu1, this.form.menu2)">
</FORM>
</center>