#!/usr/local/bin/python #--------------------------------------------------------------------- # Name: # index.cgi # # Function: # Generate home page. #---------------------------------------------------------------------- import cgi f = cgi.FieldStorage() if not f.has_key("select") or f["select"].value == "": select = "MAIN" else: select = f["select"].value print '''Content-type: text/html Staff Page at STScI
''' # MAIN TABLE SECTIONS ... #---------------------------------------------------------------------- if select == "MAIN": print ''' ''' #---------------------------------------------------------------------- if select == "WORK": print ''' ''' #---------------------------------------------------------------------- if select == "LINKS": print ''' ''' #---------------------------------------------------------------------- if select == "SCIENCE": print ''' ''' #---------------------------------------------------------------------- if select == "EDUCATION": print ''' ''' #---------------------------------------------------------------------- # CONTINUE WITH THE REST OF THE HTML CODE. print '''
[STScI Home]
 
  STScI
 
  Work
 
  Links
 
 
Ilana Dashevsky
3700 San Martin Drive
Baltimore, MD 21218

[Antennae Galaxies (Press Release: STScI-2006-46) - click for more HST images]

[click for STScI JWST site]

[click for STScI HST site]
Work Description Publications
Cat's Eye Nebula (Press Release: STSCI-2004-27)
Space Telescopes Stargazing Space Flight Affiliations
 
[click for HST images]

 
[JHU and York University Crests]

 
'''