var delay=6000;
var ie4=document.all;
var curindex=0;
var totalcontent=0;
function write(){

document.write("<div id='content0'>");
document.write('<a href="http://www.newstarget.com/019608.html">Secret financial ties revealed between drug companies and FDA decision panel members</a></div>');

document.write("<div id='content1'>");
document.write('<a href="http://www.newstarget.com/019512.html">Medical terrorism tactics used against Seattle mother</a></div>');

document.write("<div id='content2'>");
document.write('<a href="http://www.newstarget.com/019477.html">Mammograms found to actually promote breast cancer</a></div>');

document.write("<div id='content3'>");
document.write('<a href="http://www.newstarget.com/019474.html">Pharmaceutical companies a threat to public health - report</a></div>');

document.write("<div id='content4'>");
document.write('<a href="http://www.newstarget.com/019434.html">Lies from chemical, drug companies exposed in new groundbreaking book</a></div>');

document.write("<div id='content5'>");
document.write('<a href="http://www.newstarget.com/019424.html">New online reference databases reveal healing foods, herbs and nutrients</a></div>');


}
function get_total(){
  if (ie4){
    while (eval("document.all.content"+totalcontent))
      totalcontent++;
  }
  else{
    while (document.getElementById("content"+totalcontent))
      totalcontent++;
  }
}
function contract_all(){
  for (y=0;y<totalcontent;y++){
    if (ie4)
      eval("document.all.content"+y).style.display="none";
    else
      document.getElementById("content"+y).style.display="none";
  }
}
function expand_one(which){
  contract_all();
  if (ie4)
    eval("document.all.content"+which).style.display="";
  else
    document.getElementById("content"+which).style.display="";
}
function rotate_content(){
  get_total();
  //contract_all();
  expand_one(curindex);
  curindex=((curindex<(totalcontent-1))? curindex+1:0);
  setTimeout("rotate_content()",delay);
}