var msgRotateSpeed = 5000; // Rotate delay in milliseconds

var textStr = new Array(
//  Add URLs and links below, but do not add or remove commas or 
//	quotes without escaping them with a leading backslash (e.g.: \' OR \,)
'http://www.thebodypro.com/kaiser/2005/oct12_05/nih_vaccine_trial.html?news','NIH Launches Phase II Trial of HIV Vaccine for Three Strains of Virus',
'http://www.thebodypro.com/kaiser/2005/oct12_05/aids_brain_tissue.html?news','Advanced HIV Disease Can Reduce Brain Tissue in Certain Regions Even ...',
'http://www.thebodypro.com/cdc/news_updates_archive/2005/oct12_05/med_reminder.html?news','New Device Offers Friendly Medication Reminder to HIV Patients',
'http://www.thebodypro.com/kaiser/2005/oct12_05/brazil_abbott_kaletra.html?news','Abbott Agrees to Cut Kaletra\'s Price for Distribution in Brazil',
'http://www.thebodypro.com/niaid/2005/latino_awareness.html?news','National Latino AIDS Awareness Day, Oct. 15, 2005',
'http://www.thebodypro.com/cdc/news_updates_archive/2005/oct11_05/ca_transplant_hiv.html?news','New Calif. Law Prohibits Denial of Transplant Surgery Based on HIV ...',
'http://www.thebodypro.com/cdc/news_updates_archive/2005/oct7_05/premarital_sex.html?news','North American Teens More Approving of Premarital Sex Than in 1940s',
'http://www.thebodypro.com/cdc/news_updates_archive/2005/oct6_05/hpv_vaccine.html?news','Merck Cervical Cancer Vaccine Highly Successful in Two-Year Trial'
);

var beforeMsg = "<table cellspacing='0' cellpadding='0' border='0' width='270'><tr><td><img src='/images/spacer.gif' width='12' height='40' border='0' alt='' onLoad='javascript:openWin();'></td><td><img src='/images/spacer.gif' width='256' height='1' border='0' alt=''><br><a href='#' class='rc_11pxb336699'><b>";
var afterMsg = "</a></td><td><img src='/images/spacer.gif' width='4' height='40' border='0' alt=''></td></tr></table></b></font>";
function beforeLink(which){
	return "<a href='" + textStr[which] + "'" + " class='rc_11pxb336699'>";
}
var afterLink = "</a>";

var i = 0;
function msgRotate() {
//alert();
	eval(temp);
	if (i == textStr.length) i = 0;
	setTimeout("msgRotate()", msgRotateSpeed);
}

function getURL() {
	if (i < 2) {
		thelink = textStr[textStr.length - 2];
	} else {
		thelink = textStr[i-2];
	}	
	window.location = thelink;
}

if (document.layers) {
	document.write('<ilayer id="NS4message" height=40 width=270><layer id="NS4message2" height=40 width=270></layer></ilayer>')
	temp = 	'document.NS4message.document.NS4message2.document.write(beforeMsg + beforeLink(i++) + textStr[i++] + afterLink + afterMsg);document.NS4message.document.NS4message2.document.close()';
} else if (document.getElementById) {
	document.write(beforeMsg + '<div id="message" style="position:relative;" onclick="getURL();">&nbsp;</div>' + afterMsg);
	temp = 'i++;document.getElementById("message").firstChild.nodeValue = textStr[i++];';
} else if (document.all) {
	document.write(beforeMsg + '<div id="message" style="position:relative;" onclick="getURL();">IE division</div>' + afterMsg);
	temp = 'i++;message.innerHTML = textStr[i++];';
}

function BeforeStart() { 
	if (pgID == "article") {
		msgRotate();
	} else {
		return;
	}
}

BeforeStart();


var tmpcookie = new Date();
   chkcookie = (tmpcookie.getTime() + '');
   document.cookie = "chkcookie=" + chkcookie + "; path=/";
 
 //-->
<!--
function openWin() {
if (document.cookie.indexOf(chkcookie,0) < 0) {
      // Do nothing
      }
    else {
 if (document.cookie.indexOf("seenfuzeon=") == -1) {
   var popWidth = 300, popHeight = 250;
     var x = (screen.availWidth - popWidth - 15);
 
  myWin=open("http://c5.zedo.com/jsc/c5/ff2.html?n=362;c=17;d=9;w=300;h=250", "displayWindow", 
    "width=300,height=250,top=0,left="+x+",status=no,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,resizable=0,copyhistory=0");

	var timeout = 1000 * 60 * 10;
	var tmp = new Date();
	tmp.setTime(tmp.getTime() + timeout);
	var expire = tmp.toGMTString();
	var cookie = "seenfuzeon=yes" + "; path=/; expires=" + expire; 
    document.cookie=cookie;
	
	var timeout = 1000 * 60 * 2;
	var tmp = new Date();
	tmp.setTime(tmp.getTime() + timeout);
	var expire = tmp.toGMTString();
	var cookie = "seenCMEPopup=yes" + "; path=/; expires=" + expire; 
    document.cookie=cookie;
 }

else if (document.cookie.indexOf("seenCMEPopup=") == -1) {
  myWin=open("/popups/cmepopup_submit.php", "displayWindow", 
    "width=340,height=350,status=no,toolbar=no,menubar=no,directories=no,location=no,scrollbars=no,resizable=0,copyhistory=0");
    
	var timeout = 1000 * 60 * 60 * 24 * 7;
	var tmp = new Date();
	tmp.setTime(tmp.getTime() + timeout);
	var expire = tmp.toGMTString();
	var cookie = "seenCMEPopup=yes" + "; path=/; expires=" + expire; 
      document.cookie=cookie;
 }
}
}

