function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

var lastOn = null;
function linkOn(clicked){
    if(lastOn != null){
        lastOn.style.color = '#000';
    }
    lastOn = clicked;
    clicked.style.color = 'rgb(174, 48, 56)';    
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function mmLoadMenus() {

  if (window.mm_menu_0601140611_0) return;
  
    window.mm_menu_0601140611_0_1 = new Menu("Cardiovascular&nbsp;and&nbsp;Metabolic&nbsp;&nbsp;&nbsp;",211,22,"Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#333366","left","middle",4,0,500,0,0,true,true,true,0,true,true);
    mm_menu_0601140611_0_1.addMenuItem("Sular&reg;","window.open('http://www.horizonpharm.w1.com/PI/Sular PI.pdf', '_blank');");
    mm_menu_0601140611_0_1.addMenuItem("Nitrolingual&reg;","window.open('http://media.corporate-ir.net/media_files/irol/12/120763/images1/nitro_home.html', '_blank');");
    mm_menu_0601140611_0_1.addMenuItem("Altoprev&reg;","window.open('http://www.altoprev.com/', '_blank');");
    mm_menu_0601140611_0_1.addMenuItem("Fortamet&reg;","window.open('http://www.fortamet.com/', '_blank');");
    mm_menu_0601140611_0_1.addMenuItem("Triglide&reg","window.open('http://www.triglide.com/', '_blank');");
     mm_menu_0601140611_0_1.bgImageUp="Images/mmmenu1_211x22_up.gif";
     mm_menu_0601140611_0_1.bgImageOver="Images/mmmenu1_211x22_over.gif";
     mm_menu_0601140611_0_1.hideonmouseout=true;
     mm_menu_0601140611_0_1.bgColor='#333366';
	 
    window.mm_menu_0601140611_0_2 = new Menu("Women's&nbsp;Health",211,22,"Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#333366","left","middle",4,0,500,0,0,true,true,true,0,true,true);
    mm_menu_0601140611_0_2.addMenuItem("OptiNate&reg;","window.open('http://www.prenate.com/optinate/index.html', '_blank');");
    mm_menu_0601140611_0_2.addMenuItem("Prenate&nbsp;Elite&reg;","window.open('http://www.prenate.com/prenate/index.html', '_blank');");
    mm_menu_0601140611_0_2.addMenuItem("Ponstel&reg;","window.open('http://www.ponstel.com', '_blank');");
     mm_menu_0601140611_0_2.bgImageUp="Images/mmmenu1_211x22_up.gif";
     mm_menu_0601140611_0_2.bgImageOver="Images/mmmenu1_211x22_over.gif";
     mm_menu_0601140611_0_2.hideonmouseout=true;
     mm_menu_0601140611_0_2.bgColor='#333366';
	 
  window.mm_menu_0601140611_0 = new Menu("root",211,22,"Arial, Helvetica, sans-serif",14,"#000000","#ffffff","#ffffff","#333366","left","middle",4,0,500,0,0,true,true,true,0,true,true);
  mm_menu_0601140611_0.addMenuItem(mm_menu_0601140611_0_1,"location='allproducts.html'");
  mm_menu_0601140611_0.addMenuItem(mm_menu_0601140611_0_2,"location='allproducts.html'");
  mm_menu_0601140611_0.addMenuItem("All&nbsp;Products","location='allproducts.html'");
   mm_menu_0601140611_0.bgImageUp="Images/mmmenu1_211x22_up.gif";
   mm_menu_0601140611_0.bgImageOver="Images/mmmenu1_211x22_over.gif";
   mm_menu_0601140611_0.hideonmouseout=true;
   mm_menu_0601140611_0.childMenuIcon="Images/arrows.gif";
   mm_menu_0601140611_0.bgColor='#333366';
  mm_menu_0601140611_0.writeMenus();

} // mmLoadMenus()

function parseXML()
{
try //Internet Explorer
  {
  xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
  }
catch(e)
  {
  try //Firefox, Mozilla, Opera, etc.
    {
    xmlDoc=document.implementation.createDocument("","",null);
    }
  catch(e)
    {
    alert(e.message);
    return;
    }
  }
xmlDoc.async=false;
xmlDoc.load("news2008.xml");

/*document.getElementById("link").innerHTML=xmlDoc.getElementsByTagName("link")[0].childNodes[0].nodeValue;
document.getElementById("headline").innerHTML=xmlDoc.getElementsByTagName("headline")[0].childNodes[0].nodeValue;
document.getElementById("date").innerHTML=xmlDoc.getElementsByTagName("date")[0].childNodes[0].nodeValue;*/
}

