// JavaScript Document

function random_imglink(){
  var img=new Array()
  img[0]="img/feat_1.jpg"
  img[1]="img/feat_2.jpg"
  img[2]="img/feat_3.jpg"
  img[3]="img/feat_4.png"

  var dsc=new Array()
  dsc[0]="A vector representation of myself. Designed primarily in Adobe® Illustrator® CS2, using the Pen Tool  and Gradient Mesh. Final touches done in Adobe® Illustrator® CS2."
  dsc[1]="An overhead view of the Pacific Ocean and eastern Australia. Enhanced in Adobe® Photoshop® CS2."
  dsc[2]="An artistic depiction of the letters of my name. Started as a simple sketch, and brought to life in Adobe® Photoshop® CS2 with its pen tool and gradients."
  dsc[3]="A simple vector logo produced in Adobe® Photoshop® CS2 for the company Twofold Media."

	var alts=new Array()
	alts[0]="Self Portrait Vector (2009)"
	alts[1]="Aerial 1 (2008)"
	alts[2]="'Jeff' Typography (2008)"
	alts[3]="Twofold Media (2007)"
	
	var links=new Array()
	links[0]="img/d_8.jpg"
	links[1]="img/p_2.jpg"
	links[2]="img/d_4.png"
	links[3]="img/l_5.png"

  var ry=Math.floor(Math.random()*img.length)

 document.write('<p>'+alts[ry]+'</p><div style="width:1px;height:5px;display:block">&nbsp;</div><a rel="lightbox;options={animate:false}" href="'+links[ry]+'"><img src="'+img[ry]+'" alt="'+alts[ry]+'" /></a><p>'+dsc[ry]+'</p>')
}

  random_imglink()