function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="http://www.nepalisamajuk.com/misc/ad/nepflight200x200.jpg"
  myimages[2]="http://www.nepalisamajuk.com/misc/ad/ourad/2adclikhere200x200.gif"
  //myimages[3]="http://www.nepalisamajuk.com/gallery/tamupyelhubbq30jun07/tamupyelhubbq30jun07_31.jpg"
  //myimages[4]="http://www.nepalisamajuk.com/gallery/tamupyelhubbq30jun07/tamupyelhubbq30jun07_46.jpg"
  //myimages[5]="http://www.nepalisamajuk.com/gallery/49thQOGLRbday07/49thqoglrbday07_19.jpg"
  //myimages[6]="http://www.nepalisamajuk.com/gallery/49thQOGLRbday07/49thqoglrbday07_13.jpg"
  //myimages[7]="http://www.nepalisamajuk.com/gallery/grrushpoolcomp10jun07/grrushpoolcomp10jun07_10.jpg"
  //myimages[8]="http://www.nepalisamajuk.com/gallery/intake85bbq09jun07/intake85bbq09jun07_50.jpg"
  //myimages[9]="http://www.nepalisamajuk.com/gallery/intake85bbq09jun07/intake85bbq09jun07_64.jpg"
  //myimages[10]="http://www.nepalisamajuk.com/gallery/ndfsummerbbq03jun07/ndfsummerbbq03jun07_28.jpg"

  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="http://www.nepalflight.co.uk"
  imagelinks[2]="http://www.nepalisamajuk.com/advert.asp"
  //imagelinks[3]="http://www.nepalisamajuk.com/gallery/tamupyelhubbq30jun07/index.html"
  //imagelinks[4]="http://www.nepalisamajuk.com/gallery/tamupyelhubbq30jun07/index.html"
  //imagelinks[5]="http://www.nepalisamajuk.com/gallery/49thQOGLRbday07/index.html"
  //imagelinks[6]="http://www.nepalisamajuk.com/gallery/49thQOGLRbday07/index.html"
  //imagelinks[7]="http://www.nepalisamajuk.com/gallery/grrushpoolcomp10jun07/index.html"
  //imagelinks[8]="http://www.nepalisamajuk.com/gallery/intake85bbq09jun07/index.html"
  //imagelinks[9]="http://www.nepalisamajuk.com/gallery/intake85bbq09jun07/index.html"
  //imagelinks[10]="http://www.nepalisamajuk.com/gallery/ndfsummerbbq03jun07/index.html"
 

  var ry=Math.floor(Math.random()*myimages.length)

  if (ry==0)
     ry=1
     document.write('<a href='+'"'+imagelinks[ry]+'"'+' target="_blank"><img src="'+myimages[ry]+'" border=0 width="200" height="200"></a>')
}

  random_imglink()

