function headermain(pagetype){

var header;
header="<table border='0' width='683' cellspacing='0' cellpadding='0'>"
  +"<tr>"
    +"<td rowspan='2' width='77'><img src='images/gfx_src_top1.jpg' width='83' height='76'></td>"
    +"<td width='261' bgcolor='#3535E8'><img src='images/gfx_src_top2a.gif' width='261' height='15'></td>"
    +"<td width='341' bgcolor='#3535E8' align='right'><map name='FPMap0'><area href='index.html' shape='rect' coords='170, 1, 220, 14'><area href='index.html' shape='rect' coords='112, 2, 149, 14'></map><img src='images/gfx_src_top3a.gif' border='0' usemap='#FPMap0' width='150' height='15'>"
    +"<a href='jobs.html'><img src='images/gfx_src_top2b.gif' border='0' width='52' height='15'><a href='contact.html'><img src='images/btn_help_src.gif' border='0' width='81' height='15'></a></td>"
    +"<td rowspan='2'><img src='images/gfx_src_top5.gif' width='110' height='76'></td>"
  +"</tr>"
  +"<tr>"
    +"<td colspan='2' bgcolor='#0808BD'><img src='images/gfx_src_top2bc.gif' width='261' height='61'>"
    +"<img src='images/gfx_src_top3bc.gif' width='300' height='61'></td>"
  +"</tr>"
+"</table>"
+"<table border='0' cellpadding='0' cellspacing='0'>"
    +"<tr>"
        +"<td width='790' height='13'><img src='images/gfx_gray_horiz2.gif' width='748' height='13'></td>"
    +"</tr>"
+"</table>";

var homeheader;
homeheader="<table border='0' cellpadding='0' cellspacing='0' width='770'>"
    +"<tr>"
        +"<td width='143' bgcolor='#0B0B92'>&nbsp;</td>"
        +"<td width='5'><img src='images/gfx_gray_vert.gif' width='5' height='30'></td>"
        +"<td><table border='0' cellpadding='0' cellspacing='0'>"
            +"<tr>"
                +"<td>&nbsp;</td>"
                +"<td><a href='products.html'><img src='images/product_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='casetest.html'><img src='images/case_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='aboutus.html'><img src='images/about_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='techno.html'><img src='images/tech_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='exchange.html'><img src='images/phy_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='access.html'><img src='images/find_off.gif' border='0' width='88' height='30'></a></td>"
            +"</tr>"
        +"</table>"
        +"</td>"
    +"</tr>"
+"</table>";

var prodheader;
prodheader="<table border='0' cellpadding='0' cellspacing='0' width='770'>"
    +"<tr>"
        +"<td width='143' bgcolor='#0B0B92'>&nbsp;</td>"
        +"<td width='5'><img src='images/gfx_gray_vert.gif' width='5' height='30'></td>"
        +"<td><table border='0' cellpadding='0' cellspacing='0'>"
            +"<tr>"
                +"<td>&nbsp;</td>"
                +"<td><a href='products.html'><img src='images/product_on.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='casetest.html'><img src='images/case_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='aboutus.html'><img src='images/about_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='techno.html'><img src='images/tech_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='exchange.html'><img src='images/phy_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='access.html'><img src='images/find_off.gif' border='0' width='88' height='30'></a></td>"
            +"</tr>"
        +"</table>"
        +"</td>"
    +"</tr>"
+"</table>";

var caseheader;
caseheader="<table border='0' cellpadding='0' cellspacing='0' width='770'>"
    +"<tr>"
        +"<td width='143' bgcolor='#0B0B92'>&nbsp;</td>"
        +"<td width='5'><img src='images/gfx_gray_vert.gif' width='5' height='30'></td>"
        +"<td><table border='0' cellpadding='0' cellspacing='0'>"
            +"<tr>"
                +"<td>&nbsp;</td>"
                +"<td><a href='products.html'><img src='images/product_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='casetest.html'><img src='images/case_on.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='aboutus.html'><img src='images/about_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='techno.html'><img src='images/tech_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='exchange.html'><img src='images/phy_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='access.html'><img src='images/find_off.gif' border='0' width='88' height='30'></a></td>"
            +"</tr>"
        +"</table>"
        +"</td>"
    +"</tr>"
+"</table>";


var aboutheader;
aboutheader="<table border='0' cellpadding='0' cellspacing='0' width='770'>"
    +"<tr>"
        +"<td width='143' bgcolor='#0B0B92'>&nbsp;</td>"
        +"<td width='5'><img src='images/gfx_gray_vert.gif' width='5' height='30'></td>"
        +"<td><table border='0' cellpadding='0' cellspacing='0'>"
            +"<tr>"
                +"<td>&nbsp;</td>"
                +"<td><a href='products.html'><img src='images/product_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='casetest.html'><img src='images/case_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='aboutus.html'><img src='images/about_on.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='techno.html'><img src='images/tech_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='exchange.html'><img src='images/phy_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='access.html'><img src='images/find_off.gif' border='0' width='88' height='30'></a></td>"
            +"</tr>"
        +"</table>"
        +"</td>"
    +"</tr>"
+"</table>";


var techheader;
techheader="<table border='0' cellpadding='0' cellspacing='0' width='770'>"
    +"<tr>"
        +"<td width='143' bgcolor='#0B0B92'>&nbsp;</td>"
        +"<td width='5'><img src='images/gfx_gray_vert.gif' width='5' height='30'></td>"
        +"<td><table border='0' cellpadding='0' cellspacing='0'>"
            +"<tr>"
                +"<td>&nbsp;</td>"
                +"<td><a href='products.html'><img src='images/product_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='casetest.html'><img src='images/case_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='aboutus.html'><img src='images/about_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='techno.html'><img src='images/tech_on.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='exchange.html'><img src='images/phy_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='access.html'><img src='images/find_off.gif' border='0' width='88' height='30'></a></td>"
            +"</tr>"
        +"</table>"
        +"</td>"
    +"</tr>"
+"</table>";


var resourceheader;
resourceheader="<table border='0' cellpadding='0' cellspacing='0' width='770'>"
    +"<tr>"
        +"<td width='143' bgcolor='#0B0B92'>&nbsp;</td>"
        +"<td width='5'><img src='images/gfx_gray_vert.gif' width='5' height='30'></td>"
        +"<td><table border='0' cellpadding='0' cellspacing='0'>"
            +"<tr>"
                +"<td>&nbsp;</td>"
                +"<td><a href='products.html'><img src='images/product_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='casetest.html'><img src='images/case_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='aboutus.html'><img src='images/about_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='techno.html'><img src='images/tech_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='exchange.html'><img src='images/phy_on.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='access.html'><img src='images/find_off.gif' border='0' width='88' height='30'></a></td>"
            +"</tr>"
        +"</table>"
        +"</td>"
    +"</tr>"
+"</table>";

var practheader;
practheader="<table border='0' cellpadding='0' cellspacing='0' width='770'>"
    +"<tr>"
        +"<td width='143' bgcolor='#0B0B92'>&nbsp;</td>"
        +"<td width='5'><img src='images/gfx_gray_vert.gif' width='5' height='30'></td>"
        +"<td><table border='0' cellpadding='0' cellspacing='0'>"
            +"<tr>"
                +"<td>&nbsp;</td>"
                +"<td><a href='products.html'><img src='images/product_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='casetest.html'><img src='images/case_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='aboutus.html'><img src='images/about_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='techno.html'><img src='images/tech_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='exchange.html'><img src='images/phy_off.gif' border='0' width='88' height='30'></a></td>"
                +"<td><img src='images/pixel.GIF' width='1' height='1'></td>"
                +"<td><a href='access.html'><img src='images/find_on.gif' border='0' width='88' height='30'></a></td>"
            +"</tr>"
        +"</table>"
        +"</td>"
    +"</tr>"
+"</table>";



if(pagetype == "home"){
	temp=header+homeheader;
	document.write(temp);
}

else if(pagetype == "products"){
	temp=header+prodheader;
	document.write(temp);
}

else if(pagetype == "case"){
	temp=header+caseheader;
	document.write(temp);
}

else if(pagetype == "about"){
	temp=header+aboutheader;
	document.write(temp);

}

else if(pagetype == "tech"){
	temp=header+techheader;
	document.write(temp);
}

else if(pagetype == "resource"){
	temp=header+resourceheader;
	document.write(temp);
}

else if(pagetype == "pract"){
	temp=header+practheader;
	document.write(temp);
}

}
