var pics = new Array()
//set your pictures url, descriptive texts, width, height, and item code below
pics[0]=['full/solar_gallery_1/abstract.jpg','"Abstract" Rosslyn, Virginia','311','450','CL-ABRV'];
pics[1]=['full/solar_gallery_1/guardians.jpg','"Guardians of Justice" Washington, D.C.','321','450','CL-ABRV'];
pics[2]=['full/solar_gallery_1/interface.jpg','"Interface" Rosslyn, Virginia','306','450','CL-IRV'];
pics[3]=['full/solar_gallery_1/library_of_congress.jpg','"Library of Congress Steps" Washington, D.C.','285','450','CL-LCDC'];
pics[4]=['full/solar_gallery_1/negative_space.jpg','"Negative Space on a Grid II" Tysons Corner, Virginia','547','350','CL-NSTCV'];
pics[5]=['full/solar_gallery_1/rosslyn_gold.jpg','"Rosslyn Gold" Rosslyn, Virginia','355','450','CL-RGRV'];
pics[6]=['full/solar_gallery_1/solar_sphere.jpg','"Solar Sphere" Rosslyn, Virginia','353','450','CL-SSRV'];
pics[7]=['full/solar_gallery_1/the_supremes.jpg','"The Supremes" Washington, D.C.','525','350','CL-SUPDC'];
//no need to modify below
function showH(n){
var oDiv=document.getElementById('pic');
oDiv.innerHTML='';
var ah=document.getElementById('lin').getElementsByTagName('a');
for(var i=0;i<ah.length;i++){
	if(ah[i]==n){
	var item_title=escape(pics[i][1]);

	var oPic=document.createElement('img');
	oPic.setAttribute('src',pics[i][0]);
	oPic.setAttribute('id','img_brdr');
	oPic.setAttribute('width',pics[i][2]);
	oPic.setAttribute('height',pics[i][3]);
	oPic.setAttribute('alt',pics[i][1]);
	var oBr=document.createElement('br');

	var oTxt=document.createTextNode(pics[i][1]);
	var purchaseLink=document.createElement('a');
	var purchaseText=document.createTextNode('purchase information');

// add the text as a child of the link
   purchaseLink.appendChild(purchaseText);
	
// set the href to # and call picker when clicked or tabbed to  
purchaseLink.setAttribute('href','order.php?sku='+pics[i][4]+'&title='+item_title);
purchaseLink.setAttribute('onClick','popUp(this.href); return false;');

	var pTxt=document.createTextNode(' | ');
	oDiv.appendChild(oPic);
	oDiv.appendChild(oBr);
	oDiv.appendChild(oTxt);
	oDiv.appendChild(pTxt);
	oDiv.appendChild(purchaseLink);
	break
	}
}
}

