// JavaScript Document



var theAds = new Array() 

//FORMAT: Image Url | Product Name | Price | Product ID | Promotion //

theAds[1] = "/Images/blockbuster001.jpg|Total Access|$9.99/mo.|2450,14|Unlimited Rentals ";
theAds[2] = "/assets/images/logos/gamefly001.jpg|Online Game Rentals|$8.95/mo.|2132,11|Free Trial ";
theAds[3] = "/Images/eHarmony.jpg|6-Month Membership|$28.95/mo.|2887,25|Save 52% Off Regular Price ";
theAds[4] = "/assets/images/logos/sirius_LOGO.jpg|SIRIUS Internet Radio|$12.99/mo.|2139,5|Save $50 on Select Receivers ";
theAds[5] = "/assets/images/logos/netflix_logo_.jpg|Over 100,000 Titles |$4.99/mo.|2505,14|Two Week Free Trial ";
theAds[6] = "/assets/images/logos/Live365_LOGOp.jpg|Internet Radio|$9.95/mo.|2547,5|Free 7 Day Trial ";
theAds[7] = "/assets/images/logos/lifelock_logo.jpg|Identity Theft Protection|$8.25/mo.|2896,20|Save 10% ";
theAds[8] = "/assets/images/logos/wsj_logo.jpg|26 Weeks + Get 1 FREE|$59.00|2785,23|27 Weeks for Only $59!";
theAds[9] = "/assets/images/logos/gamefly001.jpg|Online Game Rentals|$8.95/mo.|2132,11|Free Trial ";
theAds[10] = "/assets/images/logos/usa_today.jpg|52 week subscription|$164.00|2783,23|Get it now! Only 63&#162; per issue";
theAds[11] = "/Images/self.jpg|12 Issues Monthly|$12.00|3453,23|71% off Newstand Prices ";
theAds[12] = "/assets/images/logos/Webroot_LOGOp.jpg|Spy Sweeper|$19.95|2717,20|$10.00 Instant Savings ";
theAds[13] = "/assets/images/logos/Apple_LOGOp.jpg|iPod Shuffle - 2GB - Silver|$69.00|2520,5|Take 500 songs with you ";
theAds[14] = "/assets/images/logos/smugmug_LOGO.jpg|Online photo sharing|$39.95/yr.|2136|Free 14 Day Trial";
theAds[15] = "/assets/images/RitzPix.jpg|Online Photo Printing|No Charge|2134,12|4X6 Prints for only 16&#162; /print! ";
theAds[16] = "/Images/real_networks001.jpg|Rhapsody|$12.99/mo.|6225,5|Free 30 Day Trial ";
theAds[17] = "/Images/eHarmony.jpg|6-Month Membership|$28.95/mo.|2887,25|Save 52% Off Regular Price ";
theAds[18] = "/assets/images/logos/wsj_logo.jpg|26 Weeks + Get 1 FREE|$59.00|2785|27 Weeks for Only $59! ";
theAds[19] = "/assets/images/logos/Live365_LOGOp.jpg|Internet Radio|$9.95/mo.|2547,5|Free 7 Day Trial ";
theAds[20] = "/Images/real_networks001.jpg|Rhapsody|$12.99/mo.|1815,5|Free 30 Day Trial ";
theAds[21] = "/Images/eHarmony.jpg|6-Month Membership|$28.95/mo.|2887,25|Save 52% Off Regular Price ";
theAds[22] = "/assets/images/logos/Apple_LOGOp.jpg|iPod Shuffle - 2GB - Silver|$69.00|2520,5|Take 500 songs with you ";
theAds[23] = "/assets/images/logos/wsj_logo.jpg|26 Weeks + Get 1 FREE|$59.00|2785,23|27 Weeks for Only $59!";
theAds[24] = "/assets/images/logos/sirius_LOGO.jpg|SIRIUS Internet Radio|$12.99/mo.|2139,5|Save $50 on Select Receivers ";
theAds[25] = "/Images/real_networks001.jpg|Rhapsody|$12.99/mo.|1815,5|Free 30 Day Trial ";
theAds[26] = "/assets/images/RitzPix.jpg|Online Photo Printing|No Charge|2134,12|4X6 Prints for only 16&#162; /print! ";
theAds[27] = "/assets/images/logos/gamefly001.jpg|Online Game Rentals|$8.95/mo.|2132,11|Free Trial ";
theAds[28] = "/assets/images/logos/Apple_LOGOp.jpg|iPod Shuffle - 2GB - Silver|$69.00|2520,5|Take 500 songs with you ";
theAds[29] = "/assets/images/logos/Webroot_LOGOp.jpg|Spy Sweeper|$19.95|2717,20|$10.00 Instant Savings";
theAds[30] = "/assets/images/logos/usa_today.jpg|52 week subscription|$164.00|2783,23|Get it now! Only 63&#162; per issue";
theAds[31] = "/Images/self.jpg|12 Issues Monthly|$12.00|3453,23|71% off Newstand Prices ";

var dt= new Date();
var whichAd=dt.getDate();

var adArray=theAds[whichAd].split("|");

document.write('<tr><td valign="top"><br />');
document.write('<img src="'+adArray[0]+'" /><br />');
document.write('<strong>'+adArray[1]+'</strong></td></tr>');
document.write('<tr><td valign="top">');
document.write('<div class="seeDetails"><span class="yourPrice">Your Price:</span> <span class="priceText redText"><strong>'+adArray[2]+' </strong></span><a href="javascript:shopProduct('+adArray[3]+');" class="seeDetails_"></a></div>');
document.write('</td></tr>');
document.write('<tr><td class="dealLine" valign="top">');
document.write('<div align="right"><span class="redText cbreb">'+adArray[4]+'</span></div></td></tr>');

