var thumbnailPerspective = "default"; var stockAvailabilityMap = new Array(); var stockMsgMap = new Array(); var colorStockAvailMap = new Array(); var sizeVisibleCount = 0; stockAvailabilityMap[103] = [ { id: 4, name: 'Small', isDefault: false }, { id: 5, name: 'Medium', isDefault: true }, { id: 6, name: 'Large', isDefault: false }, { id: 7, name: 'X-Large', isDefault: false } ]; stockAvailabilityMap[4] = [ { id: 4, name: 'Small', isDefault: false }, { id: 5, name: 'Medium', isDefault: true }, { id: 6, name: 'Large', isDefault: false }, { id: 7, name: 'X-Large', isDefault: false } ]; stockAvailabilityMap[5] = [ { id: 4, name: 'Small', isDefault: false }, { id: 5, name: 'Medium', isDefault: true }, { id: 6, name: 'Large', isDefault: false }, { id: 7, name: 'X-Large', isDefault: false } ];
function selectSize(sizeId, elementId, name) { var size = document.getElementById(elementId); size.value = sizeId; var sizelabel = document.getElementById('defaultSize'); if (sizelabel) { sizelabel.innerHTML = name; }
var sizeBoxes = document.getElementById('sizeBoxes');
if (sizeBoxes)
{
var liArray = sizeBoxes.childNodes;
for(var i=0;i
function refreshSizeDropDown(sizeDropDownId, colorDropDownId) { sizeVisibleCount = 0 ; //reset the size selection count
var sizeDropDown = document.getElementById(sizeDropDownId); var colorDropDown = document.getElementById(colorDropDownId); var colorVal = colorDropDown != null ? colorDropDown.options[colorDropDown.options.selectedIndex].value : '0'; var isFulfillmentElement = document.getElementById('isFulfillment'); var isFulfillment =false; if(isFulfillmentElement != null){ isFulfillment=isFulfillmentElement.value; } var productSizeArray = stockAvailabilityMap[colorVal]; if (sizeDropDown != null && sizeDropDown.options!=null) { if(sizeDropDown.options.length > 0) { var defaultValue = sizeDropDown.options[sizeDropDown.options.selectedIndex].value; }else { var defaultValue=0; } sizeDropDown.options.length=0; var x; for (x in productSizeArray) { sizeDropDown.options[x] = new Option(productSizeArray[x].name, productSizeArray[x].id, productSizeArray[x].isDefault, productSizeArray[x].id==defaultValue);
sizeVisibleCount++; //increment the number of sizes visible
}
}
else if (sizeDropDown != null)
{
var sizeBoxes = document.getElementById('sizeBoxes');
var previouslySelectedSize = sizeDropDown.value;
if (sizeBoxes)
{
var liArray = sizeBoxes.childNodes;
var i=0;
var needToUpdateSize = true;
var firstAvailableSize;
for (i=0; i
if (sizeVisibleCount != 0) { var key = createMessageMapKey(colorVal, sizeVal); } else { var key = createMessageMapKey(colorVal, 0); } //alert("sizeVisibleCount key="+key); //look it up if (stockMsgMap) { var stockOverride = stockMsgMap[key]; var availabilityMsg = document.getElementById("availabilityMessage"); if (availabilityMsg != null) { if (stockOverride != null) { availabilityMsg.innerHTML = "Availability: " + stockOverride.message; } else { availabilityMsg.innerHTML = "Availability: " + "In Stock"; } if ((stockOverride != undefined && stockOverride != null && !stockOverride.isAddToCartable) || (stockOverride == null && 'True' == 'False')) { availabilityMsg.style.color = "red"; if (sizeDropDown) { sizeDropDown.disabled = true; } } else { availabilityMsg.style.color = "#666666"; if (sizeDropDown) { sizeDropDown.disabled = false; } } } var addToCartSection = document.getElementById("addToCartSection"); if (addToCartSection != undefined) { if (stockOverride != undefined && stockOverride != null && !stockOverride.isAddToCartable) { addToCartSection.style.visibility = "hidden"; } else { addToCartSection.style.visibility = "visible"; } } } }
function changeDefaultColor(newColor) { var colorLabel = document.getElementById('defaultColor'); if (colorLabel != undefined) { colorLabel.innerHTML = newColor; } }
function refreshPrice(sizeId) { // blat default sellprice and if product on sale, saleprice, into priceDiv div var priceStr = '$19.99'; var priceDiv = document.getElementById('priceDiv'); if (priceDiv != undefined) { priceDiv.innerHTML = '' + priceStr + ''; }
// replace sellprice and also saleprice (if applicable) var sellPriceId = document.getElementById('sellPriceId');
if (sellPriceId != undefined) { sellPriceId.innerHTML = sizeArray[sizeId].displaySellPrice; var salePriceId = document.getElementById('salePriceId'); if (salePriceId != undefined) { salePriceId.innerHTML = sizeArray[sizeId].displayDiscountPrice; } } }
window.cafepress = window.cafepress || {}; window.cafepress.signedIn = true; window.cafepress.countryCode = 'US'; window.cafepress.currencyCode = 'USD'; window.cafepress.domain = 'cafepress.com'; window.cafepress.www = 'www.cafepress.com'; window.cafepress.secureWww = 'https://www.cafepress.com'; window.cafepress.members = 'members.cafepress.com'; window.cafepress.secureMembers = 'https://members.cafepress.com'; window.cafepress.cartItemCount = 0; window.cafepress.cartLabel = 'Cart'; window.cafepress.cartItemLabel = 'Item'; window.cafepress.userName = ''; window.cafepress.showWishlists = true;
window.cafepress.aidValue = ''; // member_no of DT affiliate obtained from last traffic touch
window.cafepress.domain_au = 'cafepress.com.au'; window.cafepress.domain_ca = 'cafepress.ca'; window.cafepress.domain_fr = 'cafepress.fr'; window.cafepress.domain_de = 'cafepress.de'; window.cafepress.domain_es = 'cafepress.es'; window.cafepress.domain_gb = 'cafepress.co.uk'; window.cafepress.domain_us = 'cafepress.com'; window.cafepress.domain_uk = 'cafepress.co.uk';
window.cafepress.originCountryCode = 'US'
window.cafepress.tracking = window.cafepress.tracking || {}; window.cafepress.tracking.pageLandingType = 'PremiumShopPDP'; window.cafepress.tracking.productFamily = 'Boxer Brief'; window.cafepress.tracking.salesChannel = 'Shop'; window.cafepress.tracking.abTestString = 'AB_CAF-64:C:F,AB_RETL-248:T:F,EXP_08_00:C:F,EXP_08_07:C:F,EXP_11_03:C:F,EXP_11_17:T:F,EXP_INTL_11_03:T:F'; window.cafepress.tracking.businessUnit = 'Shop'; window.cafepress.tracking.searchTerm = ''; window.cafepress.tracking.trafficMedium = 'Direct'; window.cafepress.tracking.utmTracking = '';
var omnitureTrackingEnabled = true;
It has been four years since I first published my semen cookbook Natural Harvest – A collection of semen-based recipes. I originally wrote the book to change the negative view of semen as food, and encourage readers to open their minds, kitchens and ultimately mouths to semen. We eat milk (cow secretions) and eggs (chicken menstruation) why all the fuss about semen’s inappropriateness as food? The cookbook has sold well, and more importantly the discussion of semen as food has flourished. I made the following products as gifts for my friends who helped me with the book, and who are also helping me write my next cookbook. They told me I should allow my other fans to buy these as well. I hope these semen-based items inspire you and your culinary friends to have more fun in the kitchen.