function getRandomInt(min, max)
{
 var randomNum;
 randomNum = Math.random();
 randomNum = ((max + 1 - min) * randomNum) + min;
 return Math.floor(randomNum);
}

refnum = getRandomInt(1,ImageQty);

function RandImage(preURL, postURL)
{
 document.write('<a href="http://www.SoftwareForces.com/Product/ri/pro/3/rptinspector.htm"><img border="0" src="' + preURL + refnum + postURL + '"> </a>');
}

function popUpChatWin()
{
 var w = 700;
 var h = 400;
 var winl = (screen.width-w)/2;
 var wint = (screen.height-h)/2;
 if (winl < 0) winl = 0;
 if (wint < 0) wint = 0;
 var URL = "http://messenger.providesupport.com/messenger/sfsupport.html";
 windowprops = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,height="+h+",width="+w+",top="+ wint +",left="+ winl +",location=no,"
 window.open(URL, 'sfChat', windowprops);
}
