how can i use this and pass variables to next page
rather than linking to another page.

and how can use these variables to do calulations with php variables. any hints ?

<Script language="JavaScript">
var maxLength = 10;
siteopt = new Array;
siteopt[0] = "Browse Past Tips";
siteopt[1] = "This Week";
siteopt[2] = "E-Mail";
siteopt[3] = "JavaScript Powered Tour";
siteopt[4] = "Tippettes";
var trueLength = siteopt.length;
var lst = siteopt.length;

url = new Array;
url[0] = "../tip_week_past.html";
url[1] = "../this_week/index.html";
url[2] = "../e-mail.html";
url[3] = "../960617/index.html";
url[4] = "../tippettes.html";

catopt = new Array;
catopt[0] = "Experience Package Short Stay (3D/2N)";
catopt[1] = "Experience Package Medium Stay (5D/4N)";
catopt[2] = "Experience Package Long Stay (8D/7N)";
catopt[3] = "Extended Stay Package";
catopt[4] = "Love Sonata - Avicennia Package";
catopt[5] = "Heliconia Package";
catopt[6] = "Stay and Drive Package";
catopt[7] = "Golf Encounter Package";
catopt[8] = "Convene Experience Package (Single Occupancy)";
catopt[9] = "Convene Experience Package (Double Occupancy)";

function changePage()
{
menuNum = document.SelectMenu.SelectPrimary.selectedIndex;
if (menuNum == null){alert("Please select a category from the menu.");return;}
else
{
i = document.SelectMenu.SelectSecondary.selectedIndex;
window.location.href = url[i];
}
}

function changeMenu()
{
siteopt.length = 0;
menuNum = document.SelectMenu.SelectPrimary.selectedIndex;
if (menuNum == null) return;

if (menuNum == 0)
{
siteopt = new Array;
siteopt[0] = new Option("Browse Past Tips");
siteopt[1] = new Option("This Week");
siteopt[2] = new Option("E-Mail");
siteopt[3] = new Option("JavaScript Powered Tour");
siteopt[4] = new Option("Tippettes");
url = new Array;
url[0] = "../tip_week_past.html";
url[1] = "../this_week/index.html";
url[2] = "../e-mail.html";
url[3] = "../960617/index.html";
url[4] = "../tippettes.html";
}

if (menuNum == 1)
{
siteopt = new Array;
siteopt[0] = new Option("Cahaya");
siteopt[1] = new Option("JavaScript and ActiveX.");
siteopt[2] = new Option("The Beginner's Guide");
url = new Array;
url[0] = "../thehut/index.html";
url[1] = "../activex/index.html";
url[2] = "../guide/index.html";
}

if (menuNum == 2)
{
siteopt = new Array;
siteopt[0] = new Option("Netscape Handbook");
siteopt[1] = new Option("JavaScript Index");
siteopt[2] = new Option("Live Software");
url = new Array;
url[0] = "http://home.netscape.com/eng/mozilla/3.0/handbook/javascript/index.html";
url[1] = "http://www.c2.org/~andreww/javascript/";
url[2] = "http://jrc.livesoftware.com";
}

if (menuNum == 3)
{
siteopt = new Array;
siteopt[0] = new Option("The Sound of Music");
siteopt[1] = new Option("Too Many Browsers? Not.");
siteopt[2] = new Option("Spiff up the Old Page");
url = new Array;
url[0] = "../960826/sound_music.html";
url[1] = "../960624/index.html";
url[2] = "../960513/index.html";
}

tot = siteopt.length;
for (i = lst; i > 0; i--)
{ document.SelectMenu.SelectSecondary.options[i] = null; }
for (i = 0; i < tot; i++)
{ document.SelectMenu.SelectSecondary.options[i] = siteopt[i]; }
document.SelectMenu.SelectSecondary.options[0].selected = true;
lst = siteopt.length;
}

//Put this code where you want the select menus displayed:
with (document) {
writeln('<TABLE BORDER = 0 BGCOLOR = "#CCCC99" CELLPADDING = 3 CELLSPACING = 0>');
writeln('<TR><TD COLSPAN = 3><FORM NAME = "SelectMenu">');
writeln('<FONT SIZE = 4 FACE = "Times">');
writeln('Please Select from Below</FONT>');
writeln('</TD></TR><TR><TD ALIGN = LEFT>');
writeln('<FONT SIZE = 2 FACE = "Times" >Select Package from Below </FONT><BR>');
writeln('<SELECT NAME="SelectPrimary" onChange="changeMenu(this.form)">');
tot = catopt.length;
for (i = 0; i < tot; i++)
writeln("<OPTION>" +catopt[i]);
writeln("</SELECT>");
writeln('</TD><TD>');
writeln('<FONT SIZE = 2 FACE = "Times" >Room Category</FONT><BR>');
writeln('<SELECT NAME="SelectSecondary">');
for (i = 0; i < maxLength; i++)
writeln("<OPTION>" +siteopt[i]);
writeln("</SELECT>");
for (i = maxLength; i > trueLength; i--)
{ SelectMenu.SelectSecondary.options[i] = null; }
writeln('</TD><TD VALIGN = BOTTOM><A HREF = "javascript:changePage();">');
writeln('<IMG BORDER = 0 HEIGHT = 27 WIDTH = 70 SRC = "../jump1.gif"></A>');
writeln('</TD></TR>');
changeMenu();
writeln('</FORM>');
writeln('</TABLE>');
}

</script>