function display_menubar(menu_type)

{

	switch(menu_type)

	{

		case 'bdgc':

		case 'bdsp':
		
		case 'lab':

					break;

		default:

					menu_type = 'gen';

	}	

		

	document.write('<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="50">');

	document.write('<tr> <span id="menu">\n<td width="100%"> <script type="text/javascript" src="' + menu_type + '_menubar.js"></script><script type="text/javascript" src="' + menu_type + '_menu_items.js"></script>');

	document.write('<script type="text/javascript" src="menu_com.js"></script> <noscript>\nYour browser does not support script</noscript></td>');

	document.write('</span>\n</tr>\n</table>');	

}



function display_footer()

{

	document.write('<table>\n<tr>\n<td align="center" valign="middle" style="border: none">');

	document.write('<a href="http://www.pandorawordbox.com" target="_blank"> <img src="images/sphinx.jpg" title="PandoraWordBox" border="0"></a>');

	document.write('</td>\n<td style="border: none" valign="middle" align="center">');

	document.write('<span class="footer"><b><a href="http://www.southalabama.edu">University of South Alabama</a>, <a href="http://www.southalabama.edu/genetics">Department of Medical Genetics</a><br>\nMobile, Alabama 36688-0002</b>');

	document.write('<p>Please read our <span class="mbody"><a href="disclaimer.htm">Disclaimer</a></span><br>');

	document.write('For Questions or Comments <a href="eform.htm">Email Us</a> or<br>Call us at <b>251-460-7500</b> or Toll Free<b>1-800-624-1865</b> </span>');

	document.write('<br><IMG SRC="http://www.southalabama.edu/cgi-bin/Count.cgi?df=genetics2.dat&dd=H"></td>\n<td>');

	document.write('<a href="http://www.ibis-birthdefects.org/" target="_blank"><img src="images/ibisbluelg.gif" title="International Birth Defects Information Systems" border="0"></a>');

	document.write('</td>\n</tr></table>');	

}



function display_subheadnav(nav_type)

{

	if(nav_type == 'molecular')

	{

		document.write('<tr>\n<td align="center">');

		document.write('<b>Molecular Genetics (DNA) Laboratory</b>\n</td>\n</tr>\n<tr>');

		document.write('<td align="center" valign="top" class="mbody">');

		document.write('<a href="bdgc_molecular.htm">Overview</a> | <a href="javascript:winOpen(\'faculty_chen.htm\', 400, 400)">The Director</a> | <a href="bdgc_tests.htm">Tests Offered</a> | <a href="bdgc_parentage.htm">Parentage Test</a> |');

		//document.write('<a href="bdsp_maps_stats.htm">Charts/Maps/Statistics</a> | <a href="bdsp_linking_families.htm">Linking Families</a> | <a href="bdsp_agencies_hospitals.htm">Agencies/Hospitals</a>');

		document.write('</td>\n</tr>\n<tr><td><img src="images/spacer.gif" height=5></td></tr>');



	}

	else if(nav_type == 'lab')

	{

		document.write('<tr>\n<td align="center">');

		document.write('<b>Laboratories and Tests</b>\n</td>\n</tr>\n<tr>');

		document.write('<td align="center" valign="top" class="mbody">');

		document.write('<a href="bdgc_labs.htm">Overview</a> | <a href="bdgc_molecular.htm">Molecular Genetics (DNA)</a> | <a href="bdgc_cytogenetics.htm">Cytogenetics (Chromosomes)</a> | <a href="bdgc_tests.htm">Tests Offered</a> |');

		//document.write('<a href="bdsp_maps_stats.htm">Charts/Maps/Statistics</a> | <a href="bdsp_linking_families.htm">Linking Families</a> | <a href="bdsp_agencies_hospitals.htm">Agencies/Hospitals</a>');

		document.write('</td>\n</tr>\n<tr><td><img src="images/spacer.gif" height=5></td></tr>');



	}



	else if(nav_type == 'cyto')

	{

		document.write('<tr>\n<td align="center">');

		document.write('<b>Cytogenetics Laboratory</b>\n</td>\n</tr>');

	}

	else

				document.write('');



}



function display_bdsp_subheadnav()

{

    document.write('<tr><td align="center" valign="top" class="mbody">');

	document.write('<a href="bdsp_index.htm">Home</a> | <a href="bdsp_bd.htm">Birth Defects Defined</a> | <a href="bdsp_news_reports.htm">News & Reports</a> | <a href="bdgc_index.htm">Clinic</a> | <a href="bdsp_letter.htm">To Physicians</a> | <a href="bdgc/parentjourn.htm">For Parents</a>');

	document.write('<br>Surveillance: <a href="bdsp_al_overview.htm">Overview</a> | <a href="bd_basic_facts.htm">Why?</a> | <a href="bdsp_protocol.htm">How</a> | <a href="bdsp_agencies_hospitals.htm">Participants</a> | <a href="bdsp_information_packets.htm">Information Packets</a>');

    document.write('</td>\n</tr>\n<tr><td><img src="images/spacer.gif" height=20></td></tr>');

}



function display_bdsp_links()

{

	document.write('<b>Alabama Birth Defects Surveillance and Prevention Program (ABDSPP)</b>');

	document.write('<br><span class="mbody">');

	document.write('<a href="bdsp_index.htm">Home</a> | <a href="bdsp_al_overview.htm">Overview</a> | <a href="bdsp_al_launch.htm">History</a> | <a href="bd_basic_facts.htm">Basic Facts</a>');

	document.write('<br><a href="bdsp_maps_stats.htm">Charts/Maps/Statistics</a> | <a href="bdsp_agencies_hospitals.htm">Agencies/Hospitals</a>');

	document.write('</span>');

}



function display_header(header_type)

{

	if(header_type == 'bdgc')

	{

		document.write('<table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#990002">\n<tr>');

		document.write('<td><img src="images/spacer.gif" width="123" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="232" height="1" border="0" alt=""></td>');

		document.write('<td><img src="images/spacer.gif" width="177" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="218" height="1" border="0" alt=""></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td rowspan="2"><img src="images/bdgc2006_r1_c1.gif" width="123" height="115" border="0" title="Birth Defects Genetics Center Logo"></td>');

		document.write('<td><img src="images/spacer.gif" width="232" height="48" border="0" alt=""></td>');

		document.write('<td colspan="2"><img src="images/bdgc2006_r1_c3.gif" width="395" height="48" border="0" title="University of South Alabama, Department of Medical Genetics"></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="48" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td colspan="2"><img src="images/bdgc2006_r2_c2.gif" width="409" height="67" border="0" title="Birth Defects Genetics Center (Department of Medical Genetics)"></td>');

		document.write('<td><img src="images/spacer.gif" width="218" height="67" border="0" title=""></td>\n<td><img src="images/spacer.gif" width="1" height="67" border="0" alt=""></td>');

		document.write('</tr>\n</table>');

	}

	else if(header_type == 'lab')

	{

		document.write('<table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#2ba4c7">\n<tr>');

		document.write('<td><img src="images/spacer.gif" width="123" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="232" height="1" border="0" alt=""></td>');

		document.write('<td><img src="images/spacer.gif" width="177" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="218" height="1" border="0" alt=""></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td rowspan="2"><img src="images/Lab_Logo_Green1.jpg" height="115" border="0" title="Genetics Laboratories Logo"></td>');

		document.write('<td><img src="images/spacer.gif" width="232" height="48" border="0" alt=""></td>');

		document.write('<td colspan="2"><img src="images/bdgc2009_lab2.gif" width="395" height="48" border="0" title="University of South Alabama, Department of Medical Genetics"></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="48" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td colspan="2"><img src="images/bdgc2009_lab.gif" width="409" height="67" border="0" title="Genetics Laboratories (Department of Medical Genetics)"></td>');

		document.write('<td><img src="images/spacer.gif" width="218" height="67" border="0" title=""></td>\n<td><img src="images/spacer.gif" width="1" height="67" border="0" alt=""></td>');

		document.write('</tr>\n</table>');

	}
	
	else if(header_type == 'bdsp')

	{

		document.write('<table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#c2d6bd">\n<tr>');

		document.write('<td><img src="images/spacer.gif" width="104" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="249" height="1" border="0" alt=""></td>');

		document.write('<td><img src="images/spacer.gif" width="397" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>');

		document.write('</tr>\n<tr>');

		document.write('<td rowspan="2"><img src="images/bdsp2006_r1_c1.gif" width="104" height="115" border="0" title="Birth Defects Surveillance Care Prevention Logo"></td>');

		document.write('<td><img src="images/spacer.gif" width="249" height="41" border="0" alt=""></td>');

		document.write('<td rowspan="2"><img src="images/bdsp2006_r1_c3.gif" width="397" height="115" border="0" title="University of South Alabama, Department of Medical Genetics"></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="41" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td><img src="images/bdsp2006_r2_c2.gif" width="249" height="74" border="0" title="Birth Defects Surveillance Care Prevention (Department of Medical Genetics)"></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="74" border="0" alt=""></td>\n</tr>\n</table>');

	}

	else //general department header

	{

		document.write('<table border="0" cellpadding="0" cellspacing="0" width="750" bgcolor="#ffb000">\n<tr>');

		document.write('<td><img src="images/spacer.gif" width="132" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="222" height="1" border="0" alt=""></td>');

		document.write('<td><img src="images/spacer.gif" width="218" height="1" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="178" height="1" border="0" alt=""></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td rowspan="3"><img src="images/teaching2006_r1_c1.gif" width="132" height="115" border="0" alt="Teaching and Research Logo"></td>');

		document.write('<td><img src="images/spacer.gif" width="222" height="36" border="0" alt=""></td>');

		document.write('<td rowspan="2" colspan="2"><img src="images/teaching2006_r1_c3.gif" width="396" height="50" border="0" title="University of South Alabama, Department of Medical Genetics"></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="36" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td rowspan="2"><img src="images/teaching2006_r2_c2.gif" width="222" height="79" border="0" title="Teaching and Research (Department of Medical Genetics)"></td>');

		document.write('<td><img src="images/spacer.gif" width="1" height="14" border="0" alt=""></td>\n</tr>\n<tr>');

		document.write('<td><img src="images/teaching2006_r3_c3.gif" width="218" height="65" border="0" title="Teaching and Research (Department of Medical Genetics)"></td>');

		document.write('<td><img src="images/spacer.gif" width="178" height="65" border="0" alt=""></td>\n<td><img src="images/spacer.gif" width="1" height="65" border="0" alt=""></td>');

		document.write('</tr>\n</table>');		 

	}

}



var msg;

function winOpen(url) //arg0 = url [arg1 = width, arg2 = height, arg3 = scrollbar status('no'|'yes')]

{

	var w = 270;

	var h = 90;

	var scroll_status = 'no';

	

	arg_count = arguments.length;

	

	if(arg_count > 1)

	{

		w = arguments[1];

		h = arguments[2];

	}

	

	if(arg_count > 3)

	{

		scroll_status = arguments[3];

	}

		

	msg = open("","Genetics","width=1,height=1"); //Do this and  close it so that if this window was previously opened and minimized, it will be closed instead of remaining minimized.

 	msg.close();		

	msg=open(url,"Genetics","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+scroll_status+",resizable=no,copyhistory=no,width="+w+",height="+h);



}



function winclose() {



msg.close();



}