<!--

imgButtons = new Array(	'Folio','Demo','Resume','Email');
preButtons = new Array();
preButtonsUp = new Array();

for (counter in imgButtons){		
		preButtons[counter] = new Image();	
		preButtons[counter].src = "images/but" + imgButtons[counter] + ".gif";		
		preButtonsUp[counter] = new Image();	
		preButtonsUp[counter].src = "images/but" + imgButtons[counter] + "h.gif";
}

function loadImg(imgName,imgNum) {
	imgArt = new Image();
	imgArt.src = "images/img"+imgName+imgNum+".jpg";
	newWindow=window.open('',imgName+imgNum,'toolbar=no,status=no,width=50,height=50');
	newWindow.moveTo(0,0);
	newWindow.document.write('<html><head><title>'+imgName+imgNum+'<\/title><\/head><body background="'+imgArt.src+'" onclick="self.close()"><\/body><\/html>');
	newWindow.focus();
	cycleLoad();
}
function cycleLoad(){
	if (imgArt.complete){
   		newWindow.resizeBy(imgArt.width-newWindow.document.body.clientWidth,imgArt.height-newWindow.document.body.clientHeight);
   		newWindow.focus();
   	} else {
   	setTimeout("cycleLoad()",250);
	}
}
//-->