function boo(productID, variantID, specialProductBlocked){

    //alert("booo");
    return 'javascript:addFrameToCart(' + productID + ', ' + variantID + ', ' + specialProductBlocked + ')'
}

function changeFrameModel (productSKU, variantSKU, productID, variantID) {
  //alert (productSKU + '/' + variantSKU + '/' + productID + '/' + variantID);
  
  // Change Frame Model Code Display
  var obj = document.getElementById('code_' + productSKU);
  obj.innerHTML = variantSKU;
  
  // Change Frame Model Code Hidden
  //var obj = document.getElementById('code_' + model);
  //obj.innerHTML = variant;
  
  // Change Frame Model Image Display
  var obj = document.getElementById('image_' + productSKU);
  if (variantID == "0"){
    obj.src = 'assets/' + productID + '/' + productID + '_detail.jpg';
  }else{
    obj.src = 'assets/' + productID + '/' + variantID + '/' + productID + '_' + variantID + '_detail.jpg';
  }
  
  // get specials blocker
  var specialProductBlocked = document.getElementById("hidFhtProductBlocked_" + productID).value;
  
  // Change Frame Model Add To Cart HREF
  var addFrameLink = document.getElementById('addFrameToCart_' + productSKU);
  addFrameLink.href = 'javascript:addFrameToCart(' + productID + ', ' + variantID + ', ' + specialProductBlocked + ')';
  var addFrameIcon = document.getElementById('addFrameToCartIcon_' + productSKU);
  addFrameIcon.onclick = function() { addFrameToCart( productID, variantID, specialProductBlocked ); }

  // Change Frame Model Enlarge Display
  var enlarge = document.getElementById('frameEnlarge_' + productSKU);
  var modelChange = document.getElementById('frameEnlargeModel_' + productSKU);
  var image = document.getElementById('frameImageSmall_' + productSKU);
  
  if (variantID == "0"){
    enlarge.src = 'assets/' + productID + '/' + productID + '_detail.jpg';
  }else{
    enlarge.innerHTML = '<a href=\"javascript:enLargeFrameImage(\'' + productSKU + '\',\'' + variantSKU + '\',\'' + productID + '\', \'' + variantID + '\')\" title=\"view a larger image of these frames\">++ enlarge image</a>';
    if (modelChange)
    {
        modelChange.innerHTML = '<a href=\"javascript:enLargeFrameImage(\'' + productSKU + '\',\'' + variantSKU + '\',\'' + productID + '\', \'' + variantID + '\')\" title=\"view a larger image of these frames\">++ enlarge image</a>';
    }
    image.href = 'javascript:enLargeFrameImage(\'' + productSKU + '\',\'' + variantSKU + '\',\'' + productID + '\', \'' + variantID + '\')';
  }
  
  // if frame enlargement is displayed then alter frames when swatch is clicked
  if (document.getElementById('frameContainerLarge').style.display == 'block'){
    enLargeFrameImage(productSKU, variantSKU, productID, variantID);
  }
  
  //alert('here' + ' ' + 'code_' + model);
}

