/*	subscribe.js
	Function to display a rotating subscription ad message at top of story
	JA 11-1-04 */
	
/* Modified 11-16-04 with new copy, codes and an additional donations link promo */

/* Modified 12-21-04 with new copy, codes   TM*/

/* Modified 06-08-05 commented out the gift subscription special offer from the rotation   TCW*/

/* Modified 08-29-05 added gift subscription special offer back into the rotation and changed codes to reflect bottom links   KK*/

var text = new Array(3), url = new Array(3), n = Math.floor (Math.random()*3);


text[0] = 'Special Offer: Subscribe to the Monitor and get 32 issues FREE';
url[0] = 'http://www.csmonitorservices.com/csmonitor/subscription/print_sub.jhtml?I04TB01';
text[1] = 'Special Offer: Subscribe to the Monitor for just 43 cents an issue';
url[1] = 'http://www.csmonitorservices.com/csmonitor/subscription/print_sub.jhtml?I04B02';
text[2] = 'Special Offer: Get 3 months of the Monitor for just $27!';
url[2] = 'http://www.csmonitorservices.com/csmonitor/subscription/print_sub.jhtml?I04TB10';
text[3] = 'Special Offer: Give a gift subscription and save 25%!';
url[3] = 'https://www.csmonitorservices.com/csmonitor/subscription/gift_sub.jhtml?I04TGB1'; 
document.write ('<a href="' + url[n] + '" style="font-weight:bold">' + text[n] + '</a>');

