function createSWF( w, h, params) {
  var args = "";
  for (var i in params) {
    args += i + "=" + params[i] + "&amp;";
  }
document.writeln('<object width="100%" height="100%" align="middle">'+ '<param name="movie" value="http://www.smugmug.com/ria/ShizamSlides-2007091201.swf?'+args+'"/>'+ '<param name="wmode" value="transparent" />'+ '<embed src="http://www.smugmug.com/ria/ShizamSlides-2007091201.swf?'+args+'" wmode="transparent" width="' + w + '" height="' + h + '" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all"/></object>');
return 1;
}

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

SM.PhotoBar.config.position = 'bottom';

YE.onAvailable('fades', function() {if (YD.hasClass(document.body,
"fsSlideshow")) this.click();});

function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}

var Ll = new Array();
Ll[0] = "http://Williamcrosse.smugmug.com/photos/250523641_mT2dn-S-3.jpg";

var P = new Array();
P[0] = "http://Williamcrosse.smugmug.com/photos/286177816_TnJ7a-S-3.jpg";

var Lr = new Array();
Lr[0] = "http://Williamcrosse.smugmug.com/photos/219207653_LcATQ-S-4.jpg";

function choosePhoto(parray)
{
    inx = Math.floor(Math.random()*parray.length);
    img = parray[inx];
    document.write('<img border="2" src="' + img + '"/>');
}



