function rollOver(roNum,clr)
	{
	for(dRw=0; dRw<=6; dRw=dRw+1)
		{
		document.getElementById('ro'+dRw).style.visibility='hidden';
		document.getElementById('circle'+dRw).src='images/whtCrcl.gif';
		} 
	document.getElementById('ro'+roNum).style.visibility='visible';						
	document.getElementById('circle'+roNum).src='images/'+clr+'Crcl.gif';	
	}

	
function showDrawer(roNum,clr)
	{
	for(dRw=0; dRw<=6; dRw=dRw+1)
		{
		document.getElementById('drawer'+dRw).style.visibility='hidden';
		document.getElementById('ro'+dRw).style.visibility='hidden';
		document.getElementById('circle'+dRw).src='images/whtCrcl.gif';
		} 
	document.getElementById('circle'+roNum).src='images/'+clr+'Crcl.gif';	
	document.getElementById('ro'+roNum).style.visibility='visible';			
	document.getElementById('drawer'+roNum).style.visibility='visible';			
	}





function shwTxt(catNum)
	{
	objPopUp = document.getElementById('crdTxt'+catNum);
	objCallIt = document.getElementById('catJpgsDivs'+catNum);
				xPos = parseInt(objCallIt.style.left);
				yPos = parseInt(objCallIt.style.top);
				if (xPos + objPopUp.offsetWidth >  document.body.clientWidth) xPos = xPos - objPopUp.offsetWidth;
				if (yPos + objPopUp.offsetHeight >  document.body.clientHeight) yPos = yPos - objPopUp.offsetHeight;
				objPopUp.style.left = xPos + 'px';
				objPopUp.style.top = yPos + 'px';
				objPopUp.style.visibility = 'visible';
				objPopUp.style.zIndex="100";
	}
	
function hideTxt(catNum)	
	{
	document.getElementById('crdTxt'+catNum).style.visibility="hidden";
	}
		
smFeaturesVar="width=550,height=700,directories=no,location=no,menubar=no,resizable=yes,";
smFeaturesVar=smFeaturesVar+"scrollbars=no,toolbar=no,directories=no,status=no,";



function seeFullSize(itemPrice,catNum,imgNmbr)
		{
		var htmlStr='<html><head><title>'+catNum+'</title>';
		htmlStr=htmlStr+'<link rel=\"stylesheet\" type=\"text/css\" href=\"harris.css\">';
		htmlStr=htmlStr+'<script type=\"text/javascript\" language=\"JavaScript\" src=\"harris.js\"></script>';
		htmlStr=htmlStr+'</head><body><img src=\"images/verGrphc.gif\" width=\"50px\" height=\"100%\"';
		htmlStr=htmlStr+'style=\"position\:absolute\;left\:40px\;width\:50px\;height\:100\%\;\">';
		htmlStr=htmlStr+'<div id=\"banner\" style=\"width\:100\%\;\"><img src=\"images/banner.gif\"';
		htmlStr=htmlStr+'width=\"400px\" height=\"50px\"style=\"position\:absolute\;zIndex\:3\;';
		htmlStr=htmlStr+'left\:50px\;width\:400px\;height\:50px\;\"></div>';
		htmlStr=htmlStr+'<div id=\"smTable\"overflow\:auto\;\"><div id=\"catJpgsDivs\" style=\"width\:auto\;\">';
		htmlStr=htmlStr+'<img src=\"jpgs/'+imgNmbr+'.jpg\" alt=\"large image of  ' +catNum+ '\" title=\"'+catNum+'\"';
		htmlStr=htmlStr+'style=\"position\:absolute\;left\:100px\;width\:auto\;\">';
		htmlStr=htmlStr+'<p class=\"thumCaps\" style=\"position\:absolute\;left\:100px\;top\:490px\;text-align\:left\;\">';
		htmlStr=htmlStr+'<nobr>card number '+catNum+'<\/nobr><br></p></div><div id=\"ppForm\"';
		htmlStr=htmlStr+'style=\"position\:absolute\;left\:100px\;top\:530px\;\height\;50px\;">';
		htmlStr=htmlStr+'<form name=\"_xclick\" target=\"paypal\" action=\"https://www.paypal.com\" method=\"post\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"cmd\" value=\"_cart\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"business\" value=\"email@christinecards.com\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"currency_code\" value=\"USD\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"item_name\" value=\"'+catNum+'\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"amount\" value=\"'+ itemPrice+'\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"page_style\" value=\"christine_cards\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"return\" value=\"http\://www.christinecards.com/thankyou.html\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"cancel_return\" value=\"http://www.christinecards.com/sosorry.html\">';
		htmlStr=htmlStr+'<input type=\"image\" src=\"http://www.paypal.com/en_US/i/btn/sc-but-01.gif\"';
		htmlStr=htmlStr+' border=\"0\" name=\"submit\" style=\"position\:absolute\;left\:0px\;top\:0px\; ';
		htmlStr=htmlStr+'\"alt=\"Make payments with PayPal - it\'s fast, free and secure\!\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"add\" value=\"1\"></form>';
		htmlStr=htmlStr+'<form name=\"_xclick\" target=\"paypal\" action=\"https://www.paypal.com/cgi-bin/webscr\"';
		htmlStr=htmlStr+' method=\"post\" method=\"post\"><input type=\"hidden\" name=\"cmd\" value=\"_cart\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"business\" value=\"email@christinecards.com\">';
		htmlStr=htmlStr+'<input type=\"image\" style=\"position\:absolute\;left\:200px\;top\:0px\;"';
		htmlStr=htmlStr+'src=\"https://www.paypal.com/en_US/i/btn/view_cart.gif\"';
		htmlStr=htmlStr+' border=\"0\" name=\"submit\" alt=\"Make payments with PayPal \- it\'s fast, free and secure\!\">';
		htmlStr=htmlStr+'<input type=\"hidden\" name=\"display\" value=\"1\"></form></div>';
		htmlStr=htmlStr+'<div style=\"position\:absolute\;left\:100px\;top\:570px\;\height\;20px\;"><p>';
		htmlStr=htmlStr+'<nobr><a href=\"javascript\: self.close \(\)\">close</a> this window<\/nobr>';
		htmlStr=htmlStr+'</p></div></div></body></html>';
		var imgViewer=window.open('imageViewer.html','imgViewer', smFeaturesVar);
		imgViewer.document.write(htmlStr);
		imgViewer.document.close();
		}
		

		
		
		
		