var w3cMainC_clbl5u14 = (document.getElementById) ? true : false;
var ie5MainC_clbl5u14 = (w3cMainC_clbl5u14 && document.all) ? true : false;
var ns6MainC_clbl5u14 = (w3cMainC_clbl5u14 && (navigator.appName == "Netscape")) ? true : false;
function harvestinfotruebodyMainC_clbl5u14()
{
return (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body;
};
function harvestinfoImageShowMainC_clbl5u14(imageId, url, e)
{
if(typeof(harvestinfoIncludePopusMainC_clbl5u14)=='undefined') return;
if (!e) var e = window.event;
mx = (ie5MainC_clbl5u14) ? e.clientX + harvestinfotruebodyMainC_clbl5u14().scrollLeft : e.pageX;
my = (ie5MainC_clbl5u14) ? e.clientY + harvestinfotruebodyMainC_clbl5u14().scrollTop : e.pageY;
if(typeof(harvestinfoLeftJustifyPopupMainC_clbl5u14)!='undefined' && typeof(harvestinfoPopupMaxWidthMainC_clbl5u14)!='undefined')
mx = mx - harvestinfoPopupMaxWidthMainC_clbl5u14;
else if(typeof(harvestinfoLeftJustifyPopupMainC_clbl5u14)!='undefined')
mx = mx - 300;
var div;
var maxWidth;
var maxHeight;
if(typeof(harvestinfoPopupMaxWidthMainC_clbl5u14)!='undefined')
maxWidth = harvestinfoPopupMaxWidthMainC_clbl5u14;
else {
maxWidth = 300;
};
if(typeof(harvestinfoPopupMaxHeightMainC_clbl5u14)!='undefined')
maxHeight = harvestinfoPopupMaxHeightMainC_clbl5u14;
else {
maxHeight = 300;
};
if (document.getElementById('harvestinfodiv' + imageId) == null)
{
div = document.createElement('div');
div.id = 'harvestinfodiv' + imageId;
div.style.position = "absolute";
div.style.top = my + "px";
div.style.left = mx + "px";
div.style.padding = '10px';
div.style.border = '1px solid #000000';
div.style.backgroundColor = '#FFFFFF';
div.style.zIndex = '3000';
document.getElementById('harvestinfomarqueecontainerMainC_clbl5u14').parentNode.appendChild(div);
if(typeof(harvestinfoPopupMaxWidthMainC_clbl5u14)!='undefined')
{
var regx = /width=[0-9]*/g;
url = url.replace(regx, "width=" + harvestinfoPopupMaxWidthMainC_clbl5u14);
};
if(typeof(harvestinfoPopupMaxHeightMainC_clbl5u14)!='undefined')
{
var regx1 = /height=[0-9]*/g;
url = url.replace(regx1, "height=" + harvestinfoPopupMaxHeightMainC_clbl5u14);
};
var txt="<img src='" + url+ "'/>";
div.innerHTML=txt;
}
else
{
div = document.getElementById('harvestinfodiv' + imageId);
div.style.top = my + "px";
div.style.left = mx + "px"; 
};
div.style.display = "block";
var A=document.getElementById;
var B=document.all;
var C=document.layers;
var offsetx=30;
if(typeof(harvestinfoLeftJustifyPopupMainC_clbl5u14)!='undefined')
{
var offsetx=-25;
};
var offsety=10;
var rightedge=B? document.body.clientWidth-maxWidth : window.innerWidth-maxWidth-20;
var bottomedge=B? document.body.scrollTop+document.body.clientHeight-maxHeight : window.pageYOffset+window.innerHeight-maxHeight;var c=(A)? document.getElementById('harvestinfodiv'+ imageId).style : (B)? B['harvestinfodiv' + imageId].style : (C)? C['harvestinfodiv'+ imageId] : "";
if (!B){
rightedge=window.innerWidth-maxWidth-20;
bottomedge=window.pageYOffset + window.innerHeight-maxHeight;
};
if (ie5MainC_clbl5u14)
{
if(typeof(harvestinfoLeftJustifyPopupMainC_clbl5u14)!='undefined')
{
div.style.left = mx + offsetx + "px"; 
}
}
else if(!ie5MainC_clbl5u14)
{
c.left=Math.min(rightedge, mx+offsetx) + 'px';
c.top=Math.min(bottomedge, my+offsety) + 'px';
};
};
function harvestinfoImageHideMainC_clbl5u14(imageId)
{
if(typeof(harvestinfoIncludePopusMainC_clbl5u14)=='undefined') return;
document.getElementById('harvestinfodiv'+ imageId).style.display = "none";
};
function getStyleObjectFromSelectorMainC_clbl5u14(selectorText)
{
if (document.styleSheets)
{
for (var i = document.styleSheets.length - 1; i >= 0; i--)
{
var styleSheet = document.styleSheets[i];
try
{
var rules;
if (styleSheet.cssRules)
{
rules = styleSheet.cssRules;
}
else if (styleSheet.rules)
{
rules = styleSheet.rules;
};
if (rules)
{
for (var j = rules.length - 1; j >= 0; j--)
{
if (rules[j].selectorText.indexOf(",") != -1 && rules[j].selectorText.indexOf(selectorText) != -1)
{
return rules[j].style;
}
else if (rules[j].selectorText == selectorText)
{
return rules[j].style;
};
}
}
}
catch(err1){}
}
return null;
}
else
{
return null;
};
};
var wimagestyleMainC_clbl5u14 = getStyleObjectFromSelectorMainC_clbl5u14('.harvestinfowidgetimageMainC_clbl5u14');
var delayb4scrollMainC_clbl5u14=2000;
if(!marqueespeedMainC_clbl5u14)var marqueespeedMainC_clbl5u14=2;
var pauseitMainC_clbl5u14=1;
var copyspeedMainC_clbl5u14=marqueespeedMainC_clbl5u14;
var pausespeedMainC_clbl5u14=(pauseitMainC_clbl5u14==0)? copyspeedMainC_clbl5u14: 0;
var actualheightMainC_clbl5u14='';
function scrollmarqueeMainC_clbl5u14()
{
if (parseInt(cross_marqueeMainC_clbl5u14.style.top)>(actualheightMainC_clbl5u14*(-1)+8))
cross_marqueeMainC_clbl5u14.style.top=parseInt(cross_marqueeMainC_clbl5u14.style.top)-copyspeedMainC_clbl5u14+"px";
else
cross_marqueeMainC_clbl5u14.style.top=parseInt(marqueeheightMainC_clbl5u14)+8+"px";
};
function initializemarqueeMainC_clbl5u14()
{
cross_marqueeMainC_clbl5u14=document.getElementById("harvestinfovmarqueeMainC_clbl5u14");
cross_marqueeMainC_clbl5u14.style.top=0;
marqueeheightMainC_clbl5u14=document.getElementById("harvestinfomarqueecontainerMainC_clbl5u14").offsetHeight;
actualheightMainC_clbl5u14=cross_marqueeMainC_clbl5u14.offsetHeight;
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){
cross_marqueeMainC_clbl5u14.style.height=marqueeheightMainC_clbl5u14+"px";
cross_marqueeMainC_clbl5u14.style.overflow="scroll";
return;
};
setTimeout('lefttime=setInterval("scrollmarqueeMainC_clbl5u14()",30)', delayb4scrollMainC_clbl5u14);
};
if (window.addEventListener)
window.addEventListener("load", initializemarqueeMainC_clbl5u14, false);
else if (window.attachEvent)
window.attachEvent("onload", initializemarqueeMainC_clbl5u14);
else if (document.getElementById)
window.onload=initializemarqueeMainC_clbl5u14;
function marqueMouseOverMainC_clbl5u14()
{
copyspeedMainC_clbl5u14 = pausespeedMainC_clbl5u14;
};
function marqueMouseOutMainC_clbl5u14()
{
 copyspeedMainC_clbl5u14 = marqueespeedMainC_clbl5u14;
};
document.write("<div id=\"harvestinfomarqueecontainerMainC_clbl5u14\" class=\"harvestinfowidgetborderMainC_clbl5u14\" style=\"position: relative;height: 100%;background-color:white;overflow: hidden !important;border: 1px solid black;padding: 2px 2px 2px 2px;\" onMouseover=\"marqueMouseOverMainC_clbl5u14()\" onMouseout=\"marqueMouseOutMainC_clbl5u14()\">");
document.write("<div id=\"harvestinfovmarqueeMainC_clbl5u14\" class=\"harvestinfowidgetscrollborderMainC_clbl5u14\" style=\"position: absolute; width: 98%;\">");
document.write("<a href=\"http://shop2.timesfreepress.com/default.aspx?pagename=advertiserbrowse&advertiserid=2391775\" target=\"2391775\" onmouseover=\"harvestinfoImageShowMainC_clbl5u14('2391775','http://demo-40.newspaperads.com/services/image.aspx?option=atd_thumbnail&image=http://buylocal.newspaperads.com/hs40_ads/chattanoogads/dd4/ad/d782ec51-10df-4325-9d6e-49b56665f23e/ad2289536z.jpg&width=300&height=300&noimageurl=',event)\" onmouseout=\"harvestinfoImageHideMainC_clbl5u14('2391775')\">");
document.write("<img class=\"harvestinfowidgetimageMainC_clbl5u14\" border=\"0\" src=\"http://demo-40.newspaperads.com/services/image.aspx?option=atd_imagewidth&image=http://buylocal.newspaperads.com/hs40_ads/chattanoogads/dd4/ad/d782ec51-10df-4325-9d6e-49b56665f23e/ad2289536z.jpg&width=" + parseInt(wimagestyleMainC_clbl5u14!=null&&wimagestyleMainC_clbl5u14.width!=''?wimagestyleMainC_clbl5u14.width:300)+ "&height=" + parseInt(wimagestyleMainC_clbl5u14!=null&&wimagestyleMainC_clbl5u14.height!=''?wimagestyleMainC_clbl5u14.height:300)+ "&noimageurl=\" alt=\"AT & T / MEC-SFS GROUP\"/>");document.write("</a><br/>");
document.write("<a class=\"harvestinfowidgetlinkMainC_clbl5u14\" href=\"http://shop2.timesfreepress.com/default.aspx?pagename=advertiserbrowse&advertiserid=2391775\" target=\"_blank\" onmouseover=\"harvestinfoImageShowMainC_clbl5u14('2391775','http://demo-40.newspaperads.com/services/image.aspx?option=atd_thumbnail&image=http://buylocal.newspaperads.com/hs40_ads/chattanoogads/dd4/ad/d782ec51-10df-4325-9d6e-49b56665f23e/ad2289536z.jpg&width=300&height=300&noimageurl=',event)\" onmouseout=\"harvestinfoImageHideMainC_clbl5u14('2391775')\">AT & T / MEC-SFS GROUP</a>");document.write("<br/><br/>");
document.write("<a href=\"http://shop2.timesfreepress.com/default.aspx?pagename=advertiserbrowse&advertiserid=2427861\" target=\"2427861\" onmouseover=\"harvestinfoImageShowMainC_clbl5u14('2427861','http://demo-40.newspaperads.com/services/image.aspx?option=atd_thumbnail&image=http://buylocal.newspaperads.com/hs40_ads/chattanoogads/dd4/ad/9ea97a3f-09e5-4dd7-9695-4d876439ac0b/ad2289534z.jpg&width=300&height=300&noimageurl=',event)\" onmouseout=\"harvestinfoImageHideMainC_clbl5u14('2427861')\">");
document.write("<img class=\"harvestinfowidgetimageMainC_clbl5u14\" border=\"0\" src=\"http://demo-40.newspaperads.com/services/image.aspx?option=atd_imagewidth&image=http://buylocal.newspaperads.com/hs40_ads/chattanoogads/dd4/ad/9ea97a3f-09e5-4dd7-9695-4d876439ac0b/ad2289534z.jpg&width=" + parseInt(wimagestyleMainC_clbl5u14!=null&&wimagestyleMainC_clbl5u14.width!=''?wimagestyleMainC_clbl5u14.width:300)+ "&height=" + parseInt(wimagestyleMainC_clbl5u14!=null&&wimagestyleMainC_clbl5u14.height!=''?wimagestyleMainC_clbl5u14.height:300)+ "&noimageurl=\" alt=\"VERIZON\"/>");document.write("</a><br/>");
document.write("<a class=\"harvestinfowidgetlinkMainC_clbl5u14\" href=\"http://shop2.timesfreepress.com/default.aspx?pagename=advertiserbrowse&advertiserid=2427861\" target=\"_blank\" onmouseover=\"harvestinfoImageShowMainC_clbl5u14('2427861','http://demo-40.newspaperads.com/services/image.aspx?option=atd_thumbnail&image=http://buylocal.newspaperads.com/hs40_ads/chattanoogads/dd4/ad/9ea97a3f-09e5-4dd7-9695-4d876439ac0b/ad2289534z.jpg&width=300&height=300&noimageurl=',event)\" onmouseout=\"harvestinfoImageHideMainC_clbl5u14('2427861')\">VERIZON</a>");document.write("<br/><br/>");
document.write("</div>");
document.write("</div>");
