function init() 
{
	if (!document.getElementById) return
	var imgOriginSrc
	var imgTemp = new Array()
	var imgarr = document.getElementsByTagName('img')
	for (var i = 0; i < imgarr.length; i++) {
		if (imgarr[i].getAttribute('hsrc')) {
				imgTemp[i] = new Image()
				imgTemp[i].src = imgarr[i].getAttribute('hsrc')
				imgarr[i].onmouseover = function() {
						imgOriginSrc = this.getAttribute('src')
						this.setAttribute('src',this.getAttribute('hsrc'))
				}
				imgarr[i].onmouseout = function() {this.setAttribute('src',imgOriginSrc)}
		}
	}
}

function preload_images()
{

  image1on = new Image();
  image1on.src = "/images/head_r1_b_home_on.gif";

  image2on = new Image();
  image2on.src = "/images/head_r1_c_email_on.gif";

  image1off = new Image();
  image1off.src = "/images/head_r1_b_home_off.gif";

  image2off = new Image();
  image2off.src = "/images/head_r1_c_email_off.gif";

}

function turnOn(imagename) {
  if (document.images) {
    document[imagename].src = eval(imagename + "on.src");
  }
}

function turnOff(imagename) {
  if (document.images) {
    document[imagename].src = eval(imagename + "off.src");
  }
}

function horizontal_menu()
{
  document.write("<a href=\"/\" onMouseOver=\"turnOn('image1')\" onMouseOut=\"turnOff('image1')\"><img src = \"/images/head_r1_b_home_off.gif\" name=\"image1\" border=\"0\" width=\"75\" height=\"82\" align=\"bottom\"></a>");
  document.write("<a href=\"/about/contact_us.php\" onMouseOver=\"turnOn('image2')\" onMouseOut=\"turnOff('image2')\"><img src = \"/images/head_r1_c_email_off.gif\" name=\"image2\" border=\"0\" width=\"73\" height=\"82\" align=\"bottom\"></a>");
}

function blue_crane_main()
{
  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\" width=\"442\" height=\"218\">");
  document.write("<param name=movie value=\"/blue_crane_main.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/blue_crane_main.swf\" quality=high wmode=transparent width=442 height=218 pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\">");
  document.write("</embed>");
  document.write("</object>");
}

function blue_crane_set1()
{
  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\" width=\"442\" height=\"218\">");
  document.write("<param name=movie value=\"/blue_crane_set1.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/blue_crane_set1.swf\" quality=high wmode=transparent width=442 height=218 pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\">");
  document.write("</embed>");
  document.write("</object>");
}


function blue_crane_set2()
{
  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\" width=\"442\" height=\"218\">");
  document.write("<param name=movie value=\"/blue_crane_set2.swf\">");
  document.write("<param name=quality value=high>");
  document.write("<param name=wmode value=transparent>");
  document.write("<embed src=\"/blue_crane_set2.swf\" quality=high wmode=transparent width=442 height=218 pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\">");
  document.write("</embed>");
  document.write("</object>");
}


function blue_crane_top()
{
document.write("<table width=800 border=0 cellpadding=0 cellspacing=0 style='font: 11px arial, helvetica, tahoma;'>");
document.write("<tr valign=top>");
document.write("<td width='316' bgcolor='#63717D'>");
document.write("<img src='/images/head_l1.gif' width='316' height='131'><br>");
document.write("<img src=/images/head_l2.jpg width=316 height=50><br>");
document.write("<table width=316 border=0 cellpadding=0 cellspacing=0 background=/images/topmenu_bg.gif>");
document.write("<tr>");
document.write("<td width=316 height=125 style='padding-top: 10px; padding-right: 7px; text-align: right; vertical-align: top;'><a href='/project_management/'><img src='/images/topmenu_01_off.gif' hsrc='/images/topmenu_01_on.gif' width='148' height='17' border='0' hspace='3' vspace='2'></a><a href='/project_oversight/'><img src='/images/topmenu_02_off.gif' hsrc='/images/topmenu_02_on.gif' width=148 height=17 border=0 hspace=2 vspace=2></a><a href='/requirements_analysis/'><img src=/images/topmenu_03_off.gif hsrc=/images/topmenu_03_on.gif width=148 height=17 border=0 hspace=3 vspace=5></a><a href='/strategic_planning/'><img src=/images/topmenu_04_off.gif hsrc=/images/topmenu_04_on.gif width=148 height=17 border=0 hspace=2 vspace=5></a><a href='/clients/'><img src=/images/topmenu_05_off.gif hsrc=/images/topmenu_05_on.gif width=148 height=17 border=0 hspace=3 vspace=2></a><a href='/careers/'><img src=/images/topmenu_06_off.gif hsrc=/images/topmenu_06_on.gif width=148 height=17 border=0 hspace=2 vspace=2></a><a href='/about/'><img src='/images/topmenu_07_off.gif' hsrc='/images/topmenu_07_on.gif' width=148 height=17 border=0 hspace=3 vspace=2></a><a href='/about/contact_us.php'><img src='/images/topmenu_08_off.gif' hsrc='/images/topmenu_08_on.gif' width=148 height=17 border=0 hspace=2 vspace=2></a></td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("<td background=/images/head_rbg.jpg>");
document.write("<img src=/images/head_r1_a.gif border=0 width=149 height=82>");
document.write("<script>horizontal_menu();</script>");
document.write("<img src=/images/head_r1_d.gif border=0 width=147 height=82><br>");
document.write("<script>blue_crane_main();</script>");
document.write("</td></tr></table><br>");
}

function blue_crane_top_set1()
{
document.write("<table width=800 border=0 cellpadding=0 cellspacing=0 style='font: 11px arial, helvetica, tahoma;'>");
document.write("<tr valign=top>");
document.write("<td width='316' bgcolor='#63717D'>");
document.write("<img src='/images/head_l1.gif' width='316' height='131'><br>");
document.write("<img src=/images/head_l2.jpg width=316 height=50><br>");
document.write("<table width=316 border=0 cellpadding=0 cellspacing=0 background=/images/topmenu_bg.gif>");
document.write("<tr>");
document.write("<td width=316 height=125 style='padding-top: 10px; padding-right: 7px; text-align: right; vertical-align: top;'><a href='/project_management/'><img src='/images/topmenu_01_off.gif' hsrc='/images/topmenu_01_on.gif' width='148' height='17' border='0' hspace='3' vspace='2'></a><a href='/project_oversight/'><img src='/images/topmenu_02_off.gif' hsrc='/images/topmenu_02_on.gif' width=148 height=17 border=0 hspace=2 vspace=2></a><a href='/requirements_analysis/'><img src=/images/topmenu_03_off.gif hsrc=/images/topmenu_03_on.gif width=148 height=17 border=0 hspace=3 vspace=5></a><a href='/strategic_planning/'><img src=/images/topmenu_04_off.gif hsrc=/images/topmenu_04_on.gif width=148 height=17 border=0 hspace=2 vspace=5></a><a href='/clients/'><img src=/images/topmenu_05_off.gif hsrc=/images/topmenu_05_on.gif width=148 height=17 border=0 hspace=3 vspace=2></a><a href='/careers/'><img src=/images/topmenu_06_off.gif hsrc=/images/topmenu_06_on.gif width=148 height=17 border=0 hspace=2 vspace=2></a><a href='/about/'><img src='/images/topmenu_07_off.gif' hsrc='/images/topmenu_07_on.gif' width=148 height=17 border=0 hspace=3 vspace=2></a><a href='/about/contact_us.php'><img src='/images/topmenu_08_off.gif' hsrc='/images/topmenu_08_on.gif' width=148 height=17 border=0 hspace=2 vspace=2></a></td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("<td background=/images/head_rbg.jpg>");
document.write("<img src=/images/head_r1_a.gif border=0 width=149 height=82>");
document.write("<script>horizontal_menu();</script>");
document.write("<img src=/images/head_r1_d.gif border=0 width=147 height=82><br>");
document.write("<script>blue_crane_set1();</script>");
document.write("</td></tr></table><br>");
}

function blue_crane_top_set2()
{
document.write("<table width=800 border=0 cellpadding=0 cellspacing=0 style='font: 11px arial, helvetica, tahoma;'>");
document.write("<tr valign=top>");
document.write("<td width='316' bgcolor='#63717D'>");
document.write("<img src='/images/head_l1.gif' width='316' height='131'><br>");
document.write("<img src=/images/head_l2.jpg width=316 height=50><br>");
document.write("<table width=316 border=0 cellpadding=0 cellspacing=0 background=/images/topmenu_bg.gif>");
document.write("<tr>");
document.write("<td width=316 height=125 style='padding-top: 10px; padding-right: 7px; text-align: right; vertical-align: top;'><a href='/project_management/'><img src='/images/topmenu_01_off.gif' hsrc='/images/topmenu_01_on.gif' width='148' height='17' border='0' hspace='3' vspace='2'></a><a href='/project_oversight/'><img src='/images/topmenu_02_off.gif' hsrc='/images/topmenu_02_on.gif' width=148 height=17 border=0 hspace=2 vspace=2></a><a href='/requirements_analysis/'><img src=/images/topmenu_03_off.gif hsrc=/images/topmenu_03_on.gif width=148 height=17 border=0 hspace=3 vspace=5></a><a href='/strategic_planning/'><img src=/images/topmenu_04_off.gif hsrc=/images/topmenu_04_on.gif width=148 height=17 border=0 hspace=2 vspace=5></a><a href='/clients/'><img src=/images/topmenu_05_off.gif hsrc=/images/topmenu_05_on.gif width=148 height=17 border=0 hspace=3 vspace=2></a><a href='/careers/'><img src=/images/topmenu_06_off.gif hsrc=/images/topmenu_06_on.gif width=148 height=17 border=0 hspace=2 vspace=2></a><a href='/about/'><img src='/images/topmenu_07_off.gif' hsrc='/images/topmenu_07_on.gif' width=148 height=17 border=0 hspace=3 vspace=2></a><a href='/about/contact_us.php'><img src='/images/topmenu_08_off.gif' hsrc='/images/topmenu_08_on.gif' width=148 height=17 border=0 hspace=2 vspace=2></a></td>");
document.write("</tr>");
document.write("</table>");
document.write("</td>");
document.write("<td background=/images/head_rbg.jpg>");
document.write("<img src=/images/head_r1_a.gif border=0 width=149 height=82>");
document.write("<script>horizontal_menu();</script>");
document.write("<img src=/images/head_r1_d.gif border=0 width=147 height=82><br>");
document.write("<script>blue_crane_set2();</script>");
document.write("</td></tr></table><br>");
}

function footer()
{
  document.write("<tr><td class='bottom' height='84' align='center' valign='top' style='padding-left: 0px; background-image: url(/images/footer_bg.gif);'>");
  document.write("<br><a href='#top' class='text_9pt_white'>Top of Page</a>");
  document.write("</td></tr>");
}  

function bye()
{
   document.write("<a href='http://www.facebook.com/pages/bluecrane/95462407313' target='_blank' rel='nofollow'><img src='/images/facebook_16px.gif' border='0' alt='[Facebook]' style='margin-left: 2px; margin-right: 2px;'></a>");
  document.write("<a href='http://twitter.com/#!/@RealBluecrane' target='_blank' rel='nofollow'><img src='/images/twitter_14px.gif' border='0' alt='[Twitter]' style='margin-right: 2px;'></a>");
  document.write("<a href='http://www.linkedin.com/pub/allen-mills/37/12b/514' target='_blank' rel='nofollow'><img src='/images/linkedin_16px.gif' border='0' alt='[LinkedIn]' style='margin-right: 2px;'></a>");  
}
