var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

//Price Water House

//Boston Globe
//theImages[0] = '<img src="/pix/banner/468x60_c.gif" border="0" align="center"></a>'
//theImages[1] = '<img src="/pix/banner/468x60_c.gif" border="0" align="center"></a>'
//theImages[2] = '<img src="/pix/banner/468x60_c.gif" border="0" align="center"></a>'

//Wall Street Journal
theImages[0] = '<img src="/pix/banner/banner_wallstreetjournal.jpg" border="0" align="center"></a>'
theImages[1] = '<img src="/pix/banner/banner_wallstreetjournal.jpg" border="0" align="center"></a>'
theImages[2] = '<img src="/pix/banner/banner_wallstreetjournal.jpg" border="0" align="center"></a>'

//Golf Digest
theImages[3] = '<img src="/pix/banner/GD_BannerAd.jpg" border="0" align="center"></a>'
theImages[4] = '<img src="/pix/banner/GD_BannerAd.jpg" border="0" align="center"></a>'
theImages[5] = '<img src="/pix/banner/GD_BannerAd.jpg" border="0" align="center"></a>'

//Stop And Shop
//theImages[9] = '<img src="/pix/banner/stopandshop.jpg" border="0" align="center"></a>'
//theImages[10] = '<img src="/pix/banner/stopandshop.jpg" border="0" align="center"></a>'
//theImages[11] = '<img src="/pix/banner/stopandshop.jpg" border="0" align="center"></a>'


theImages[6] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/Golf_banner_r009.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/Golf_banner_r009.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
theImages[7] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/Golf_banner_r009.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/Golf_banner_r009.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
theImages[8] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/Golf_banner_r009.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/Golf_banner_r009.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'

//theImages[9] = '<img src="/pix/banner/SS_FF_BannerAdv2.jpg" border="0" align="center"></a>'
//theImages[10] = '<img src="/pix/banner/SS_FF_BannerAdv2.jpg" border="0" align="center"></a>'
//theImages[11] = '<img src="/pix/banner/SS_FF_BannerAdv2.jpg" border="0" align="center"></a>'

theImages[9] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/DeutscheBankGolfAd.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/DeutscheBankGolfAd.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
theImages[10] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/DeutscheBankGolfAd.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/DeutscheBankGolfAd.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
theImages[11] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/DeutscheBankGolfAd.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/DeutscheBankGolfAd.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'

theImages[12] = '<img src="/pix/banner/emc128_468x60.gif" border="0" align="center"></a>'
theImages[13] = '<img src="/pix/banner/emc128_468x60.gif" border="0" align="center"></a>'
theImages[14] = '<img src="/pix/banner/emc128_468x60.gif" border="0" align="center"></a>'

//theImages[15] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/BerryBerry_468x60.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/BerryBerry_468x60.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
//theImages[16] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/BerryBerry_468x60.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/BerryBerry_468x60.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
//theImages[17] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/BerryBerry_468x60.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/BerryBerry_468x60.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'

//theImages[15] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/IC_Generic_468x60.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/IC_Generic_468x60.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
//theImages[16] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/IC_Generic_468x60.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/IC_Generic_468x60.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'
//theImages[17] ='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" WIDTH="468" HEIGHT="63"   CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">  <PARAM NAME="MOVIE" VALUE="/pix/banner/IC_Generic_468x60.swf"> <PARAM NAME="PLAY" VALUE="true">  <PARAM NAME="QUALITY" VALUE="best">  <PARAM NAME="LOOP" VALUE="true"> <PARAM NAME=wmode VALUE=transparent>  <EMBED SRC="/pix/banner/IC_Generic_468x60.swf" WIDTH="468" HEIGHT="63" PLAY="true" LOOP="true" wmode=transparent QUALITY="best" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </EMBED></OBJECT>'

theImages[15] = '<img src="/pix/banner/stopandshop.jpg" border="0" align="center"></a>'
theImages[16] = '<img src="/pix/banner/stopandshop.jpg" border="0" align="center"></a>'
theImages[17] = '<img src="/pix/banner/stopandshop.jpg" border="0" align="center"></a>'

//image links
var theLinks = new Array()

//Price Water House

//Boston Globe
//theLinks[0]='<a href="/trackit.asp?theurl=http://www.boston.com" target="_blank">'
//theLinks[1]='<a href="/trackit.asp?theurl=http://www.boston.com" target="_blank">'
//theLinks[2]='<a href="/trackit.asp?theurl=http://www.boston.com" target="_blank">'

//Wall Street Journal
theLinks[0]='<a href="/trackit.asp?theurl=http://www.wsj.com" target="_blank">'
theLinks[1]='<a href="/trackit.asp?theurl=http://www.wsj.com" target="_blank">'
theLinks[2]='<a href="/trackit.asp?theurl=http://www.wsj.com" target="_blank">'

//Golf Digest
theLinks[3]='<a href="/trackit.asp?theurl=https://w1.buysub.com/servlet/OrdersGateway?cds_mag_code=GLF&cds_page_id=27986&cds_response_key=I8BNAA2" target="_blank">'
theLinks[4]='<a href="/trackit.asp?theurl=https://w1.buysub.com/servlet/OrdersGateway?cds_mag_code=GLF&cds_page_id=27986&cds_response_key=I8BNAA2" target="_blank">'
theLinks[5]='<a href="/trackit.asp?theurl=https://w1.buysub.com/servlet/OrdersGateway?cds_mag_code=GLF&cds_page_id=27986&cds_response_key=I8BNAA2" target="_blank">'

//Stop And Shop

//theLinks[9]='<a href="/trackit.asp?theurl=http://www.polaroid.com/" target="_blank">'
//theLinks[10]='<a href="/trackit.asp?theurl=http://www.polaroid.com/" target="_blank">'
//theLinks[11]='<a href="/trackit.asp?theurl=http://www.polaroid.com/" target="_blank">'

theLinks[6]=''
theLinks[7]=''
theLinks[8]=''

//theLinks[9]='<a href="/trackit.asp?theurl=http://www.stopandshop.com/" target="_blank">'
//theLinks[10]='<a href="/trackit.asp?theurl=http://www.stopandshop.com/" target="_blank">'
//theLinks[11]='<a href="/trackit.asp?theurl=http://www.stopandshop.com/" target="_blank">'

theLinks[9]='<a href="http://www.gulfoil.com/" target="_blank">'
theLinks[10]='<a href="http://www.gulfoil.com/" target="_blank">'
theLinks[11]='<a href="http://www.gulfoil.com/" target="_blank">'

theLinks[12]='<a href="http://www.emc.com/virtuallyperfect" target="_blank">'
theLinks[13]='<a href="http://www.emc.com/virtuallyperfect" target="_blank">'
theLinks[14]='<a href="http://www.emc.com/virtuallyperfect" target="_blank">'

theLinks[15]=''
theLinks[16]=''
theLinks[17]=''

theLinks[18]=''
theLinks[19]=''
theLinks[20]=''

theLinks[21]='<a href="/trackit.asp?theurl=http://www.stopandshop.com/" target="_blank">'
theLinks[22]='<a href="/trackit.asp?theurl=http://www.stopandshop.com/" target="_blank">'
theLinks[23]='<a href="/trackit.asp?theurl=http://www.stopandshop.com/" target="_blank">'

var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

function showImage(){
    var randomItem = Math.round(Math.random()*(p-1));
    var BannerHTML = "";
    BannerHTML += theLinks[randomItem];
    BannerHTML += theImages[randomItem];
    return BannerHTML    
}