inc_css_js = 
'<!-- --------------------------- Cascading style sheets -------------------------------- -->\n'
+'<!-- Select the proper CSS file. If title contains ":" it is a science page,----------- -->\n'
+'<!-- otherwise is a tech page ---------------------------------------------------------- -->\n';


// end_var_declaration
document.write(inc_css_js);


	if ( pagetype.toUpperCase() == "SCIENCE") {
		document.write('<LINK REL=stylesheet HREF="../CSS/science_pages.css" TYPE="text/css">');
                document.write('<LINK REL=stylesheet media="print" href="../CSS/print.css" type="text/css">');

	} else {
		document.write('<LINK REL=stylesheet HREF="../CSS/tech_pages.css" TYPE="text/css">');
                document.write('<LINK REL=stylesheet media="print" href="../CSS/print.css" type="text/css">');
	}

        if ( instrument.toUpperCase() == "OSIRIS") {
                document.write('<LINK REL=stylesheet href="../CSS/osiris.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "NIRC") {
                document.write('<LINK REL=stylesheet href="../CSS/nirc.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "NIRC2") {
                document.write('<LINK REL=stylesheet href="../CSS/nirc2.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "DEIMOS") {
                document.write('<LINK REL=stylesheet href="../CSS/deimos.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "LRIS") {
                document.write('<LINK REL=stylesheet href="../CSS/lris.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "HIRES") {
                document.write('<LINK REL=stylesheet href="../CSS/hires.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "NIRES") {
                document.write('<LINK REL=stylesheet href="../CSS/nires.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "MOSFIRE") {
                document.write('<LINK REL=stylesheet href="../CSS/mosfire.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "SHARC") {
                document.write('<LINK REL=stylesheet href="../CSS/sharc.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "ESI") {
                document.write('<LINK REL=stylesheet href="../CSS/esi.css" type="text/css">');
        }
        if ( instrument.toUpperCase() == "NIRSPEC") {
                document.write('<LINK REL=stylesheet href="../CSS/nirspec.css" type="text/css">');
        }

