/*
Large scripts for portfilio page are externalized to make layout code more legible.
Translate array in to a row of transparent thumbnail icon -sized Gifs, with apt links: */
function changeText(text_to_change) {
var myDiv = document.getElementById('quicklinkstext');
myDiv.firstChild.nodeValue = 'Quick links...   ' + text_to_change;
}
function changeTextBack() {
myDiv = document.getElementById('quicklinkstext');
myDiv.firstChild.nodeValue = 'Quick links...';
}

document.write('<div id="iconLinkWrapper">');
// __________________________________________ new splash img _____________________________________
document.write('<a href="images/index.html?depth=3&amp;&amp;keyword=recentAlbum" onmouseover="changeText(\'new, the latest work~ as it happens!\')" onmouseout="changeTextBack();" id="newsplash"><img src="images/portfolio_page_images/newsplash2.png" alt="new!" width="55" height="79" border="0" /></a>');

for (var i=1; i<thumbnailArray.length; i++) {
document.write('<div id="thumbnailLink"><a href="' + thumbnailArray[i].linkstring + '" onmouseover="changeText(\'' + thumbnailArray[i].qltext + '\')" onmouseout="changeTextBack();"><img src="images/transGif.gif" width="50" height="72" alt="transparent image"/></a></div>');
}
document.write('</div>');
