/**
 * teclan image swapping functionality.
 * Any changes to this file will not be supported by teclan.
 *
 * @copyright teclan 2009
 */


var $te = function(id) {
  return document.getElementById(id);
};

/**
 * Swap the main prodct image
 */
function swapImg(anchor, newImg) {
  var mimg = $te('im-' + anchor);
  if (mimg) {
    mimg.src = newImg;
  }
}
