function header()
{
	document.write('<td valign="top" width="100%" height="187" background="images/mainflash-bg.jpg">');
	document.write('<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 height=187 width=100%>');
	document.write('<param name="_cx" value="26564">');
	document.write('<param name="_cy" value="4948">');
	document.write('<param name="FlashVars" value>');
	document.write('<param name="Movie" value="main-links.swf">');
	document.write('<param name="Src" value="main-links.swf">');
	document.write('<param name="WMode" value="Transparent">');
	document.write('<param name="Play" value="0">');
	document.write('<param name="Loop" value="-1">');
	document.write('<param name="Quality" value="High">');
	document.write('<param name="SAlign" value>');
	document.write('<param name="Menu" value="0">');
	document.write('<param name="Base" value>');
	document.write('<param name="AllowScriptAccess" value="always">');
	document.write('<param name="Scale" value="NoBorder">');
	document.write('<param name="DeviceFont" value="0">');
	document.write('<param name="EmbedMovie" value="0">');
	document.write('<param name="BGColor" value="FFFFFF">');
	document.write('<param name="SWRemote" value>');
	document.write('<param name="MovieData" value>');
	document.write('<param name="SeamlessTabbing" value="1">');
	document.write('<param name="Profile" value="0">');
	document.write('<param name="ProfileAddress" value>');
	document.write('<param name="ProfilePort" value="0">');
	document.write('<param name="AllowNetworking" value="all"><embed src="main-links.swf" menu="false" quality="best" scale="noborder" wmode="transparent" bgcolor="#FFFFFF" WIDTH="100%" HEIGHT="187" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></OBJECT>');
	document.write('</td>');
}

function left()
{
	document.write('<img border="0" src="images/logo.jpg" width="114" height="611">');
}

function footer()
{
	document.write('<table border="0" cellpadding="0" cellspacing="0" width="90%" align="center">');
	document.write('<tr><td width="100%" colspan="12" height="20"></td></tr>');
	document.write('<tr>');
	document.write('<td width="6%" align="center"><a href="home.html" class="footerlink">Home</a></td>');
	document.write('<td width="10%" align="center"><a href="introduction.html" class="footerlink">Introduction</a></td>');
	document.write('<td width="8%" align="center"><a href="design.html" class="footerlink">Design</a></td>');
	document.write('<td width="8%" align="center"><a href="clients.html" class="footerlink">Clients</a></td>');
	document.write('<td width="9%" align="center"><a href="products.html" class="footerlink">Products</a></td>');
	document.write('<td width="9%" align="center"><a href="portfolio.html" class="footerlink">Portfolio</a></td>');
	document.write('<td width="9%" align="center"><a href="quality.html" class="footerlink">Quality</a></td>');
	document.write('<td width="7%" align="center"><a href="ethics.html" class="footerlink">Ethics</a></td>');
	document.write('<td width="10%" align="center"><a href="aboutus.html" class="footerlink">About Us</a></td>');
	document.write('<td width="10%" align="center"><a href="contact.html" class="footerlink">Contact Us</a></td>');
	document.write('<td width="8%" align="center"><a href="careers.html" class="footerlink">Careers</a></td>');
	document.write('<td width="6%" align="center"><a href="http://blackeyedesign.net/blog/" class="footerlink">Blog</a></td>');
	document.write('</tr>');
	document.write('<tr><td width="100%" colspan="12" height="5"></td></tr>');
	document.write('<tr><td width="100%" colspan="12" background="images/dot.jpg" height="1"></td></tr>');
	document.write('<tr><td width="100%" colspan="12" height="50" valign="top"><p align="center" class="footertext"><br>© Copyright Black Eye Design 2007<!-- | Site Powered by <a href="#" class="footerlink">eMaven Solutions</a>--></td></tr></table>');
}

var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
		for (var i = 0; i < words.length; ++i)
		{
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
		}
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\> \n');
}

if (!MM_FlashCanPlay)
{		
		window.location = 'download-flash.html';
		//document.write('<IMG SRC="images/header_pwr_01.gif" WIDTH="774" HEIGHT="126" BORDER=0></td>');
}

function writeFlash(swf, w, h, bg, vars)
{
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+w+'%" height="'+h+'">');
	document.write('<param name="wmode" value="opaque">');
	document.write('<param name="movie" value="'+swf+'">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="quality" value="high">');
	if (bg.length > 0) { document.write('<param name="bgcolor" value="'+bg+'">'); }
	if (vars.length > 0) { document.write('<param name="FlashVars" value="'+vars+'">'); }
	document.write('<embed src="'+swf+'" ');
	document.write('width="'+w+'" height="'+h+'" ');
	document.write('menu="false" quality="high" wmode="opaque" pluginspage="http://www.macromedia.com/go/getflashplayer" ');
	if (bg.length > 0) { document.write('bgcolor="'+bg+'" '); }
	if (vars.length > 0) { document.write('FlashVars="'+vars+'" '); }
	document.write('></embed>');
	document.write('</object>');
}
