u = window.location;
m = "I thought this might interest you...";
function mailThisUrl(){
  var e_add= prompt('Enter recipient\'s email address:','');
  if ((e_add=="") || (e_add==" ") || (e_add==null)) {
  e_add="enter-email-address";
  }
  window.location = "mailto:"+e_add+"?subject="+m+"&body="+document.title+" | "+u;
}
function addToFavorites()
 {
  if (window.external)
  {
   window.external.AddFavorite(window.document.location,window.document.title)
  }
  else
  { 
   alert("Sorry! Your browser doesn't support this function.");
  }
 }

var theSets = new Array();
theSets[0] = 'g_01';
theSets[1] = 'g_02';
theSets[2] = 'g_03';
theSets[3] = 'g_04';
theSets[4] = 'g_05';
theSets[5] = 'g_06';
theSets[6] = 'g_07';
theSets[7] = 'g_08';
theSets[8] = 'g_09';
theSets[9] = 'g_10';
theSets[10] = 'g_11';
theSets[11] = 'g_12';
theSets[12] = 'g_13';
theSets[13] = 'g_14';
theSets[14] = 'g_15';
theSets[15] = 'g_16';
theSets[16] = 'g_17';
theSets[17] = 'g_18';
theSets[18] = 'g_19';

var s = theSets.length;
var whichNum = Math.round(Math.random()*(s-1));
var whichSet = theSets[whichNum];

var theImage = whichSet+'.jpg';
var preBuffer = new Array();
   preBuffer[0] = new Image();
   preBuffer[0].src = '../assets/images/random/'+theImage;
function showImage(w,h){
   document.write('<img src="../assets/images/random/'+theImage+'" border="0" width="'+w+'"'+' height="'+h+'">');
}