/*	subscribe.js
	Function to display a rotating subscription ad message at top of story
	JA 11-1-04 */
	
/* Modified 12-22-04 to show only donations link promo   TM */

/* Modified 01-03-05 to subscription promos   TM */
/* Modified 08-29-05 changed codes to reflect top links. Added Paul Bermel idea of 6 weeks instead of 32 issues  KK */
var text = new Array(5), url = new Array(5), n = Math.floor (Math.random()*5);


text[0] = 'Special Offer: Subscribe to the Monitor and get 32 issues FREE!';
url[0] = 'https://www.csmonitorservices.com/csmonitor/subscription/print_sub.jhtml?I04TT05';
text[1] = 'Special Offer: Subscribe to the Monitor and get 6 weeks FREE!';
url[1] = 'https://www.csmonitorservices.com/csmonitor/subscription/print_sub.jhtml?I04TT11';
text[2] = 'Special Offer: Subscribe to the Monitor for just 43 cents an issue.';
url[2] = 'https://www.csmonitorservices.com/csmonitor/subscription/print_sub.jhtml?I04TT08';
text[3] = 'Special Offer: Get 3 months of the Monitor for just $27!';
url[3] = 'https://www.csmonitorservices.com/csmonitor/subscription/print_sub.jhtml?I04TT09';
text[4] = 'Support the Monitor\'s independent journalism: Make a tax-deductible donation today.';
url[4] = 'http://www.csmonitorservices.com/csmdonations?D-BottomText';
document.write ('<a href="' + url[n] + '" style="font-weight:bold; color:#0000CC;">' + text[n] + '</a>');

