var CurrentDisplayIndex=0;
var newWin = null;
var gSpeakerIsConfirmed;
var gSpeakerHaveBio;
var gSpeakerHavePhoto;
var gSpeakerAffiliation;
var gSpeakerSuffix;
var gSpeakerFullName;
var gSpeakerFullNameLast;


// NEED TO UPDATE SUFFIX AND INVITED
// 0=firstname, 1=lastname, 2=suffix, 3=isconfirmed, 4=havephoto, 5=havebio, 6=affiliation
var SpeakerList = new Array(
 );


// 0=firstname, 1=lastname, 2=suffix, 3=isconfirmed, 4=havephoto, 5=havebio, 6=affiliation
var PhotoCreditsList = new Array(
["crescendodesign",    "crescendodesign_tb.jpg",    "<a href='http://www.crescendodesign.com' class='BlackLink'>www.crescendodesign.com</a><br>608-219-9318<br><a href='mailto:jbrouchoud@gmail.com' class='BlackLink'>jbrouchoud@gmail.com</a>"],
["mnlibrary",          "mnlibrary_tb.jpg",          "Minnesota State Legislature Library"],
["moorheadbugwood",    "moorheadbugwood_tb.jpg",    "David J. Moorhead<br>University of Georgia<br><a href='http://Bugwood.org' class='BlackLink'>Bugwood.org</a>"]

 );


var gI = Math.floor(Math.random()*SpeakerList.length)

/***********************************************
* Fading Ticker Tape Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var speed=3000
var fadescheme=0 //set 0 to fade bgcolor from (white to black), 1 for (black to white)
var hex=(fadescheme==0)? 255 : 0
var startcolor=(fadescheme==0)? "rgb(255,255,255)" : "rgb(0,0,0)"
var endcolor=(fadescheme==0)? "rgb(0,0,0)" : "rgb(255,255,255)"
var frame=20;
var ie=document.all
var ns6=document.getElementById
var ns4=document.layers
var preLoad = new Image();


function putFooter(uplevel) {

  var updir = get_updir (uplevel);	

  	document.write('<table class="footerTable"> '); 
	document.write(' <tr>');
	document.write(' <td align="left">&copy; 2010, Southeast Bioenergy Conference. All rights reserved.</td><td align="center"><a href="mailto:efolds@uga.edu">Contact Us</a> | <a href="'+updir+'2010/sitemap.html">Sitemap</a>');   
    document.write(' </td><td align="right">Site by <a href="http://www.agrenaissance.com">AgRenaissance Software LLC</a></td></tr>'); 
	document.write(' </table>');
}

function putHeader(uplevel) {
  var updir = '';
  if (uplevel == "0") updir='';
  if (uplevel == "1") updir='../';
  if (uplevel == "2") updir='../../';
  if (uplevel == "3") updir='../../../';
  
	document.write(' <div id="identity" style="margin-top:15px">');
	document.write('  <h1>');
	document.write('<div style="float:left"><a href="'+updir+'index.php"><img src="'+updir+'2010/images/SEBC_Header-text.jpg" width="628" height="157" style="float:left" /></a></div><div id="fadeshow1"><img src="'+updir+'2010/images/SEBC_Header-photo-solar.jpg" width="324" height="157" /></div></h1>');
	document.write('</div>');
	document.write('<div id="header">');
	//document.write('<div id="awmAnchor-menu" class="menubar" style="padding:0;margin=0"></div>');
	//document.write('<div id="awmAnchor-menu"></div>');
    document.write('<div id="awmAnchor-menu" class="menubar">');
	document.write('<div class="menubarNavWithShadow"></div>');
    document.write('<div class="menubarSecWithShadow"></div>');
	document.write('<div class="bottomShadow" style="width:952px"></div></div>');    
	document.write('</div>');
	document.write('<br class="clearfloat" />');
  
  
}

function putPhotoCredit(photoname) {

  for (i=0; i<PhotoCreditsList.length; i++)
    {
    if (photoname == PhotoCreditsList[i][0])
      {
        // 0=photoname, 1=filename, 2=credits
			  document.write('      <tr valign="center" align="left">' );
			  document.write('        <td valign="top" width="50" height="75">' );
			  document.write('          <img src="photos/' + PhotoCreditsList[i][1] + '">' );
			  document.write('        </td>' );
			  document.write('        <td valign="top">' );
			  document.write('          ' + PhotoCreditsList[i][2]);
			  document.write('        </td>'   );
			  document.write('      </tr>'  );
        return;
      }
    }

}

function getSpeakerInfo(firstname, lastname) {

  gSpeakerIsConfirmed = "y";
  gSpeakerHaveBio = "n";
  gSpeakerHavePhoto = "n";
  gSpeakerAffiliation = "";
  gSpeakerSuffix = "";
  gSpeakerFullName = firstname + ' ' + lastname;          //default; incase speaker is tba, then enter that as firstname, with lastname blank
  gSpeakerFullNameLast = lastname + ', ' + firstname;     //default

  for (i=0; i<SpeakerList.length; i++)
    {
    if (firstname == SpeakerList[i][0] && lastname == SpeakerList[i][1] )
      {
        // 0=firstname, 1=lastname, 2=suffix, 3=isconfirmed, 4=havephoto, 5=havebio, 6=affiliation
        gSpeakerSuffix = SpeakerList[i][2];
        gSpeakerIsConfirmed = SpeakerList[i][3];
        gSpeakerHavePhoto = SpeakerList[i][4];
        gSpeakerHaveBio = SpeakerList[i][5];
        gSpeakerAffiliation = SpeakerList[i][6];
        gSpeakerFullName = firstname + ' ' + lastname;
        gSpeakerFullNameLast = lastname + ', ' + firstname;   
        if (gSpeakerSuffix != "")
          {
          gSpeakerFullName = gSpeakerFullName + ', ' + gSpeakerSuffix;
          gSpeakerFullNameLast = gSpeakerFullNameLast + ', ' + gSpeakerSuffix;
          }
        if (gSpeakerIsConfirmed == "n")
          {
          gSpeakerFullName = gSpeakerFullName + ' (Invited)';
          gSpeakerFullNameLast = gSpeakerFullNameLast + ' (Invited)';
          }
        return;
      }
    }
  return;
}


function putSpeakerAgenda(firstname, lastname) {

  getSpeakerInfo(firstname, lastname);


  if (gSpeakerHavePhoto == "n" && gSpeakerHaveBio == "n")
    {
      document.write('<img class="microLeft" src="speakers/blank_micro.jpg" border="0">');
      document.write(gSpeakerFullName + '<br>' + gSpeakerAffiliation + '<br><br><br>');
    }
  else if (gSpeakerHavePhoto == "y" && gSpeakerHaveBio == "n")
    {
      document.write('<img class="microLeft" src="speakers/' + lastname + firstname + '_micro.jpg" border="0">');
      document.write(gSpeakerFullName + '<br>' + gSpeakerAffiliation + '<br><br><br><br>');
    }
  else if (gSpeakerHavePhoto == "n" && gSpeakerHaveBio == "y")
    {
      document.write('  <img class="microLeft" src="speakers/blank_micro.jpg" border="0">');
      document.write('  <a href="speakers/' + lastname + firstname + '.htm" class="ImgLink">' + gSpeakerFullName + '<br>' + gSpeakerAffiliation);
    }
  else
    {
      document.write('<a href="speakers/' + lastname + firstname + '.htm" class="ImgLink">');
	  document.write('<img class="microLeft" src="speakers/' + lastname + firstname + '_micro.jpg" border="0">');
      document.write(gSpeakerFullName + '<br>' + gSpeakerAffiliation + '</a><br><br><br><br>');

    }
}



function putSpeakerSession(firstname, lastname, talktitle) {

  getSpeakerInfo(firstname, lastname);

  document.write('    <tr valign="top">');
  if (gSpeakerHavePhoto == "n" && gSpeakerHaveBio == "n")
    {
      document.write('  <td width="60" height="65"><img src="speakers/blank_micro.jpg" border="0"></td>');
      document.write('  <td><i>' + talktitle + '</i><br>' + gSpeakerFullName + '<br>' + gSpeakerAffiliation + '</td>');
    }
  else if (gSpeakerHavePhoto == "y" && gSpeakerHaveBio == "n")
    {
      document.write('  <td width="60" height="65"><img src="speakers/' + lastname + firstname + '_micro.jpg" border="0"></td>');
      document.write('  <td><i>' + talktitle + '</i><br>' + gSpeakerFullName + '<br>' + gSpeakerAffiliation + '</td>');
    }
  else if (gSpeakerHavePhoto == "n" && gSpeakerHaveBio == "y")
    {
      document.write('  <td width="60" height="65"><img src="speakers/blank_micro.jpg" border="0"></td>');
      document.write('  <td><a href="speakers/' + lastname + firstname + '.htm" class="BlackLink"><i>' + talktitle + '</i><br>' + gSpeakerFullName + '<br>' + gSpeakerAffiliation + '</a></td>');
    }
  else
    {
      document.write('  <td width="60" height="65"><a href="speakers/' + lastname + firstname + '.htm" class="BlackLink"><img src="speakers/' + lastname + firstname + '_micro.jpg" border="0"></a></td>');
      document.write('  <td><a href="speakers/' + lastname + firstname + '.htm" class="BlackLink"><i>' + talktitle + '</i><br>' + gSpeakerFullName + '<br>' + gSpeakerAffiliation + '</a></td>');
    }
  document.write('     </tr>');

}


function updatecontent(){
  var speakeritem = '';
  while (SpeakerList[gI][4] == 'n')
    {
    gI++;
    if (gI>SpeakerList.length-2)
      {
      gI=0
      }
    }
  speakeritem = '<center><img src="2008/speakers/' + SpeakerList[gI][1] + SpeakerList[gI][0] + '_micro.jpg" height="65"><br />' + SpeakerList[gI][0] + '&nbsp;' + SpeakerList[gI][1] + '<br />' + SpeakerList[gI][6] + '</center>';
  
  if (ns4){
    tickerobject.subtickertape.document.write('<span class="subtickertapefont"><a href="2008/speakers.htm" class="BlackLinkXUL ImgLink">'+speakeritem+'</a></span>')
    tickerobject.subtickertape.document.close()
  }
  else 
    tickerobject.innerHTML='<a href="2008/speakers.htm" class="BlackLinkXUL ImgLink">' + speakeritem + '</a>'
  setTimeout("updatecontent()",speed)

  gI++;
  while (SpeakerList[gI][4] == 'n')
    {
    gI++;
    if (gI>SpeakerList.length-2)
      {
      gI=0
      }
    }
  //preload next image so it will display faster ('i' has already been incremented)
  preLoad.src = '2009/speakers/' + SpeakerList[gI][1] + SpeakerList[gI][0] + '_micro.jpg';
}

function regenerate(){
  window.location.reload()
}
function regenerate2(){
  if (document.layers)
    setTimeout("window.onresize=regenerate",450)
}


/* Scripts to print logos  (both exibitors and sponsors */
// 0=company name, 1=gif files?, 2=include name 3=image file  4=website  5=text (title/alt) 
var CompanyList = new Array(


//["downtoearth",   "n","n", "DE_Energy_Logo",       "www.downtoearthenergy.net",       "Down to Earth Energy"],
//["gaia",          "n","n", "gaia",                 "www.gaiatransport.com",           "Gaia Transport Corporation"],
//["esns",          "n","n", "SNS_logo",             "www.ernstseed.com",               "Ernst Southern Native Seeds"],
//["prince",        "n","n", "Prince",               "www.princeauto.com",        	  "Prince Automotive"],
//["bp",   	      "n","n", "bp",       		       "www.bp.com/biofuels", 			  "BP biofuels"],
//["harris",		  "n","n", "harrisgroup",          "www.harrisgroup.com",             "Harris Group"],
//["agg_farm",      "n","y", "ag_georgia",            "www.aggeorgia.com",               "AgGeorgia Farm Credit"],
//["scbiomass",     "n","n", "Biomass_Council_logo", "www.scbiomass.org",               "South Carolina Biomass Council"],
//["sec",	          "n","n", "sec_logo",             "www.southernethanolcouncil.org",  "Southern Ethanol Council"],
//["cri",           "n","n", "CRI_Logo"             ,"www.carpet-rug.org",              "The Carpet and Rug Institute"],
//["uc",            "n","n", "united_consulting_logo","www.unitedconsulting.com",       "United Consulting"],
//["ugatifton",     "n","n", "academic_uga_tifton",   "www.caes.uga.edu/campus/tifton/index.html", "UGA Tifton Academic Program"],
//["vermeer",       "n","n", "vermeer",               "www.vermeersoutheast.com",       "Vermeer"],
//["strategic",     "n","n", "SBS",    				"www.technologyalliance.ms",      "Strategic Biomass Solutions"],
//["opc",           "n","n", "opc",                   "www.opc.com",                     "Oglethorpe Power"],
//["usda_ars",      "n","n", "usda_ars",              "www.ars.usda.gov",                "USDA Agricultural Research Service"],
//["stafford",      "n","n", "Stafford_Logo",         "www.staffordequipment.com",       "Stafford"],
//["sa_clean",      "n","n", "CleanEnergy",           "www.cleanenergy.org",             "Southern Alliance for Clean Energy"],
//["griffin",       "n","n", "Griffin_logo",          "www.griffinfordlm.com",           "Griffin Ford"],
//["patrick",       "n","n", "Patrick_Tractor",       "www.patricktractor.com",         "Patrick Tractor"],
//["warnell",       "n","n", "warnell_logo",           "www.warnell.uga.edu",            "Warnell School of Forestry "],
//["mcclune" ,      "n","y", "sor-cane",               "",                               "McClune Industries"],
//["perrin",        "n","n", "perrin",                 "",                              "Perrin Farm Equipment"],
//["energy",        "n","n", "energy_victory",        "www.energyvictory.net",          "Energy Victory"],
//["ga_foam",       "n","n", "GA_Foam",               "www.gafoam.com",                 "Georgia Foam"],
//["soco",          "n","n", "SoCo",                  "www.southerncompany.com",        "Southern Complany"],
//["davis",         "n","n", "davis_oil",             "",                                "Davis Oil"],
//["ag-net",        "n","n", "ag-networks",           "www.ag-networks.com",             "Ag-Networks"],
//["chem",          "n","n", "Chemreclogo",           "www.chemrec.se",                  "Chemrec"],
//["aaes",          "y","y", "greenlogo",             "",                 "Alabama Alternative Energy Solutions"],
//["safer",         "n","n", "Safer",                 "www.saferalliance.net",           "Southeast Agriculture & Forestry Energy Resources Alliance"],
["fecon",         "y","n", "Fecon-Logo",           "www.fecon.com",                   "fecon"],
["hurst",         "y","n", "hurst_logo",           "www.hurstboiler.com",             "Hurst Boiler"],
["gcoi",          "y","n", "coi.energy",           "energy.georgiainnovation.org/",   "Georgia Centers of Innovation - Energy"],
["uga",           "n","n", "UGA_logo",             "www.uga.edu",                     "The University of Georgia"],
["golder",        "y","n", "golder",               "www.golder.com",                  "Golder Associates Inc"],
["gcoi-agr",      "y","n", "coi.agribusiness",     "agribusiness.georgiainnovation.org/","Georgia Centers of Innovation - Agribusiness"],
["ga_dnr",        "y","n", "georgia-dnr-sus",      "www.gasustainability.org",        "Georgia Department of Natural Resources - Sustainability Division"],
["gao",           "y","n", "georgia_organics",     "www.georgiaorganics.org",         "Georgia Organics"],
["sutherland",    "y","n", "Sutherland_logo",      "www.sutherland.com",              "Sutherland"],
["fagen",         "y","n", "FagenInc",              "www.fageninc.com",                "Fagen Inc"],
["gec",           "y","n", "GEC-Logo",              "www.governorsenergychallenge.org","Governor's Energy Challenge"],
["gcc",           "n","n", "gcc_logo",             "www.georgiacottoncommission.org", "Georgia Cotton Commission"],
["gabio",         "n","n", "GeorgiaBio",            "www.gabio.org",                   "Georgia Bio"],
["morbark",       "y","n", "morbark-logo",          "www.morbark.com",                 "Morbark"],
["tour",          "n","y", "think_tifton",          "www.tiftontourism.com/infocenter.htm", "Tifton/Tift County Tourism"],
["tcda",          "n","n", "tcda",                  "www.tiftonison.com/",            "Tift County Development Authority"],
["wood",          "y","n", "wood_bioenergy",        "www.woodbioenergymagazine.com",  "Wood Bioenergy Magazine"],
["gfc",           "n","n", "ga_forestry_com",      "www.gfc.state.ga.us",        	  "Georgia Foresty Commission"],
["ugaStars",      "y","n", "ugastars_logo",        "www.ugastars.org",                 "UGA STARS Program"],
["ugatifton",     "y","n", "academic_uga",   "www.caes.uga.edu/campus/tifton/index.html", "UGA Tifton Academic Program"],
["geda",          "y","n", "geda-logo",                 "www.geda.org",                    "Georgia Economic Development Association "],
["ceres",   	  "y","n", "Ceres-Logo",         		"www.ceres.net", 			      "Ceres"],
["cadmus",        "n","n", "cadmus",               "www.cadmusconstruction.com",      "Cadmus Construction"],
["conserve",      "y","n", "ConserveGA_logo",       "www.ConserveGeorgia.org",         "Conserve Georgia"],
["bdcotsrus",     "n","y", "bdcotsrus",             "www.bdcotsrus.com",                 "BDCOTSRUS"],
["mendel",        "y","n", "Mendel-Seeds-Logo",     "www.mendelbio.com",  "Mendel Bioenergy Seeds"],
["usda",          "y","n", "usda-logo",             "www.usda.gov/",             "USDA"],
["ga_clean",      "n","y", "ga_cleancities",        "www1.eere.energy.gov/cleancities",  "Georgia Clean Cities Coalition"],
["proU",          "y","n", "ProU-Logo",             "www.prou.com/",  					"Processes Unlimited International"],
["F2M",           "n","n", "F2M",                   "www.forest2market.com",  		  "Forest2Market"],
["usda_rd",       "n","n", "usda_rd",               "www.rurdev.usda.gov",             "USDA Agricultural Rural Development"],
["MTC",           "y","n", "MTC",                   "www.moultrietech.edu/",             "Moultrie Technical College"],
["georgiaemc",    "n","n", "GeorgiaEMC_logo",       "www.georgiaemc.com",               "Georgia EMC"],
["greenpoweremc", "y","n", "greenpowerEMC_logo",    "www.georgiaemc.com",               "GreenPower EMC"],
["scbiomass",     "n","n", "Biomass_Council_logo", "www.scbiomass.org",               "South Carolina Biomass Council"],
["gpc",           "y","n", "GPC",                   "www.gapeanuts.com",               "Georgia Peanut Commission"],
["ppsolar",       "n","n", "PPsolar",               "www.powerpartnersolar.com/",      "Power Partners Solar"],
["agstar",        "y","n", "agstar",                "www.epa.gov/agstar/",             "US EPA AgSTAR"],
["RPVR",          "n","n", "RPVR",                  "www.repreverenewables.com/",      "REPREVE Renewables"],
["greenworth",    "y","n", "greenworth",            "",  "R.W. Greenfields Inc."],
["ab",            "n","n", "ab",                    "www.abac.edu/",                   "Abraham Baldwin Agricultural College"],
["atlantic",      "n","n", "atlantic",              "www.atlanticenergyandengineering.com/", "Atlantic Energy and Engineering"],
["SGR",           "y","n", "SGR",                   "www.sgrlaw.com/",                 "Smith, Gambrell & Russell"],
["Hannah",        "y","n", "HannahSolar",           "www.hannahsolar.com/",            "Hannah Solar"],
["SCI",           "n","n", "SCI",                   "www.spriggerschoice.com/",        "Sprigger's Choice"],
["DIEFF",         "y","n", "DIEFF",                 "www.dieffenbacher.com",           "Dieffenbacher"],
["warnell",       "y","n", "warnell_logo",          "www.warnell.uga.edu",            "Warnell School of Forestry"],
["NEF",           "y","y", "NEF",                   "www.newenergyfarms.com/",         "Lewis Taylor Farms"],
["VES",           "y","n", "VES",                    "www.verdantenergysolutions.com/", "VERDANT Energy Solutions"],
["Sun",           "y","n", "Sun",                    "www.oneworldsustainable.com/", "OneWorld Sustainable, Inc."],
["arborgen",      "y","n", "arborgen",               "www.arborgen.com",               "ArborGen"],
["super",         "y","n", "Supertrak-Logo",        "www.supertrak.com",               "SuperTrak"]

 );

/* 
University of Georgia (STARS) – logo from 2008 - http://www.ugastars.org/ - UGA STARS Program<br />Students and Teachers Applying Real Science
 */


/* add all exhibitors to this list, keep in alphabetical order */
var ExhibitorList = new Array (
["ab"],
["arborgen"],
["bdcotsrus"],
["cadmus"],
["ceres"],
["conserve"],
["DIEFF"],
["fecon"],
["F2M"], 
["gabio"],
["ga_clean"],
["gcoi-agr"],
["gcoi"],


["ga_dnr"],
["gfc"],

["golder"],
["gec"],
["greenpoweremc"],
["greenworth"],
["Hannah"],
["hurst"],
["mendel"],
["morbark"],
["MTC"],
["NEF"],
["Sun"],
["ppsolar"],
["proU"],
["RPVR"],
["SGR"],
["scbiomass"],
["SCI"],
["super"],
["sutherland"],
["tcda"],
["tour"],
["ugaStars"],
["ugatifton"],

["usda_rd"],
["agstar"],
["VES"],
["warnell"],
["wood"]

 );


//Strategic Biomass Solutions aka Mississippi Technology Alliance

function getCompanyInfo(name) {
  var i=0;
  for (i=0; i<CompanyList.length; i++){
    if (name == CompanyList[i][0])
   		{return (i);}
  }
  return (0);
}

function getCompanyLogo(index) {
	var name="";
	if (CompanyList[index][1] == "n") {
    	name = CompanyList[index][3] + '.jpg';
	}
	else {
		name = CompanyList[index][3] + '.gif';
	}
	return (name);
}

function printCoLogo(name){	
	idx = getCompanyInfo(name);
	filename = getCompanyLogo(idx);
	var hasWebsite="y";
	if (CompanyList[idx][4]=="") {
		hasWebsite="n";
	}
    else {
		document.write('	<a href="http://' + CompanyList[idx][4] + '" class="BlackLinkXUL" title="' + CompanyList[idx][5] + '">'  );		
	}
	document.write('    <img src="logos/' + filename + '" border="0" alt="' + CompanyList[idx][5] + '" > ');
	if (CompanyList[idx][2] == "y")
	{
	    document.write(' <br><span class="titletext2">' + CompanyList[idx][5] + '</span>' );
		
	}
	if (hasWebsite=="y") {
		document.write('</a>');
	}
	
}


function printCoLogo_small(name){	
	idx = getCompanyInfo(name);
	filename = getSpotlightLogo(idx);
	document.write('	<a href="http://' + CompanyList[idx][4] + '" class="BlackLinkXUL" title="' + CompanyList[idx][5] + '">'  );
	document.write('    <img src="logos/' + filename + '" border="0" alt="' + CompanyList[idx][5] + '" align="absmiddle" > ');
	if (CompanyList[idx][2] == "y")
	{
	    document.write(' <br><span class="tinytext">' + CompanyList[idx][5] + '</span>' );
		
	}
	document.write('</a>');
}



function printExhibitors(){
	var i=0;
	var j=1;
	document.write('  <tr valign="middle" align="center">'   );
	for (i=0; i<ExhibitorList.length; i++){
		
    	document.write('    <td valign="middle" width="33%">'   );
	    printCoLogo(ExhibitorList[i]);  
	    document.write('    </td>  ');	
		if (j==3){			
		   		document.write('   </tr><td colspan="3" style="height:50px"></td>'   );
				document.write('   </tr> <tr valign="middle" align="center">'   );
		   		j=1;
		}
		   else
		{
			   j=j+1;
		}
		
	}
}


function get_num() {
   var idx = Math.floor(Math.random() * CompanyList.length);
   return (idx);
   }
function getSpotlightLogo(index) {
	var name="";
	if (CompanyList[index][1] == "n") {
    	name = CompanyList[index][3] + '_small.jpg';
	}
	else {
		name = CompanyList[index][3] + '_small.gif';
	}
	return (name);
}

function SpotlightLogos_2009(){
	var i=0;
	var idx=0;
	// get the first random number then index from there
	idx=get_num();
	var hasWebsite="y";
	var filename="";
	for (i=0; i<3; i++){
		idx=idx+1;
		if (idx==CompanyList.length) idx=0;
		filename=getSpotlightLogo(idx);
        document.write('    <td align="center" width="33%"> ');
		if (CompanyList[idx][4]=="") {
			hasWebsite="n";
		}
		else {
			document.write('	<a href="http://' + CompanyList[idx][4] + '" class="BlackLinkXUL" title="' + CompanyList[idx][5] + '">'  );
		}
		document.write('    <img src="2009/logos/' + filename + '" border="0" alt="' + CompanyList[idx][5] + '">');
		if (CompanyList[idx][2] == "y") {		
	          document.write(' <br><span class="tinytext">' + CompanyList[idx][5] + '</span>' );
		}
		if (hasWebsite=="y") {
			document.write('</a>');
		}
		document.write('</a></td>');
	}
}


function SpotlightLogos(level){
	var i=0;
	var idx=0;
	var updir = get_updir (level);
	// get the first random number then index from there
	idx=get_num();
	var hasWebsite="y";
	var filename="";
	document.write('<div align="center" style="margin-top:35px"><img src="'+updir+'2010/images/sespotlight.gif" width="170" height="49" /><div class="startBlock" style="margin-top:5px;margin-bottom:20px"></div>');
	for (i=0; i<3; i++){
		idx=idx+1;
		if (idx==CompanyList.length) idx=0;
		filename=getSpotlightLogo(idx);
        document.write('<div style="margin:30px auto">');
		if (CompanyList[idx][4]=="") {
			hasWebsite="n";
		}
		else {
			document.write('<a href="http://' + CompanyList[idx][4] + '" class="BlackLinkXUL" title="' + CompanyList[idx][5] + '">'  );
		}
		document.write('<img src="'+updir+'2010/logos/' + filename + '" border="0" alt="' + CompanyList[idx][5] + '">');
		if (CompanyList[idx][2] == "y") {		
	          document.write('<br><span class="tinytext">' + CompanyList[idx][5] + '</span>' );
		}
		if (hasWebsite=="y") {
			document.write('</a>');
		}
		document.write('</a></div>');
	}
	document.write('<div class="endBlock" style="margin:20px auto"></div></div>');
	
	document.write ('<div class="smalltext" style="color:#333; font-weight:bold">'+
					'<div align="center">We want to Spotlight your Company! - Sign up now to be an<br />'+
					'<a href="'+updir+'2010/exhibitorInfo.html">Exhibitor</a> or <a href="'+updir+'2010/sponsorInfo.html">Sponsor</a>.</div><br />'+
					'<div align="center">2009 SEBC Attendee Evaluations:</div>'+
					'<div style="padding-left:40px">9.2 – Content<br />9.0 – Speakers<br />9.3 – Value<br />(1-10 Scale)</div><br />'+
					'<div align="center">2009 SEBC Attendee Stats:</div>'+
					'<div style="padding-left:40px">500+ people<br />24 states<br />12 foreign countries<br />50+ exhibitors</div></div>');
		
}





var PresentationList = new Array(

["first", "last", "dummy"],
["Bill",    "Bulpitt",   "PDF_09/Ballroom_A/11th/1.30-3.00/Bill Bulpitt SEBioWindAug09.pdf"],
["Larry",   "Willey",    "PDF_09/Ballroom_A/11th/1.30-3.00/LArry Willey 090811--SE_Bio-energy_Conf--WIND--Univ_GA_Tifton_Rev0.pdf"],

// new speaker ?? 
["Rand", "Knight",                 "PDF_09/Ballroom_A/11th/1.30-3.00/Solar in the Southeast - R Knight.pdf"],


["Comas", "Haynes",      "PDF_09/Ballroom_A/11th/3.30-5.00/Comus Haynes Southeast Bioenergy Conf 2009.pdf"],
["Fred", "Humes",        "PDF_09/Ballroom_A/11th/3.30-5.00/Fred Humes SE Bioenergy Conference Aug 11 2009.pdf"],
["Rory", "Gopaul",       "PDF_09/Ballroom_A/11th/3.30-5.00/Rory Gopaul Southeast Bioenergy Conference Tifton 8-11-09.pdf"],
//["Gitanjali", "Das Gupta", "PDF_09/Ballroom_A/12th/1.30-3.00/Gitanjali Das Gupta Electrovaya.pdf"],
["Ken", "Fry",           "PDF_09/Ballroom_A/12th/1.30-3.00/Ken Fry Ultra efficient hybrid.pdf"],
["Ryan", "Melsert",      "PDF_09/Ballroom_A/12th/1.30-3.00/Melsert - SE Bioenergy Conference 2009.pdf"],
["Rod", "Beazley",       "PDF_09/Ballroom_A/12th/1.30-3.00/Rob Beazley SEB conference final.pdf"],
["Dennis", "Goldbach",   "PDF_09/Ballroom_A/12th/3.30-5.00/Dennis Goldbach PP.pdf"],
["Michael", "Hammond",   "PDF_09/Ballroom_A/12th/3.30-5.00/Michael Hammond Cropdash - Final.pdf"],
["Ravi", "Godbole",     "PDF_09/Ballroom_A/12th/3.30-5.00/Ravi Godbole SE BioE Conference.pdf"],
["Devon", "Dartnell",    "PDF_09/Ballroom_A/13th/Devon Dartnell SE Bioenergy 2009 Presentation.pdf"],                                                     
["Rick", "Hill",         "PDF_09/Ballroom_A/13th/Rick Hill Sorganol Presentation.pdf"],
["Wayne", "Keith",       "PDF_09/Ballroom_A/13th/Wayne Keith soil and water.pdf"],

["Charise", "Stephens", "PDF_09/Ballroom_D/11th/1.30-3.00/Charise Stephens Clean Cities SEBIO2009.pdf"],
["Dave", "Pelton",      "PDF_09/Ballroom_D/11th/1.30-3.00/dave pelton Bioenergy 2009.pdf"],
["John", "Sherwin",     "PDF_09/Ballroom_D/11th/1.30-3.00/John Sherwin sebioconf.pdf"],
["Sarah", "Dearman",    "PDF_09/Ballroom_D/11th/1.30-3.00/Sarah Dearman SE BioEnergy Conf PPT Dearman.pdf"],
["Simone", "Du Boise",  "PDF_09/Ballroom_D/11th/1.30-3.00/Simone du Boise bioEnergyConference_2009.pdf"],
["Debra", "Lyons",      "PDF_09/Ballroom_D/11th/3.30-5.00/Debra Lyons SE energy conference 8.11.09.pdf"],
["Dan", "Geller",       "PDF_09/Ballroom_D/11th/3.30-5.00/Geller - SEBC 8-11-09 Final.pdf"],
["Larry", "Willey",     "PDF_09/Ballroom_D/11th/3.30-5.00/Larry Willey 090811--CAREERS--Bioenergy conference L Willey 08112009.pdf"],
["Dorothy", "Franzoni", "PDF_09/Ballroom_D/12th/1.30-3.00/Dorothy Franzoni Southeast Bioenergy Conference _ Dorothy Franzoni (2).pdf"],
["Kaarsten", "Turner Dalby", "PDF_09/Ballroom_D/12th/1.30-3.00/Kaarsten Turner Darby and Victor Haley Biomass Supply Agreements - Southeast Bioenergy Conference.pdf"], 
["Victor", "Haley", "PDF_09/Ballroom_D/12th/1.30-3.00/Kaarsten Turner Darby and Victor Haley Biomass Supply Agreements - Southeast Bioenergy Conference.pdf"], 
["Lee", "Peterson",  "PDF_09/Ballroom_D/12th/3.30-5.00/Financing In A Tight Economy.pdf"],                                 
["Craig", "Scroggs",    "PDF_09/Ballroom_D/12th/3.30-5.00/Caig Scroggs seb809-usda.pdf"],
["Hal", "Blackwell", "PDF_09/Ballroom_D/12th/3.30-5.00/Hal Blackwell Biofuels13.pdf"],

["Neil", "Rossmeissl", "PDF_09/John_Hunt/11th/Neil Rossmeissl Southeast Bioenergy Conference 8 09 npr rev 1.pdf"], 
["Robert", "Fireovid", "PDF_09/John_Hunt/11th/Robert Fireovid 8-09 Tifton, GA.pdf"],                                                                   
["Robert", "Zubrin",   "PDF_09/John_Hunt/11th/Robert Zubrin Energy Victory-6-12-09.pdf"],                                                               
["Stephen", "Shea",    "PDF_09/John_Hunt/11th/Stephen Shea Southeast Bioenergy Conference 11-August 2009.pdf"],                                        
["Ben", "Larson",      "PDF_09/John_Hunt/12th/Ben Larson, UCS Bioenergy Priorities, Analysis and Policy.pdf"],                                         
["Bob", "Rohrlack",    "PDF_09/John_Hunt/12th/Bob Rohrlack clean energy 809.pdf"],                                                                   
["Brooks", "Mendell",  "PDF_09/John_Hunt/12th/Brooks SBC Bioenergy BMendell 200908.pdf"],                                                               
["Dale", "Greene",     "PDF_09/John_Hunt/12th/Dale Greene_SoutheastBioenergyTifton_2009.pdf"],                                                       
["David", "McGee",     "PDF_09/John_Hunt/12th/David McGee SeBioenergyConf 12Aug09.pdf"],                                                               
["Erika", "Myers",     "PDF_09/John_Hunt/12th/Erika Myers SE Bioenergy Conference 8-09.pdf"],                                                           
["Jill", "Stuckey",    "PDF_09/John_Hunt/12th/JillStuckey SEBC2009.pdf"],                                                                               
["Mark", "Hall",       "PDF_09/John_Hunt/12th/Mark Hall Alabama Energy Production.pdf"],                                                                
["Sumesh", "Arora",    "PDF_09/John_Hunt/12th/Sumesh activities in MS_aug09-c.pdf"],                                                                  

["Alan", "Overcash",   "PDF_09/Small_Auditorium/11th/1.30-3.00/Alan Overcash  Janice Bohac Southeast Bioenergy Conference 081109.pdf"],
["Janice", "Ryan-Bohac","PDF_09/Small_Auditorium/11th/1.30-3.00/Alan Overcash  Janice Bohac Southeast Bioenergy Conference 081109.pdf"],
["Ken", "Goddard",     "PDF_09/Small_Auditorium/11th/1.30-3.00/Ken_Goddard.pdf"],         
["Wagner", "Vendrame", "PDF_09/Small_Auditorium/11th/1.30-3.00/Wagner Vendrame Jatropha Vendrame.pdf"],
["John", "Bonitz",     "PDF_09/Small_Auditorium/11th/3.30-5.00/BONITZ_TIFTON_Biopower.pdf"],
["John", "Campbell",   "PDF_09/Small_Auditorium/11th/3.30-5.00/John Campbell SBC Tifton 11 Aug - Power of Wood.pdf"],
["Rich", "Clark",      "PDF_09/Small_Auditorium/11th/3.30-5.00/Rich Clark OPC SE Tifton Presentation.pdf"],
["Ronnie", "Walston",  "PDF_09/Small_Auditorium/11th/3.30-5.00/Ronnie Walston 2009 Southeast Bioenergy Conference 081109.pdf"],
["Michael", "Whiteside", "PDF_09/Small_Auditorium/12th/1.30-3.00/Michael Whiteside Southeast Bioenergy Conference.pdf"],
["Paul", "Hauck",      "PDF_09/Small_Auditorium/12th/1.30-3.00/Paul_Hauck.pdf"],    

// this is a new speaker
["Nels", "Semmler",    "PDF_09/Small_Auditorium/12th/1.30-3.00/Semmler 20090812-RENTEC Southeast BIO energy conference 09- Tifton Georgia.pdf"],                     
["Chris", "Voell",    "PDF_09/Small_Auditorium/12th/1.30-3.00/Voell.pdf"], 

// new speaker
["Ed", "Stahl",       "PDF_09/Small_Auditorium/12th/3.30-5.00/Ed Stahl Petroalgae SEBC 2009-08.pdf"],

["Hal", "Wrigley",    "PDF_09/Small_Auditorium/12th/3.30-5.00/hal wrigley Realistic_Feedstock_for_Biodiesel.pdf"],
["Jason", "Evans",    "PDF_09/Small_Auditorium/12th/3.30-5.00/Jason Evans.pdf"]                                                                                      
 
 );

function getPresentation(firstname, lastname) {
	
  for (i=0; i<PresentationList.length; i++)
  {
    if (firstname == PresentationList[i][0] && lastname == PresentationList[i][1] )
      {
		  return (i);
      }
  }
  return (-1);
}

function rightside_buttons(uplevel)
{
  var updir = get_updir (uplevel);	
	var ie8 = 0;
           document.write('<a href="https://tcccreg.caes.uga.edu/iebms/reg/reg_p1_form.aspx?ct=REG&EventID=5940&oc=10&coesessionid=ejkfeofb1femfgm" target="_blank" class="ButtonLink"><div class="button1"><div class="button1Text">Register Online</div></div></a>');
		   
		  if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
			 var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
 				if (ieversion>=8){ie8=1;}
		  }
		  
		  // ie 8 has a problem with too much vertical space.  Only add the space if not IE8
		  if (!ie8)
		  	{document.write('<div style="height:10px"></div>');}
    
          document.write('<div style="width:75px; float:right; padding-right:20px"><a href="'+updir+'2010/sponsorInfo.html" class="ButtonLink"><div class="button2"><div class="button2Text">Sponsor<br />Signup</div></div></a></div>');      
          document.write('<div style="width:75px"><a href="'+updir+'2010/exhibitorInfo.html" class="ButtonLink"><div class="button2"><div class="button2Text">Exhibitor<br />Signup</div></div></a></div>');
	
}


function get_updir (uplevel) {
var updir = '';

  if (uplevel == "0") updir='';
  if (uplevel == "1") updir='../';
  if (uplevel == "2") updir='../../';
  if (uplevel == "3") updir='../../../';
  if (uplevel == "4") updir='../../../';
  return (updir);	

}

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16535066-1']);
  _gaq.push(['_trackPageview']);
  
function setupGA()
{}

function trackGA()
{	
	
    if (document.domain.indexOf("agwebsite") != -1)
	{
		// called from www.agwebsitedev.com 
		//document.write ('domain name is ' + document.domain);
	}
	else
	{
		trackGA_sebio();
	}

}


function trackGA_sebio()
{	
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
}

function hide(id) {
   document.getElementById(id).style.display = 'none';
}

function show(id) {
   document.getElementById(id).style.display = 'block';
}

function displaySpotlightNext(curr,displayMax)
{
	if (CurrentDisplayIndex==0) {CurrentDisplayIndex=curr;}
	currTag = 'ssl' + CurrentDisplayIndex;
	hide(currTag);
	if (CurrentDisplayIndex >= displayMax) 
	{
		CurrentDisplayIndex = 1;
	}
	else
	{
		CurrentDisplayIndex++;
	}
	currTag = 'ssl' + CurrentDisplayIndex;
	show(currTag);
}

function displaySpotlightPrev(curr,displayMax)
{
	if (CurrentDisplayIndex==0) {CurrentDisplayIndex=curr;}
	currTag = 'ssl' + CurrentDisplayIndex;
	hide(currTag);
	if (CurrentDisplayIndex <= 1) 
	{
		CurrentDisplayIndex = displayMax;
	}
	else
	{
		CurrentDisplayIndex--;
	}
	currTag = 'ssl' + CurrentDisplayIndex;
	show(currTag);
}

function displaySpotlight(display,displayMax)
{
	var currTag = "";
	for (var i=1; i<=displayMax; i++)
	{	
    	currTag = 'ssl' + i;
		hide(currTag);
	}
	currTag = 'ssl' + display;
	show(currTag);
}

