(function() {
  var isMSIE = /*@cc_on!@*/false;
  var containerId, getElementsByClass, imglyContainer, outFunction, overFunction;

  containerId = "imgly-image-container-id-205633";

  document.write("<style>\n  .imgly-image-container {\n    font-family: \"Lucida Grande\", arial, helvetica, sans-serif;font-size: 12px;font-weight:lighter;line-height:18px;color:#454547;clear:both;margin:10px auto 0;position:relative;\n  }\n.imgly-username {\n  border-radius: 2px;\n  -moz-border-radius: 2px;\n  -webkit-border-radius: 2px;\n  -moz-border-radius-bottomleft:2px;\n  -moz-border-radius-bottomright:2px;\n  -moz-border-radius-topleft:2px;\n  -moz-border-radius-topright:2px;\n  margin-top:2px;\n  padding:1px 3px;\n  text-shadow:0 0 1px white;\n  background-color: " + (isMSIE ? '#fff' : 'rgba(255, 255, 255, 0.45)') + ";\n}\n.imgly-people-tag {\n  display:none;margin-top:3px;text-align:center;color:black;font-weight:bold;position:absolute;text-align:left;\n}\n.imgly-people-tag:hover .imgly-username {\n  background-color: " + (isMSIE ? '#fff' : 'rgba(255, 255, 255, 0.75)') + ";\n}\n.imgly-username a,.imgly-username a:hover,.imgly-username a:active,.imgly-username a:visited {\n  color:#000 !important;padding:3px;margin:0;padding:0;\n}\n.imgly-image-container:hover .imgly-people-tag {\n  display:block;\n}\n</style>\n\n<div id=\"" + containerId + "\" class=\"imgly-image-container\">\n  <a href=\"http://img.ly/RuF\" title=\"image shared with img.ly\">\n      <img alt=\"Large\" border=\"0px\" id=\"imgly-the-image\" src=\"http://s3.amazonaws.com/imgly_production/205633/large.jpg\" title=\"image shared with img.ly\" />\n  </a>\n\n\n  <a href=\"http://img.ly/\" title=\"share images twitter\">\n    <img alt=\"share images twitter\" border=\"0\" id=\"imgly-watermark\" src=\"/assets/imgly_logo_watermark-f72de363655c84428ef3d7d9014014e4.png\" style=\"position:absolute;top:10px;left:492px;\" />\n  </a>\n</div>\n");

  getElementsByClass = function(searchClass, domNode, tagName) {
    var el, tagNode, tagNodes, tcl, test;
    if (domNode == null) domNode = document;
    if (tagName == null) tagName = '*';
    tagNodes = domNode.getElementsByTagName(tagName);
    tcl = " " + searchClass + " ";
    el = (function() {
      var _i, _len, _results;
      _results = [];
      for (_i = 0, _len = tagNodes.length; _i < _len; _i++) {
        tagNode = tagNodes[_i];
        test = " " + tagNode.className + " ";
        if (test.indexOf(tcl) === -1) continue;
        _results.push(tagNode);
      }
      return _results;
    })();
    return el;
  };

  imglyContainer = document.getElementById(containerId);

  overFunction = function(e) {
    var el, els, _i, _len;
    els = getElementsByClass('imgly-people-tag');
    for (_i = 0, _len = els.length; _i < _len; _i++) {
      el = els[_i];
      el.style.display = 'block';
    }
    return false;
  };

  outFunction = function(e) {
    var el, els, _i, _len;
    els = getElementsByClass('imgly-people-tag');
    for (_i = 0, _len = els.length; _i < _len; _i++) {
      el = els[_i];
      el.style.display = 'none';
    }
    return false;
  };

  if (imglyContainer.addEventListener) {
    imglyContainer.addEventListener("mouseover", overFunction, false);
    imglyContainer.addEventListener("mouseout", outFunction, false);
  } else if (imglyContainer.attachEvent) {
    imglyContainer.attachEvent("onmouseover", overFunction);
    imglyContainer.attachEvent("onmouseout", outFunction);
  } else {
    imglyContainer.onmouseover = overFunction;
    imglyContainer.onmouseout = outFunction;
  }

}).call(this);

