if($('.ProductMain').find('.OutOfStockMessage').html().length > 10)
{
$('.ProductThumbImage a img').attr('id','watermark');
var top = $('.ProductThumbImage a img').position.top;
var left = $('.ProductThumbImage a img').position.left;
$('').insertBefore(".ProductThumbImage a > img:first");
$("#overlay").css({"position":"absolute","top":top,"left":left,"height":"100px","width":"100px"});
if($('.ProductMain').find('.OutOfStockMessage').html().length > 10)
{
$('.ProductThumbImage a img').attr('id','watermark');
var top = $('.ProductThumbImage a img').position.top;
var left = $('.ProductThumbImage a img').position.left;
$('').insertBefore(".ProductThumbImage a > img:first");
$("#overlay").css({"position":"absolute","top":top,"left":left,"height":"100px","width":"100px"});
#PureChatWidget.purechat .purechat-collapsed-image {display: none !important;}