


var linkstext = 'Bio|Articles|Photos|Pension Funds|Directorships|Blog';
var linkstarget = '1|6|2|3|5';
var txtarr = linkstext.split('|');
var trgtarr = linkstarget.split('|');

var substext = new Array(txtarr.length);

substext[1] = 'Position|Education|Professional and Business History|Academic|Honors|Military|Publications|Affiliations';
substext[3] = 'Public Pension Funds, Venture Capital and Technology Development|Public Pension Funds Can Promote Economic Development|Venture Capital Benefits State Economic Development|Issues Surrounding Public Pension Funds and Urban Development';
substext[5] = 'Directorships|Advisory Positions';
substext[6] = 'What Dan Quayle Missed|What Business Expects from Higher Education|Reflections on Community And Not-For-Profit Boards and Memberships (Power of Networking)|Chicago\'s Olympic Bid: Things Need to Change First|Offshore Outsourcing:  The Dark Side of Globalization';





var hasFlash = false            
                
//Sets the browser cookie


//Check for flash if browser is netscape
//submitted to www.a1javascripts.com by Joshua Luft-Glidden
if(navigator.appName == "Netscape"){

for(i=0; i<navigator.plugins.length; i++){

if(navigator.plugins[i].name == "Shockwave Flash"){

hasFlash = true

	}

}

}

//Check for flash if browser is IE

else if(navigator.appName == "Microsoft Internet Explorer"){

document.writeln("<script language='VBscript'>")
document.writeln('\'Test to see if VBScripting works')
document.writeln("detectableWithVB = False")
document.writeln("If ScriptEngineMajorVersion >= 2 then")
document.writeln("   detectableWithVB = True")
document.writeln("End If")
document.writeln('\'This will check for the plugin')
document.writeln("Function detectActiveXControl(activeXControlName)")
document.writeln("   on error resume next")
document.writeln("   detectActiveXControl = False")
document.writeln("   If detectableWithVB Then")
document.writeln("      detectActiveXControl = IsObject(CreateObject(activeXControlName))")
document.writeln("   End If")
document.writeln("End Function")
document.writeln("</scr" + "ipt>")
hasFlash = detectActiveXControl("ShockwaveFlash.ShockwaveFlash.1")

	}				



  
function writeTopImage()
{
  if (hasFlash) 
  {
  document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
  document.writeln('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
  document.writeln('WIDTH="770" HEIGHT="110" id="top" ALIGN="">')
  document.writeln('<PARAM NAME=movie VALUE="images/top.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#8E8E63> <EMBED src="images/top.swf" quality=high bgcolor=#8E8E63  WIDTH="780" HEIGHT="110" NAME="top" ALIGN=""')
   document.writeln('TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
   document.writeln('</OBJECT>');
  }
  else
   {
    document.writeln('<img src="images/head.gif" border="0">');
   }
}




function writeTopNav()
{
 

 for (i = 0; i < txtarr.length; ++i)
   {
    
	if (txtarr[i] != 'Blog')
	{
		document.writeln('<a class="atlink" href="main.aspx?id=' + trgtarr[i] + '" 	OnMouseOver="rollOver(this)" OnMouseOut="rollOver(this)">' + txtarr[i] + '</a><img 	src="s.gif" class="sspace">');
	}
	else
		document.writeln('<a class="atlink" target="_new" href="/blog" OnMouseOver="rollOver(this)" OnMouseOut="rollOver(this)">' + txtarr[i] + '</a><img 	src="s.gif" class="sspace">');
	
   }


}



function writeSideNav(id,sid)
{
  if (substext[id] != null)
  {
       
    //  document.getElementbyID('tdleft').style.width = '110px';
    //  document.all.tdleft.style.paddingLeft = '0px';
      
      var sidelinks = substext[id].split('|');
       
      document.writeln('<div style="width:100%;text-align:left;border-bottom:1px solid #6C6C4C;">');  
      document.writeln('<table cellpadding="0" cellspacing="0" border="0"');  
           

       for (i=0; i < sidelinks.length; ++i)
       {
         if (sid == i)
          document.writeln('<tr><td valign="top"><img class="imgnav" src="images/starwhite.gif" border="0"></td><td style="padding-bottom:10px;" valign="top"><a class="aslink" style="font-size:12px;" href="main.aspx?id=' + id + '&sid=' + i + '" OnMouseOver="rollOver(this)" OnMouseOut="rollOver(this)">' +  sidelinks[i] + '</a></td></tr>');   
         else  
          document.writeln('<tr><td valign="top"><img class="imgnav" src="images/str.gif" border="0"></td><td style="padding-bottom:10px;" valign="top"><a class="aslink" style="font-size:12px;" href="main.aspx?id=' + id + '&sid=' + i + '" OnMouseOver="rollOver(this)" OnMouseOut="rollOver(this)">' +  sidelinks[i] + '</a></td></tr>');   

       }
      
      document.writeln('</table></div>'); 

  } 
 // else
 // {
      
   //  document.all.tdleft.style.width = '180px';
   //  document.all.tdleft.style.paddingLeft = '0px';
     document.writeln('<p><img src="/images/emmy.gif" border="0"><br>')
     document.writeln('<a class="aslink" href="http://www.chicagoemmyonline.org" target="_blank" OnMouseOver="rollOver(this)" OnMouseOut="rollOver(this)">www.chicagoemmyonline.org</a>')
     document.writeln('<div style="margin-top:6px;margin-bottom:10px">')
     document.writeln('Supervisor of Elections for the Emmy Awards<br>')
     document.writeln('Chicago/Midwest Chapter<br>') 
     document.writeln('The National Academy of Television Arts and Sciences')
     document.writeln('</div>')
   //  document.writeln('<img src="images/rhof.gif" border="0"><br>')
   //  document.writeln('<a class="aslink" href="http://www.radiohof.org" target="_blank" OnMouseOver="rollOver(this)" OnMouseOut="rollOver(this)">www.radiohof.org</a>')
   //  document.writeln('<div style="margin-top:8px;margin-bottom:8px">')
   //  document.writeln('Supervisor of Elections for the')
   //  document.writeln('Radio Hall of Fame<br>')
   //  document.writeln('Museum of Broadcast Communications<br>')
   //  document.writeln('Chicago')
   //  document.writeln('</div>')
    



 // } 
}







function rollOver(element)
{
   if (element.style.textDecoration != 'underline')
       element.style.textDecoration = 'underline';
   else
       element.style.textDecoration = 'none';    
}




function openPhoto(id,width,height)
{
      newWin = window.open('photo.aspx?id=' + id,'pWin','width=' + (width + 60) + ',height=' + (height + 140) + 'top=200,left=200');
      
       
}




