
images = new Array(7);

images[0] = '<a href="http://astore.amazon.com/bobatkinsphotogr/002-3791338-8604855"><img src="/photography/common/photostore4.jpg" width="468" height="60" border="0"></a><p>';

images[1] = '<a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fbestsellers%2Fphoto%2F330405011%3Fie%3DUTF8%26ref%255F%3Dpd%255Fzg%255Fhrsr%255Fp%255F1%255F2%255Flast&tag=bobatkinsphotogr&linkCode=ur2&camp=1789&creative=390957"><img src="/photography/common/amazon_digicams2.jpg" width="468" height="60" alt="" border="0"></a><img src="https://www.assoc-amazon.com/e/ir?t=bobatkinsphotogr&l=ur2&o=1" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><p>';

images[2] = '<a href="http://www.tkqlhce.com/click-1649783-10422156" target="_top"><img src="/photography/common/hostmonster_banner2.jpg" width="468" height="60" alt="Host your site with HostMonster" border="0"></a><img src="http://www.awltovhc.com/image-1649783-10422156" width="1" height="1" border="0"/><p>';

images[3] = '<SCRIPT type="text/javascript" LANGUAGE="javascript" src="http://www.qksz.net/1e-fesb"> </SCRIPT><p>';

images[4] = '<a href="http://www.amazon.com/exec/obidos/ASIN/B002NEGTTW/bobatkinsphotogr"><img src="/photography/common/7d_banner.jpg" width="468" height="60" border="0" /></a><p>';



images[5] = '<a href="http://www.bobatkins.com/photography/digital/canon_rebates_nov09.html"><img src="/photography/common/rebate_nov09_1.jpg" width="468" height="58" alt="Canon Rebates 50D T1i XSi XS kits with lenses" border="0"></a><p>';

images[6] = '<a href="http://www.bobatkins.com/photography/digital/rebates.html"><img src="/photography/common/canon_rebates_fall_2009_banner.jpg" width="468" height="58" alt="Canon Rebates 2009 fall Lenses and Speedlites" border="0"></a><p>';


/*****
images[5] = '<a href="http://www.bobatkins.com/photography/digital/rebates.html"><img src="http://www.bobatkins.com/photography/common/rebates_2009.jpg" width="468" height="60" alt="" border="0"></a><p>';
*****/

/******
images[3] = "<embed SRC='http://www.bobatkins.com/photography/common/LB-468x60-bobatkins.swf' WIDTH='468' HEIGHT='60' PLAY='true' LOOP='true' QUALITY='best' WMODE='transparent' PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'><p>";
******/


/******
images[8] = '<a href="http://www.bobatkins.com/photography/photography_holiday_gift_ideas.html"><img src="/photography/common/holiday_gift_banner.jpg" width="468" height="60" border="0"></a><p>';
******/

/******
images [1]='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="468" HEIGHT="60" id="BMPF-eos_5d_mkii.swf"><PARAM NAME=movie VALUE="http://www.bobatkins.com/photography/common/eos_5d_mkii.swf"><PARAM NAME=quality VALUE="medium"><PARAM NAME=wmode VALUE="transparent"><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="http://www.bobatkins.com/photography/common/eos_5d_mkii.swf"quality="high" bgcolor=#FFFFFF WIDTH="468" HEIGHT="60" NAME="BMPF-eos_5d_mkii.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><script type="text/javascript" src="/photography/common/iefix.js"></script><p>';


images [6]='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="468" HEIGHT="60" id="BMPF-eos_50d.swf"><PARAM NAME=movie VALUE="http://www.bobatkins.com/photography/common/eos_50d.swf"><PARAM NAME=wmode VALUE="transparent"><PARAM NAME=quality VALUE="high"><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="http://www.bobatkins.com/photography/common/eos_50d.swf" quality="high" bgcolor=#FFFFFF WIDTH="468" HEIGHT="60" NAME="BMPF-eos_50d.swf" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT><script type="text/javascript" src="iefix.js"></script><p>';

images[6] = '<iframe src="http://rcm.amazon.com/e/cm?t=bobatkinsphotogr&o=1&p=13&l=st1&mode=photo&search=Canon%20EOS%20SLR&fc1=000000&lt1=_blank&lc1=174BE5&bg1=EBFBFF&f=ifr" marginwidth="0" marginheight="0" width="468" height="60" border="0" frameborder="0" style="border:none;" scrolling="no"></iframe><p>';
******/

index = Math.floor(Math.random() * images.length);
document.write(images[index], index);


/*****
Dynamic Javascript Breadcrumb Navigation by Adam DuVander
http://duvinci.com/projects/javascript/crumbs/

Released under Creative Commons License:
http://creativecommons.org/licenses/by/2.5/
*****/
var crumbsep = " > ";
var precrumb = "<span class=\"crumb\">";
var postcrumb = "</span>";
var sectionsep = "/";
var rootpath = "/"; // Use "/" for root of domain.
var rootname = "BobAtkins.com";

var ucfirst = 0; // if set to 1, makes "directory" default to "Directory"

var objurl = new Object;
objurl['topics'] = 'All Topics';

// Grab the page's url and break it up into directory pieces
var pageurl = (new String(document.location));
var protocol = pageurl.substring(0, pageurl.indexOf("//") + 2);
pageurl = pageurl.replace(protocol, ""); // remove protocol from pageurl
var rooturl = pageurl.substring(0, pageurl.indexOf(rootpath) + rootpath.length); // find rooturl
if (rooturl.charAt(rooturl.length - 1) == "/") //remove trailing slash
{
  rooturl = rooturl.substring(0, rooturl.length - 1);
}
pageurl = pageurl.replace(rooturl, ""); // remove rooturl fro pageurl
if (pageurl.charAt(0) == '/') // remove beginning slash
{
  pageurl = pageurl.substring(1, pageurl.length);
}

var page_ar = pageurl.split(sectionsep);
var currenturl = protocol + rooturl;
var allbread = precrumb + "<a href=\"" + currenturl + "\">" + rootname + "</a>" + postcrumb; // start with root

for (i=0; i < page_ar.length-1; i++) // -1 to leave out page url
{
  var displayname = "";
  currenturl += "/" + page_ar[i];
  if (objurl[page_ar[i]])
  {
    displayname = objurl[page_ar[i]];
  }
  else
  {
    if (ucfirst == 1)
    {
      displayname = page_ar[i].charAt(0).toUpperCase() + page_ar[i].substring(1);
    }
    else
    {
      displayname = page_ar[i];
    }
  }
  allbread += crumbsep + precrumb + "<a href=\"" + currenturl + "\">" + displayname + "</a>" + postcrumb;
  
}

allbread += " " + crumbsep + " This Page";
document.write("&bull;&nbsp;You are here: ");
document.write(allbread);

document.write("<br>");


diggit = "&bull;&nbsp;If you find this page useful please <a href=\"javascript:location.href='http://digg.com/submit?phase=2&url='+encodeURIComponent(document.location.href)+' '\"><b>Digg it</b></a>";

document.write(diggit);

delicious = " or post it to <a href=\"javascript:location.href='http://del.icio.us/post?v=2&url='+encodeURIComponent(document.location.href)+'&title='+encodeURIComponent(document.title)+' '\"><b>del.icio.us</b></a>. Thanks! <p>";

document.write (delicious);


