i have a switch statement that displays certain parts of the page depending on what option the user chooses. i then need this variable passed along in the url bar and if multiple choices are made, them variables must be passed along too. here is my code: var list //alert(list) function show() { //PageIndex2=getCookie(); PageIndex2=document.form1.options.selectedIndex; //alert(PageIndex2) switch (PageIndex2) { case 1: ...