<!--
//*****************************************
// Blending Image Slide Show Script- 
// ?Dynamic Drive (www.dynamicdrive.com)
// For full source code, visit http://www.dynamicdrive.com/
//*****************************************

//specify interval between slide (in mili seconds)
var slidespeed=7000

//specify images
var slideimages=new Array("/images/slides/flora.jpg", "/images/slides/power_01.jpg", "/images/slides/12.jpg","/images/slides/power_02.jpg", "./images/slides/press_ny_times.jpg","/images/slides/power_03.jpg", "./images/slides/press_la_times.jpg","./images/slides/press_dwell.jpg","./images/slides/press_sf_chronicle.jpg")

//specify corresponding links
var slidelinks=new Array("#", "./collection/mikeandmaaike/power/index.php", "./collection/index.php","./collection/mikeandmaaike/power/index.php", "./collection/index.php","./collection/mikeandmaaike/power/index.php", "./collection/index.php","./collection/index.php","./collection/index.php")

var newwindow=0 //open links in new window? 1=yes, 0=no

var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}

function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->