		// Advanced Random Images Start
		// Copyright 2001-2006 All rights reserved, by Paul Davis - www.kaosweaver.com
		// code updated 2009 by Margaret Savage to substitute DOM append elements for document.write
 function randomImages() {
   		var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array()
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter10_hr.jpg?&width=600&height=476&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter22_hr.jpg?&width=600&height=481&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter25_hr.jpg?&width=600&height=481&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter26_hr.jpg?&width=600&height=476&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter28_hr.jpg?&width=600&height=478&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter2_hr.jpg?&width=600&height=484&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter6_hr.jpg?&width=600&height=476&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter9_hr.jpg?&width=600&height=479&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter55_lr.jpg?&width=600&height=481&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter56_lr.jpg?&width=600&height=477&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter57_lr.jpg?&width=600&height=481&border=0';
  		KW_ARI[KW_ARI.length]='work/winter/pv_winter60_lr.jpg?&width=600&height=482&border=0';
  		j=parseInt(Math.random()*KW_ARI.length);
  		j=(isNaN(j))?0:j;
  		if (KW_ARI[j].indexOf('?')==-1) {
		//if no extra attributes do this
  		var mySrc=KW_ARI[j]
		var myImgEl = document.createElement("img");
		myImgEl.setAttribute("src",mySrc);
		myImgEl.setAttribute("alt","paolo ventura");
		var theDiv = document.getElementById("image");
		theDiv.appendChild(myImgEl);
		} else {
		// if there are extra attributes do this
   		var mySrc=KW_ARI[j].substring(0,KW_ARI[j].indexOf('?')) // get url for image
		var myImgEl = document.createElement("img"); // create image element
		myImgEl.setAttribute("src",mySrc); // set image element src url
		myImgEl.setAttribute("alt","paolo ventura"); // set image element alt tag
   		nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');// split extra attributes into an array
    		for(var i=0;i<nvp.length;i++) { // go through array
	      		sub=nvp[i].split('='); // further split array into arrays of attribute name and value pairs
				myImgEl.setAttribute(sub[0], sub[1]); // set image element attribute name and value
    		}
			var theDiv = document.getElementById("image"); // set variable for div
			theDiv.appendChild(myImgEl); // add image to div
  			}
}

			// Advanced Random Images End
