      function surfto(form){
var myindex=form.select1.selectedIndex
        if (form.select1.options[myindex].value != "0") {
       	 location=form.select1.options[myindex].value;}
}

document.write('<form name="change">');
document.write('<select name="select1" onchange="surfto(this.form)" size="1" style="background-color: #FFFFFF; color: #333333; font-family: Times New Roman; font-size:14px; text-decoration: none">');
document.write('<option value="0" selected>Choose a different page:');
document.write('<option value="0">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;');
document.write('<option value="categories.php?view=2">English');
document.write('<option value="categories.php?view=3">Fine Arts');
document.write('<option value="categories.php?view=5">History &amp; Geography');
document.write('<option value="categories.php?view=7">Mathematics');
document.write('<option value="categories.php?view=8">Miscellaneous');
document.write('<option value="categories.php?view=10">Science');
document.write('<option value="categories.php?view=6">Search &amp; Reference');
document.write('<option value="categories.php?view=4">Student Links');
document.write('<option value="categories.php?view=9">Teacher Resources');
document.write('<option value="0">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;');
document.write('<option value="categories.php?view=1">Library Information Center');
document.write('<option value="categories.php?view=12">Pathfinders');
document.write('<option value="http://www.esmslibrary.com/blog/">ESMS Library Blog');
document.write('<option value="request.php">Request A/V Equipment');
document.write('<option value="categories.php?view=11">Accelerated Reader List');
document.write('<option value="0">&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;&mdash;');
document.write('<option value="http://www.esmslibrary.com">Home');
document.write('</select>');
document.write('</form>');