/*
File name: table.js
Created by: Avi Puchalapalli
Date created: 04/06/2003
Date modified: 03/17/2004
Modified by: Indira Ivaturi
*/

/*
The following is one big write() line.  
It creates the first table, creates a row, creates a table inside that, and then creates another row.
*/

document.write('<TABLE WIDTH=436 CELLSPACING=0 CELLPADDING=0 BORDER=0 height="202"><TR><TD WIDTH=222 VALIGN=top height="202"><table border=0 cellspacing=7 cellpadding=2 width="378"><tr><td valign=top align=center width="476"><table cellspacing=0 border=0 bgcolor=black width="319"><tr><td width="471"><table cellpadding=0 cellspacing=0 border=0 bgcolor=white width="120" height="225"><tr><td align=center valign=top width="405" height="225"><table cellpadding=5 cellspacing=0 border=0 width="410"><tr><td bgcolor=#FFFFCC align=center width="398"><table cellpadding=0 cellspacing=0 border=0 width="246"><tr><td width="6" align="center"></td><td width="236" align="center"><font face="arial"><b>&nbsp;Articles of Interest</b></font></td></tr></table></td></tr><tr><td align="left" width="398" valign="top">')

/*
Hoping to reduce space in the file, I have saved the commonly used strings to variables and replaced the strings in the document.write() functions with variables. I have also updated the Table Generator script to version 1.1 by implementing these changes in the script as well.
*/

//This string starts out each article

start='<b><font face="Arial" color="#0000FF" size="4">.</font></b><font color="#0000FF">'

//The <a href=""> line is dynamic for each article, so it is not scripted.
//The next line sets the font for the article description text, so it is scripted

string2='<font face="Arial" size="2" color="#0000FF">'

//The article description is, of course, dynamic so it isnt scripted
//The next line finishes out each article

end='</font></a></font>'

/*
IMPORTANT! ADD THE NEW LINE OF CODE GENERATED BY THE TABLE-GENERATOR BELOW!
The document.write() functions are seperated so that they can be more easily read.
*/

/* 
Articles of Interest section below
*/

//      New Heart Guidelines for Women
document.write(start)
document.write('<a href="http://webdietitian.com/document/PDTopic/topic/pdbonemass">')
document.write(string2+' Fruits and Vegetables promote stonger bones in children<br>')
document.write(end)

//      New Heart Guidelines for Women
document.write(start)
document.write('<a href="http://webdietitian.com/document/WOTopic/topic/AHAguidelinesforwomen">')
document.write(string2+' New heart guidelines for preventing heart disease and stroke in<br>')
document.write('&nbsp;&nbsp;women announced recently by the American Heart Association<br>')
document.write(end)

//      Exercise and Diet, rather than intensity Or duration Of Exercise, Provided Significant Weight Loss

document.write(start)
document.write('<a href="http://www.webdietitian.com/articles/wo/exercisediet.htm">')
document.write(string2+' Exercise and Diet, rather than intensity or duration of exercise,<br>')
document.write('&nbsp;&nbsp;provided significant weight loss<br>')
document.write(end)


//      Peripheral arterial disease (pad) and folate intake

document.write(start)
document.write('<a href="http://www.webdietitian.com/articles/mn/folatepad.htm">')
document.write(string2+' Peripheral Arterial Disease (PAD) and Folate Intake<br>')
document.write(end)

//      Current dietary guidelines for children may prevent Dental Carries

document.write(start)
document.write('<a href="http://www.webdietitian.com/articles/pd/dentalcarries.html">')
document.write(string2+' Current dietary guidelines for children may prevent Dental Carries<br>')
document.write(end)

//      Overweight or obese in middle age reduces life expectancy

document.write(start)
document.write('<a href="http://www.webdietitian.com/articles/overweightobesity.htm">')
document.write(string2+' Overweight or obese in middle age reduces life expectancy<br>')
document.write(end)


//      C-Reactive protein
document.write(start)
document.write('<a href="http://www.webdietitian.com/articles/crp.html">')
document.write(string2+' C-reactive protein (CRP) may be a better indicator to <br>')
document.write('&nbsp;&nbsp;determine risks for heart diseases than cholesterol<br>')                
document.write(end)


//      Sodium reduction
document.write(start)
document.write('<a href="http://www.webdietitian.com/articles/reducesodium.html">')
document.write(string2+' Experts recommend US Food Industry to reduce salt (Sodium)<br>')
document.write('&nbsp;&nbsp;in foods<br>')        
document.write(end)


//      CDC Hand Hygiene
document.write(start)
document.write('<a href="http://webdietitian.com/document/glibrary/library/cdchygiene">')
document.write(string2+' CDC releases new Hand-Hygiene Guidelines<br>')        
document.write(end)


//      Kidney Failure
document.write(start)
document.write('<a href="http://webdietitian.com/document/DMTopic/topic/kidneyfailure">')
document.write(string2+' Lowering ')
document.write('Blood Pressure in Diabetes might be the key to&nbsp;<br>')
document.write('&nbsp; reducing...<br>')
document.write(end)


//      Cortical Contracts
document.write(start)
document.write('<a href="http://webdietitian.com/document/WOTopic/topic/corticalcataract">')
document.write(string2+' Risks ')
document.write('for Cortical Contracts and Posterior Subcapsular Cataracts&nbsp;<br>')
document.write('&nbsp; (PSC)&nbsp; in&nbsp;women 60 years ...<br>')
document.write(end)

/*
//      Post Menopausal
document.write(start)
document.write('<a href="http://webdietitian.com/document/WOTopic/topic/postmenopausal">')
document.write(string2+' Weight ')
document.write('Loss reduces risk for Heart Disease as well as Diabetes&nbsp;<br>')
document.write(end)



//      Hypertension & Low Birth Weight
document.write(start)
document.write('<a href="/document/PDTopic/topic/lowbirth">')
document.write(string2+' Hypertension ')
document.write('is affected by Low Birth Weight<br>')
document.write(end)



//      ADA Guidelines
document.write(start)
document.write('<a href="/document/DMTopic/topic/adaguidelines">')
document.write(string2+' New Guidelines for Diabetes from American ')
document.write('Diabetes Association<br>')
document.write(end)


//      Women with PKU
document.write(start)
document.write('<a href="/document/WOTopic/topic/womenpku">')
document.write(string2+' Women with PKU can have healthy babies')
document.write(end)

*/


/*
The listing and linking of articles has been completed.
Now, all that is left is to end the td, tr, and table for both primary and secondary tables. 
The following line achieves that
*/



document.write('</td></tr></table></td></tr></table></td></tr></table></td></tr></table></TD></TR></TABLE>')