 

function imgWindow(file, w, h) {
  var leftPos = (screen.width-w)/2, topPos = (screen.height-h)/2;
  window.open(file, 'View Image', 'fullscreen=0,toolbar=o,status=o,menubar=o,scrollbars=1,resizable=1,directories=0,location=0,width='+w+',height='+h+',top='+topPos+',left='+leftPos);
}

 
 


function imageWindow(theURL,winName,features)
{ //v2.0
window.open(theURL,winName,features);
}

 
function MM_preloadImages()
{ //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

/* function threadCheck()
{
if (document.details.dealer_copy.checked == true) { document.details.dealer_copy_text.disabled = false; }
if ((document.details.personalization.checked == true) || (document.details.dealer_copy.checked == true)) {
document.details.thread_color.disabled = false;
} else { document.details.personalization_text.disabled = true; document.details.dealer_copy_text.disabled = true; document.details.thread_color.disabled = true; document.details.thread_color.value = ""; }
if (document.details.personalization.checked == true) { document.details.font.disabled = false; document.details.personalization_text.disabled = false; } else { document.details.font.disabled = true; document.details.font.value = ""; }
} */

function changeImage(newImage, imageName)
{
  document[imageName].src = eval(newImage + ".src");
}

 
 
 
 
function over(imageName) {
	if (document.images) document[imageName].src = "../media/"+imageName + "-roll.jpg";             
}
function out(imageName) {
            if (document.images) document[imageName].src = "../media/"+imageName + ".jpg";
}

