function popUpViewLarger(url) {
	var popWindow = window.open(url,'pop','width=510,height=535,top=200,left=165');
	popWindow.focus();
}

function popUpSmall(url) {
	var popWindow = window.open(url,'pop','width=510,height=200,top=200,left=165,noscroll,resizable=yes');
	popWindow.focus();
}

function popUpMed(url) {
	var popWindow = window.open(url,'pop','width=510,height=500,top=200,left=165,scrollbars');
	popWindow.focus();
}


function popUpLarge(url) {
	var popWindow = window.open(url,'pop','width=750,height=500,top=200,left=165,scrollbars,resizable=yes');
	popWindow.focus();
}

function popUpXLarge(url) {
	var popWindow = window.open(url,'pop','width=830,height=550,top=200,left=165,scrollbars,resizable=yes');
	popWindow.focus();
}

function popUpXXLarge(url) {
	var popWindow = window.open(url,'pop','width=950,height=670,top=200,left=165,scrollbars,resizable=yes');
	popWindow.focus();
}

function popUpXXXLarge(url) {
	var popWindow = window.open(url,'pop','width=990,height=670,top=200,left=165,scrollbars,resizable=yes');
	popWindow.focus();
}


function popUpCatalog(url) {
	var popWindow = window.open(url,'popUpCatalog','width=980,height=735,top=100,left=100,toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=yes');
	popWindow.focus();
}
	
/* Activate image script */
function img_act(imgName,src) {
	if (document.images) {
		document [imgName].src = src;
  }
}


function popBlowup(prodName, prodImage)
{
	var blowupWin = window.open("", "IMAGE_POPUP", "width=515,height=538 ,top=10,left=10");
	blowupWin.document.write("<html>\n");
	blowupWin.document.write("<head>\n");
	blowupWin.document.write('<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />\n');
	blowupWin.document.write('<meta name="keywords" content="keywords for this page" />\n');
	blowupWin.document.write('<meta name="title" content="document title name" />\n');
	blowupWin.document.write('<title>' + prodName + '</title>\n');
	blowupWin.document.write("<link rel='stylesheet' href='/retail_mainStyles.css' type='text/css'>\n");
	blowupWin.document.write("</head>\n");
	blowupWin.document.write('<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" marginheight="0" marginwidth="0" class="bgDefault">\n');
	blowupWin.document.write('<table width="510" border="0" cellspacing="0" cellpadding="0">\n');
	blowupWin.document.write("<tr>\n");
	blowupWin.document.write('<td height="5"><img src="/yc/images/retail/spacer.gif" alt="" height="5" border="0" /></td>\n');
	blowupWin.document.write("</tr>\n");
	blowupWin.document.write("<tr>\n");
	blowupWin.document.write('<td width="5"><img src="/yc/images/retail/spacer.gif" alt="" width="5" border="0" /></td>\n');
	blowupWin.document.write('<td><div class="pix500"><img src="' + prodImage + '" width="500" height="500" /></div></td>\n');
	blowupWin.document.write('<td width="5"><img src="/yc/images/retail/spacer.gif" alt="" width="5" border="0" /></td>\n');
	blowupWin.document.write("</tr>\n");
	blowupWin.document.write("</table>\n");
	blowupWin.document.write('<table width="510" border="0" cellspacing="0" cellpadding="0">\n');
	blowupWin.document.write("<tr>\n");
	blowupWin.document.write('<td width="5"><img src="/yc/images/retail/spacer.gif" alt="" width="5" border="0" /></td>\n');
	blowupWin.document.write('<td class="subHeader">' + prodName + '</td><td align="right"><a href="javascript:window.close();"><img src="/yc/images/retail/buttons/closeWindow.gif" width="96" height="19" border="0" /></a></td>\n');
	blowupWin.document.write('<td width="5"><img src="/yc/images/retail/spacer.gif" alt="" width="5" border="0" /></td>\n');
	blowupWin.document.write("</tr>\n");
	blowupWin.document.write("</table>\n");
	blowupWin.document.write("</body>\n");
	blowupWin.document.write("</html>\n");
	blowupWin.document.close();
	blowupWin.focus();
}