document.write('<form onSubmit="SetProductID(this)" action="http://cambraysheepcheese.com.au/Shopping_Cart/view_cart.asp" method="POST"><a name="160"></a><input type="hidden" name="ProductID" value="160">\r\n<input type="hidden" name="ProductType" value="Matured">\r\n<input type="hidden" name="ProductDesc" value="Cambray Blewe">\r\n<input type="hidden" name="Price" value="9">\r\n<input type="hidden" name="BaseQuantity" value="110">\r\n<input type="hidden" name="EncryptPrice" value="+JhZ6yXLNwEVZUY6ezB/6/DIREg8LtAbvtz+wLLEZGQ=">\r\n');
document.write("<table border=\"0\" width=\"95%\">\r\n<tr><th colspan='3' align='left'><font face=\"Verdana\" color=\"#484848\" size=\"2\">Cambray Blewe</font></th></tr><tr><th colspan='3'>&nbsp</th></tr>\r\n<tr><th width='200' align='left' valign='top'><font face=\"Verdana\" color=\"#484848\" size=\"2\"><a href=\"JavaScript:CreatePopup('http://www.cambraysheepcheese.com.au/images/blewelarge.jpg', 'Image')\"><IMG border=\"0\" src=\"http://www.cambraysheepcheese.com.au/images/blewesmall.jpg\"></a></font></th><th width='15px'></th>\r\n<td valign='top'><small><font face=\"Verdana\" color=\"#484848\" size=\"2\">\r\n");
document.write('<P>This lightly veined cheese has a rich and velvety texture. Dessert wines are the best match for the tangy saltiness of this blue, or try a classic smooth Port.\r\n<P>Weight: Approx 110g\r\n<BR> \r\n<BR>Awards:\r\n<BR>2006 Silver (Perth Royal Show)\r\n<BR>2007 Silver (DIAA)\r\n<BR>\r\n<P>\r\n<P>\r\n<P>\r\n</font></small>\r\n<br><small><b><font face="Verdana" color="#484848" size="2">Price:&nbsp;<font face="Verdana" color="#484848" size="2">$9.00</font></small><br><br>\r\n<small><font face="Verdana" color="#484848" size="2">Quantity:&nbsp;</font></small><input type="text" size="1" maxlength="3" name="Quantity" value="1">&nbsp;<br>\r\n');
document.write('&nbsp;<input type="image" border="0" src="http://cambraysheepcheese.com.au/Shopping_Cart/additem.gif">\r\n&nbsp;</td></tr>\r\n</table>\r\n</form>\r\n<hr width="100%"><form onSubmit="SetProductID(this)" action="http://cambraysheepcheese.com.au/Shopping_Cart/view_cart.asp" method="POST"><a name="170"></a><input type="hidden" name="ProductID" value="170">\r\n<input type="hidden" name="ProductType" value="Matured">\r\n<input type="hidden" name="ProductDesc" value="Farmhouse Gold">\r\n<input type="hidden" name="Price" value="9.5">\r\n');
document.write("<input type=\"hidden\" name=\"BaseQuantity\" value=\"150\">\r\n<input type=\"hidden\" name=\"EncryptPrice\" value=\"GoozKNFzlyU+kcKDytGm/W99BDlKlpa3BJFiBYtPuZE=\">\r\n<table border=\"0\" width=\"95%\">\r\n<tr><th colspan='3' align='left'><font face=\"Verdana\" color=\"#484848\" size=\"2\">Farmhouse Gold</font></th></tr><tr><th colspan='3'>&nbsp</th></tr>\r\n<tr><th width='200' align='left' valign='top'><font face=\"Verdana\" color=\"#484848\" size=\"2\"><a href=\"JavaScript:CreatePopup('http://www.cambraysheepcheese.com.au/images/farmhouselarge.jpg', 'Image')\"><IMG border=\"0\" src=\"http://www.cambraysheepcheese.com.au/images/farmhousesmall.jpg\"></a></font></th><th width='15px'></th>\r\n");
document.write("<td valign='top'><small><font face=\"Verdana\" color=\"#484848\" size=\"2\">\r\n<P>Awarded the titles of Grand Champion Cheese & Champion Dairy Product at the 2006 Royal Perth show, Farmhouse Gold is a firm favourite at Cambray. Rich and creamy with a sweet buttery aftertaste, this cheese is perfect for any occasion. \r\n<P>Weight: 150g \r\n<P>Perth Royal Show Awards: \r\n<BR>2006 Gold & 1st Place \r\n<BR>2006 Champion Cheese \r\n<BR>2006 Champion Dairy Product (out of 360 entries) \r\n<BR>\r\n<P>\r\n<BR>\r\n<P>\r\n");
document.write('<P>\r\n<P>\r\n</font></small>\r\n<br><small><b><font face="Verdana" color="#484848" size="2">Price:&nbsp;<font face="Verdana" color="#484848" size="2">$9.50</font></small><br><br>\r\n<small><font face="Verdana" color="#484848" size="2">Quantity:&nbsp;</font></small><input type="text" size="1" maxlength="3" name="Quantity" value="1">&nbsp;<br>\r\n&nbsp;<input type="image" border="0" src="http://cambraysheepcheese.com.au/Shopping_Cart/additem.gif">\r\n&nbsp;</td></tr>\r\n</table>\r\n</form>\r\n');

function SetProductID(frm)
{
var wndAddToCart = null;

	var sOptions = "top=10,left=" + (window.screen.width - 250) + ",width=220,height=120,scrollbars=no,resizable=no,menubar=no";

var sProd, obProd, i;
	if (frm.Rnd != null)
	{
		frm.Rnd.value = Math.round(Math.random()*100000);
	}
	if (frm.ProductID != null)
	{
		if (frm.ProductID[0] != null)
		{
			sProd = frm.ProductID[0].value;		
			obProd = frm.ProductID[0];
		}
		else
		{
			sProd = frm.ProductID.value;		
			obProd = frm.ProductID;
		}
	}
	i = sProd.indexOf(", ");
	if (i >= 0 ) sProd = sProd.substring(0,i);
	for (i = 0; i < frm.elements.length; i++)
	{
		if (frm.elements[i].name != "Quantity" && 
			frm.elements[i].type.indexOf('select') >= 0)
		sProd += ", " + frm.elements[i].selectedIndex;
	}
	obProd.value = sProd;

	wndAddToCart = window.open("","AddToCart",sOptions);
	if (wndAddToCart) 
	{
		wndAddToCart.focus();
		frm.target = "AddToCart";
		i = frm.action.lastIndexOf('/');
		frm.action = frm.action.substring(0, i+1) + 'view_cart2.asp';
	}
	else frm.target = "_self";
}


function CreatePopup(page,s_title)
{
var sOptions, wnd;
	sOptions = "toolbar=no,location=no,directories=no,";
	sOptions += "left=" + (screen.width-450) + 
				",width=400,height=400,scrollbars=yes,resizable=yes,menubar=no,status=yes";
	wnd = window.open("",s_title,sOptions);
	if (wnd == null) wnd = window;
	if (page.length) wnd.location = page;
	wnd.focus();
}