function setThumbnailPerspective(perspectiveValue){if(thumbnailPerspective!=undefined){thumbnailPerspective=perspectiveValue;}}
function getColorAndViewLarger(dropDownId,theUrl,newFeatures){var dropDown=document.getElementById(dropDownId);if(dropDown!=undefined){var colorNo=dropDown.options[dropDown.options.selectedIndex].value;theUrl=theUrl+'&colorNo='+colorNo;}
var appendStr='&pr=F';if(thumbnailPerspective!=undefined&&thumbnailPerspective.toLowerCase()=='back'){appendStr='&pr=B';}
theUrl=theUrl+appendStr;launchHelp(theUrl,newFeatures);}
function swapImgWithUrl(ToImg,NewImgUrl)
{if(document.images[ToImg]!=undefined){document.images[ToImg].src=NewImgUrl}}
function swapImgsWithUrls(ToImgArray,NewImgUrlArray)
{for(i=0;i<ToImgArray.length;i++){swapImgWithUrl(ToImgArray[i],NewImgUrlArray[i])}}
function swapimg(ToImg,FromImg)
{document.images[ToImg].src=document.images[FromImg].src}
function simulateClickSwatch(imageIdPrepend,dropDownId){var dropDown=document.getElementById(dropDownId)
var chosenVal=dropDown.options[dropDown.options.selectedIndex].value
var imgId=imageIdPrepend+chosenVal;eval(jQuery('#'+imgId+' > a').attr('href'));}