// JavaScript Document
function CreateControl(SD_Imagelocation, SD_RootURL, SD_Location, SD_EXT)
{
	if(hasRightVersion) {  // if we've detected an acceptable version
  	var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="navigation" width="770" height="68" align="center"> '
	+  '<param name="allowScriptAccess" value="sameDomain" /> '
	+ '<param name="movie" value="http://northlandconn.flintdev.com/swf/nav.swf" /> '
	+ '<param name="quality" value="high" /> '
	+ '<param name="bgcolor" value="#ffffff" /> '
	+ '<embed src="http://northlandconn.flintdev.com/swf/nav.swf" quality="high" bgcolor="#F3F3F1" '
	+ 'width="770px" height="68px" name="navigation" align="center" '
	+ 'allowScriptAccess="sameDomain" type="application/x-shockwave-flash" '
	+ 'pluginspage="http://www.macromedia.com/go/getflashplayer" /> '
	+ '</object>';
	document.write(oeTags);   // embed the flash movie
	} else {  // flash is too old or we can't detect the plugin
	// NOTE: height, width are required!
	var alternateContent = '<tr><td>	'
	+ '<table border="0" cellpadding="0" cellspacing="0" width="100%"> '
	+ '<tr> '
	+ '  <a href="#SD_RootURL#"><td class="logo"></td></a> '
	+ '  <td><img src="'+SD_Imagelocation+'spacer.gif" width="10" height="1" border="0" /></td> '
	+ '  <td></td> '
	+ '  <td align="right" class="toprighttab"></td> '
	+ '</tr> '
	+ '<tr> '
	+ '  <td colspan="4" class="outlinehoriz"></td> '
	+ '</tr> '
	+ '</table> '
	+ '</td></tr>  '
	+ '<tr><td> '
	+ '  <table border="0" cellpadding="0" cellspacing="0" width="100%"> '
	+ '    <tr><td> '
	+ '      <table border="0" cellpadding="0" cellspacing="0"> '
	+ '        <tr><td> '
	+ '          <table border="0" cellpadding="0" cellspacing="0" width="100%"> '
	+ '            <tr><td> '
	+ '			<table border="0" cellpadding="0" cellspacing="0"> '
	+ '			<tr><td colspan="3" bgcolor="#5f7b93"> '
	+ '				<table border="0" cellpadding="0" cellspacing="0" width="100%"> '
	+ '					<tr><td class="blueheader" nowrap> '
	+ '						<table border="0" cellpadding="0" cellspacing="0" class="blueheader"> '
	+ '							<tr> '
	+ '								<td width="150" class="blueheader"><b>'+SD_Location+'</b></td> '
	+ '								<td class="blueheader"></td> '
	+ '							</tr> '
	+ '						</table> '
	+ '						</td> '
	+ ' <!-- phpdigExclude --	<td align="right" class="blueheader"><a href="'+SD_RootURL+'entrepreneurial.'+SD_EXT+'" class="jobzblueheader">Business Resources</a>&nbsp;&nbsp;&nbsp;<a href="'+SD_RootURL+'library.'+SD_EXT+'" class="jobzblueheader">Reference Library</a>&nbsp;&nbsp;&nbsp;<a href="'+SD_RootURL+'contact.'+SD_EXT+'" class="jobzblueheader">Contact</a></td> '
	+ '						</tr> '
	+ '					</table> '
	+ '				</td></tr> ';
	document.write(alternateContent);  // insert non-flash content
	}
}