<!-- Hide script

var bd_BaseDate = new Date();

var month = bd_BaseDate.getMonth();
var day   = bd_BaseDate.getDate();
var year  = bd_BaseDate.getYear();
if (year < 1900) {year+=1900; } // Fix for Opera version 7.11 and earlier, (years are 103 for 2003, etc.)
var endDay = 0;
var eventStartMonth="August";
var eventEndMonth="August";
var place='Convention Center';
var eventURL = 'http://www.RiverCityRoundup.org/';
var mapURL = '';
    //mapURL ='http://maps.notyahoo.com/yahoo/yt.hm?FAM=yahoo&amp;CMD=GEO&amp;SEC=geo&amp;AD2=455+N+10th+Street&amp;AD3=Omaha+NE&amp;recent=0';
    mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';


function show_DCF_Map()
   {
   if (year==2003)
      document.write('&nbsp;&nbsp;&nbsp;&nbsp;<a onclick="openWindow(this,\'codepage\')" class="x" href="'+eventURL+'">Douglas County Fair July 31st-August 3rd, 2003</a>');
   else
   if (year==2004)
      document.write('&nbsp;&nbsp;&nbsp;&nbsp;<a onclick="openWindow(this,\'codepage\')" class="x" href="'+eventURL+'">Douglas County Fair September 22nd-26th, 2004</a>');
   else
   if (year>=2005)
      {
      if (eventStartMonth==eventEndMonth)
         document.write('&nbsp;&nbsp;&nbsp;&nbsp;<a onclick="openWindow(this,\'codepage\')" class="x" href="'+eventURL+'">Douglas County Fair at '+place+', '+eventStartMonth+' '+startDay+'-'+endDay+', '+year+'</a>');
      else
         document.write('&nbsp;&nbsp;&nbsp;&nbsp;<a onclick="openWindow(this,\'codepage\')" class="x" href="'+eventURL+'">Douglas County Fair at '+place+', '+eventStartMonth+' '+startDay+'-'+eventEndMonth+' '+endDay+', '+year+'</a>');
      }
   else
      document.write('&nbsp;&nbsp;&nbsp;&nbsp;<a onclick="openWindow(this,\'codepage\')" class="x" href="'+eventURL+'">Douglas County Fair September</a>');

   document.write('&nbsp; (<a onclick="openWindow(this,\'codepage\')" class="x" href="'+mapURL+'" onmouseover="dccw(\'Click to see a map.\',\'Note\',150); return true;" onmouseout="nd(); return true;">'+place+'</a>)&nbsp;&nbsp;<a onclick="openWindow(this,\'codepage\')" class="x" href="'+mapURL+'" onmouseover="dccw(\'Click to see a map.\',\'Note\',150); return true;" onmouseout="nd(); return true;"><img src="images/NE-Map-20x11.gif" longdesc="images/NE-Map-20x11.txt" alt="This address is in Nebraska.  Click to see a map." class="imgStyle" width="20" height="11" /></a><br />');
   }
    
//alert("Month is "+month+" and day is "+day);


if (year==2002)
   {
   startMonth = 6;
   eventStartMonth="July";
   eventEndMonth="August";
   endDay = 3;
   place='Aksarben';
   eventURL = 'http://www.rivercityroundup.org';
   mapURL = 'http://maps.notyahoo.com/yahoo/yt.hm?FAM=yahoo&amp;CMD=GEO&amp;SEC=geo&amp;AD2=66+Mercy+Road&amp;AD3=Omaha+NE&amp;recent=0';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=66+Mercy+Road&city=Omaha&state=NE&homesubmit.x=45&homesubmit.y=13';
   }
else
if (year==2003)
   {
   startMonth = 6;
   eventStartMonth="July";
   eventEndMonth="August";
   endDay = 3;
   place='Convention Center';
   eventURL = 'http://www.rivercityroundup.org';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';
   }
else
if (year==2004)
   {
   startMonth = 8;
   eventStartMonth="August";
   startDay=1;
   eventEndMonth="August";
   endDay = 26;
   place='Convention Center';
   eventURL = 'http://www.RiverCityRoundup.org/';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';
   }
else
if (year==2005)
   {
   startMonth = 9;
   eventStartMonth="September";
   startDay=29;
   eventEndMonth="October";
   endDay = 2;
   place='Convention Center';
   eventURL = 'http://www.RiverCityRoundup.org/';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';
   }
else
if (year==2006)
   {
   startMonth = 9;
   eventStartMonth="September";
   startDay=28;
   eventEndMonth="October";
   endDay = 1;
   place='Convention Center';
   eventURL = 'http://www.RiverCityRoundup.org/';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';
   }
else
if (year==2007)
   {
   startMonth = 7;
   eventStartMonth="September";
   startDay=27;
   eventEndMonth="October";
   endDay = 30;
   place='Convention Center';
   eventURL = 'http://www.RiverCityRoundup.org/';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';
   }
else
if (year==2008)
   {
   startMonth = 7;
   eventStartMonth="September";
   startDay=25;
   eventEndMonth="October";
   endDay = 28;
   place='Convention Center';
   eventURL = 'http://www.RiverCityRoundup.org/';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';
   }
else
   {
   startMonth = 9;
   eventStartMonth="September";
   startDay=24;
   eventEndMonth="October";
   endDay = 27;
   place='Convention Center';
   eventURL = 'http://www.RiverCityRoundup.org/';
   mapURL = 'http://www.mapquest.com/maps/map.adp?country=US&address=455+N+10th+Street&city=Omaha&state=NE&zipcode=68102&homesubmit.x=45&homesubmit.y=13';
   }

if ((month == (startMonth-2)) && (day > endDay))
   show_DCF_Map();
else
if ((month == (startMonth-1)) && (day > endDay))
   show_DCF_Map();
else
if (month == (startMonth-1))
   show_DCF_Map();
else
if ((month == startMonth) && (day < endDay))
   show_DCF_Map();
// Stop hiding -->