// JavaScript Document

today=new Date(); 
jran=today.getTime(); 
var number = 2; 
var random_number=""; 
var image=""; 
var lsimage=""; 
ia=9301; ic=49297; 
im=233280; 
jran = (jran*ia+ic) % im; 
random_number = Math.ceil( (jran/(im*1.0)) *number); // Loads the appropriate image based on random number.

if (random_number==1) { image="images/homeswaps/_MG_5101.jpg"; lsimage=""; description="Euryk (PL)<br>(Eldon x Europa)<br>SEAHG Summer Show 2008<br>In Hand Supreme";  }
if (random_number==2) { image="images/homeswaps/_MG_5385.jpg"; lsimage=""; description="Desert Gayle<br>(Ottergayle x Desert Colours)<br>SEAHG Summer Show 2008<br>Ridden Supreme";  }
if (random_number==3) { image="images/homeswaps/_MG_4307crop.jpg"; lsimage=""; description="Deanhills Prince Regent<br>(Sandbourne Royal Ensign x Bradmore Nutkin)<br>SEAHG Spring Show 2008<br>Ridden AA PBA Champion";  }
if (random_number==4) { image="images/homeswaps/IMG_0945.jpg"; lsimage=""; description="Mettlewood Morpheous<br>(Mettlewood Jubliee Tribute x Southwark Astral Storm)<br>SEAHG Summer Show<br>Ardingly - 16 June 2007";  }
if (random_number==5) { image="images/homeswaps/IMG_1067.jpg"; lsimage=""; description="VDS Vandalosia<br>(Magnum Psyche x RD Khurious Bey)<br>SEAHG Summer Show<br>Ardingly - 16 June 2007";  }
if (random_number==6) { image="images/homeswaps/IMG_2255.jpg"; lsimage=""; description="Highlander<br>(Tachyon Park x Hortensja)<br>Edenbridge & Oxted Agricultural Show<br>Lingfield - 27 August 2007";  }
if (random_number==7) { image="images/homeswaps/0284360.jpg"; lsimage=""; description="Bluebells, Kent, England";  }
if (random_number==8) { image="images/homeswaps/0589478.jpg"; lsimage=""; description="The wave, North Entrance, NSW, Australia";  }
if (random_number==9) { image="images/homeswaps/0589483.jpg"; lsimage=""; description="The Blue Garden, Hever Castle, Kent, England";  }
if (random_number==10) { image="images/homeswaps/0589489.jpg"; lsimage=""; description="Green leaf, Bateau Bay, NSW, Australia";  }
if (random_number==11) { image="images/homeswaps/0628889.jpg"; lsimage=""; description="Archway, Lisbon, Portugal";  }
if (random_number==12) { image="images/homeswaps/0774311.jpg"; lsimage=""; description="Tulips";  }
if (random_number==13) { image="images/homeswaps/0012277.jpg"; lsimage=""; description="Grand Central Station, New York City, USA";  }
if (random_number==14) { image="images/homeswaps/0798802.jpg"; lsimage=""; description="Ornamental flower";  }
if (random_number==15) { image="images/homeswaps/0802492.jpg"; lsimage=""; description="Grantski playing guitar";  }
if (random_number==16) { image="images/homeswaps/dotty.jpg"; lsimage=""; description="Dotty in rape field, North Downs, Kent, England";  }
if (random_number==17) { image="images/homeswaps/IMG_3874.jpg"; lsimage=""; description="Classic car, Edenbridge and Oxted Show, England";  }
if (random_number==18) { image="images/homeswaps/CRW_4899.jpg"; lsimage=""; description="Marguerites (Chrysanthemum frutescens)";  }
if (random_number==19) { image="images/homeswaps/dottybuzz.jpg"; lsimage=""; description="Dotty and the buzz";  }
if (random_number==20) { image="images/homeswaps/IMG_8849.jpg"; lsimage=""; description="First snow of winter - January 2007";  }
if (random_number==21) { image="images/homeswaps/_MG_3329.jpg"; lsimage=""; description="Esteban Ibn Narisma";  }
if (random_number==22) { image="images/homeswaps/IMG_0004.jpg"; lsimage=""; description="Bluebells";  }
if (random_number==23) { image="images/homeswaps/IMG_0624.jpg"; lsimage=""; description="Local cows";  }
if (random_number==24) { image="images/homeswaps/IMG_1858.jpg"; lsimage=""; description="Harvesting in the round";  }
if (random_number==25) { image="images/homeswaps/IMG_5534.jpg"; lsimage=""; description="Let sleeping dogs lie, Dublin";  }
if (random_number==26) { image="images/homeswaps/IMG_5558.jpg"; lsimage=""; description="Dublin illumination";  }
if (random_number==27) { image="images/homeswaps/IMG_6472.jpg"; lsimage=""; description="Roses are pink";  }
if (random_number==28) { image="images/homeswaps/IMG_5985.jpg"; lsimage=""; description="Artist at work";  }
if (random_number==29) { image="images/homeswaps/IMG_6479.jpg"; lsimage=""; description="The Kiss at Hever Castle";  }
if (random_number==30) { image="images/homeswaps/IMG_6494.jpg"; lsimage=""; description="Blooming strange";  }
if (random_number==31) { image="images/homeswaps/IMG_6526.jpg"; lsimage=""; description="Keep of the grass";  }
if (random_number==32) { image="images/homeswaps/JMB_peas1.jpg"; lsimage=""; description="Home grown";  }
if (random_number==33) { image="images/homeswaps/IMG_9306.jpg"; lsimage=""; description="Life sentence";  }


<!--
//  End -->
<!--
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS)
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
if(EnableRightClick==1){ return true; }
else {return false; }
}
function mousehandler(e){
if(EnableRightClick==1){ return true; }
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
var myevent = (isNS) ? e : window.event;
if (myevent.keyCode==96)
EnableRightClick = 1;
return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
//-->
