var leaderurl=location.href;
var leadercode="162768";
var writeleader;
var writeclassad;
var classcode="190773";
var writestoryboxad="163125";

var absurl="";
if (leaderurl.indexOf("class.dcmilitary") !=-1) {absurl="http://www.dcmilitary.com";}

var logourl=location.href;
var rurl=document.referrer;
var logoname="";
var altname="";
var thislink="";
var thislogo="";
var thislogotop="";
var baselogo="";
var map="";
var homepage="no";
var photostyle="";
var photostyleclose="";
var photoh2="<h2>";
var photoh2close="</h2>";
var headlinebox="<div class='othernews-headlines' style='width:321px; padding-left:0; padding-top:0px; padding-bottom:10px;'><ul>";
var headlinebox2="<div class='othernews-box'><div class='border4' style='margin-left:-3px; margin-right:-9px; padding-bottom:10px;'></div><h1>";
var headlinebox3="<div class='othernews-headlines' style='width:321px;padding-left:0;'><h1>";
var tablefirstcell="<div class='othernews' style='margin-top: 0; padding-top: 0;'><hr><table width='100%' border='0' cellpadding='0' cellspacing='0'><tr><td width='48%' align='left' valign='top'><div style='width:321px; padding-right:3px;'><div class='othernews-box'><h1>";
var divclose="</div>";
var tablefirstcellclose="</td><td align='left' valign='top' class='border5'>&nbsp;</td><td width='48%' align='left' valign='top'><div style='width:321px; padding-left:10px; padding-right:0;'><div class='othernews-box'><h1>";
var openli="<ul><li>";
var box4="<div class='othernews-box' style='margin-top:8px;'><div class='border4' style='margin-left:-11px; margin-right:-3px; padding-bottom:10px; padding-top: 0px;'></div><h1>";
var box5="<div class='othernews-headlines' style='width:321px; padding-left:0; padding-top:3px;'>";
var tableclose="</td></tr></table>";
var firsth1close="</h1>";
var mainheader="<h3 style='padding-bottom: 0; padding-top: 10px; padding-left: 10px; padding-right: 0; margin-bottom: 0;'>";
var mainheaderclose="</h3>";
var divclosemain="";
var greybox="";
var storyboxcode="163107";
var writetiles="";
var tile1="163109";
var tile2="163110";
var tile3="163112";
var tile4="163113";
var tile5="163114";
var tile6="163115";
var tile7="163116";
var writehomesad="";
var topbanner="<div class='top-ad-spot' style='padding-bottom:3px;' align='center'><iframe width='468' height='60' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/163119/0/vh?z=gazette&dim=93958'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/163119/0/vj?z=gazette&dim=93958&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/163119/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/163119/0/vc?z=gazette&dim=93958&abr=$imginiframe' width='468' height='60' border='0'></a></noscript></iframe></div>";
var topwx="";
var searchcell="<td width='180' valign='bottom' class='search'>";
var endtd="</td>";
var firsttd="<td valign='bottom' colspan='2'>";
var entdiv="";
var entdivclose="";
var iestyles="";
var extratr="";
var homepgstyles="";
var writemission="";


if (
logourl.indexOf("bolling") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("aviator") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Bolling") != -1																																																			   )
)
{
altname="Bolling Air Force Base";
thislink="/bolling.shtml";
baselogo="bolling.jpg";
logoname="aviator.gif";
map="<div style='padding-left:3px;'><img name='bolling' src='http://www.dcmilitary.com/images/icons/bolling.jpg' width='526' height='51' border='0' id='bolling' usemap='#m_bolling' alt='' /><map name='m_bolling' id='m_bolling'><area shape='rect' coords='254,0,526,51' href='/' alt='DC Military.com' /><area shape='rect' coords='0,0,197,51' href='/bolling.shtml' alt='Bolling AFB on' /></map></div>";
//leadercode="283064";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("aviator") != -1 )
//leadercode="283057"; 
//storyboxcode="283056";
}



if (
logourl.indexOf("andrews") != -1 || logourl.indexOf("capflyer") != -1 || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Andrews") != -1)
)
{
altname="Andrews Air Force Base";
thislink="/";
baselogo="andrews.jpg";
logoname="andrews.gif";
map="<div style='padding-left:3px;'><img name='andrews' src='/images/icons/andrews.gif' width='781' height='51' border='0' id='andrews' usemap='#m_andrews' alt='' /><map name='m_andrews' id='m_andrews'><area shape='rect' coords='513,0,781,51' href='http://www.dcmilitary.com' title='DC Military.com' alt='DC Military.com' /><area shape='rect' coords='0,0,441,34' href='/' title='Andrews AFB on' alt='Andrews AFB on' /></map></div>";
//leadercode="162768";
//storyboxcode="";
}



if (
logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Belvoir") != -1
)
{
altname="Fort Belvoir";
thislink="#";
baselogo="belvoir.jpg";
logoname="belvoir.gif";
map="<div style='padding-left:3px;'><img name='belvoir' src='http://www.dcmilitary.com/images/icons/belvoir.jpg' width='524' height='51' border='0' id='belvoir' usemap='#m_belvoir' alt='' /><map name='m_belvoir' id='m_belvoir'><area shape='rect' coords='256,0,524,51' href='/' title='DC Military.com' alt='DC Military.com' /><area shape='rect' coords='-4,0,199,36' href='#' title='Fort Belvoir on' alt='Fort Belvoir on' /></map></div>";
//leadercode="";
//storyboxcode="";
}



if (
logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Meade") != -1
)
{
altname="Fort Meade";
thislink="#";
baselogo="meade.jpg";
logoname="meade.gif";
map="<div style='padding-left:3px;'><img name='meade' src='http://www.dcmilitary.com/images/icons/meade.jpg' width='514' height='51' border='0' id='meade' usemap='#m_meade' alt='' /><map name='m_meade' id='m_meade'><area shape='rect' coords='246,0,514,51' href='/' title='DC Military.com' alt='DC Military.com' /><area shape='rect' coords='-1,0,186,34' href='#' title='Fort Meade on' alt='Fort Meade on' /></map></div>";
//leadercode="";
//storyboxcode="";
}




if (
logourl.indexOf("myer") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("pentagram") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Myer") != -1)
)
{
altname="Fort Myer";
thislink="/myer.shtml";
baselogo="myer.jpg";
logoname="pentagram.gif";
map="<div style='padding-left:3px;'><img name='myer' src='http://www.dcmilitary.com/images/icons/myer.jpg' width='490' height='51' border='0' id='myer' usemap='#m_myer' alt='' /><map name='m_myer' id='m_myer'><area shape='rect' coords='221,0,490,51' href='/' alt='DC Military.com'/><area shape='rect' coords='0,0,162,51' href='/myer.shtml' alt='Fort Myer on'/></map></div>";
//leadercode="283064";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("pentagram") != -1 )
//leadercode="283057";
//storyboxcode="283056";
}

if (
logourl.indexOf("detrick") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("standard") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Detrick") != -1)
)
{
altname="Fort Detrick";
thislink="/detrick.shtml";
baselogo="detrick.jpg";
logoname="standard.gif";
map="<div style='padding-left:3px;'><img name='detrick' src='http://www.dcmilitary.com/images/icons/detrick.jpg' width='522' height='51' border='0' id='detrick' usemap='#m_detrick' alt='' /><map name='m_detrick' id='m_detrick'><area shape='rect' coords='254,0,522,51' href='/' title='DC Military.com' alt='DC Military.com' /><area shape='rect' coords='-10,2,208,39' href='/detrick.shtml' title='Fort Detrick on' alt='Fort Detrick on' /></map></div>";
//leadercode="283048";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("standard") != -1)
//leadercode="283049";
//storyboxcode="283041";
}

if (
logourl.indexOf("walterreed") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("stripe") != -1 && rurl.indexOf("walterreed") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("stripe") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Walter Reed") != -1)
)
{
altname="Walter Reed Army Medical Center";
thislink="/walterreed.shtml";
baselogo="walterreed.jpg";
logoname="stripe.gif";
map="<div style='padding-left:3px;'><img name='walterreed' src='http://www.dcmilitary.com/images/icons/walterreed.jpg' width='535' height='51' border='0' id='walterreed' usemap='#m_walterreed' alt=''/><map name='m_walterreed' id='m_walterreed'><area shape='rect' coords='265,0,535,51' href='/' alt='DC Military.com'/><area shape='rect' coords='0,0,205,51' href='/walterreed.shtml' alt='Walter Reed Medical Center on'/></map></div>";
//leadercode="283048";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("stripe") != -1 )
//leadercode="283049";
//storyboxcode="283041";
}

if (
logourl.indexOf("henderson") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("hendersonhall") != -1 && rurl.indexOf("henderson") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("hendersonhall") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Henderson") != -1)
)
{
altname="Henderson Hall, Arlington";
thislink="/henderson.shtml";
baselogo="henderson.jpg";
logoname="henderson_hall.jpg";
map="<div style='padding-left:3px;'><img name='henderson' src='http://www.dcmilitary.com/images/icons/henderson.jpg' width='584' height='51' border='0' id='henderson' usemap='#m_henderson' alt='' /><map name='m_henderson' id='m_henderson'><area shape='rect' coords='316,0,584,51' href='/' alt='DC Military.com' /><area shape='rect' coords='0,0,255,51' href='/henderson.shtml' alt='Henderson Hall on'/></map></div>";
//leadercode="283064";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("hendersonhall") != -1 )
//leadercode="283057"; 
//storyboxcode="283056";
}

if (
logourl.indexOf("quantico") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("quanticosentry") != -1 && rurl.indexOf("quantico") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("quanticosentry") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Quantico") != -1)
)
{
altname="Quantico Marine Corps Base, VA";
thislink="/quantico.shtml";
baselogo="quantico.jpg";
logoname="quantico_sentry.gif";
map="<div style='padding-left:3px;'><img name='quantico' src='http://www.dcmilitary.com/images/icons/quantico.jpg' width='483' height='51' border='0' id='quantico' usemap='#m_quantico' alt=''/><map name='m_quantico' id='m_quantico'><area shape='rect' coords='0,0,160,51' href='/quantico.shtml' alt='Quantico marine Corps on'/><area shape='rect' coords='215,0,483,51' href='/' title='DC Military.com' alt='DC Military.com' /></map></div>"
//leadercode="283073";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("quanticosentry") != -1 )
//leadercode="283071"; 
//storyboxcode="283069";
}

if (
logourl.indexOf("navalwashington") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("waterline") != -1 && rurl.indexOf("navalwashington") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("waterline") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Naval District Washington") != -1)
)
{
altname="Naval District, Washington";
thislink="/navalwashington.shtml";
baselogo="navalwashington.jpg";
logoname="waterline.gif";
map="<div style='padding-left:3px;'><img name='navalwashington' src='http://www.dcmilitary.com/images/icons/navalwashington.jpg' width='550' height='51' border='0' id='navalwashington' usemap='#m_navalwashington' alt=''/><map name='m_navalwashington' id='m_navalwashington'><area shape='rect' coords='280,0,550,51' href='/' alt='DC Military.com' /><area shape='rect' coords='0,0,224,51' href='/navalwashington.shtml' alt='Naval District washington on' /></div>";
//leadercode="283064";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("waterline") != -1 )
//leadercode="283057"; 
//storyboxcode="283056";
}

if (
logourl.indexOf("patuxent") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("tester") != -1 && rurl.indexOf("patuxent") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("tester") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Patuxent") != -1)
)
{
altname="Naval Air Station, Patuxent River";
thislink="/patuxent.shtml";
baselogo="patuxent.jpg";
logoname="tester.gif";
map="<div style='padding-left:3px;'><img name='patuxent' src='http://www.dcmilitary.com/images/icons/patuxent.jpg' width='554' height='51' border='0' id='patuxent' usemap='#m_patuxent' alt=''/><map name='m_patuxent' id='m_patuxent'><area shape='rect' coords='286,0,554,51' href='/' alt='DC Military.com'/><area shape='rect' coords='-2,0,233,37' href='/patuxent.shtml' alt='Patuxent NAS on'/></map></div>";
//leadercode="283073";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("tester") != -1 )
//leadercode="283071"; 
//storyboxcode="283069";
}

if (
logourl.indexOf("navalmedical") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("journal") != -1 && rurl.indexOf("navalmedical") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("journal") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Naval Medical") != -1)
)
{
altname="National Naval Medical Center";
thislink="/navalmedical.shtml";
baselogo="navalmedical.jpg";
logoname="journal.gif";
map="<div style='padding-left:3px;'><img name='navalmedical' src='http://www.dcmilitary.com/images/icons/navalmedical.jpg' width='559' height='51' border='0' id='navalmedical' usemap='#m_navalmedical' alt=''/><map name='m_navalmedical' id='m_navalmedical'><area shape='rect' coords='289,0,559,51' href='/' alt='DC Military.com'/><area shape='rect' coords='0,0,229,51' href='/navalmedical.shtml' alt='National Naval Medical Center on' /></map></div>";
//leadercode="283048";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("journal") != -1 )
//leadercode="283049"; 
//storyboxcode="283041";
}

if (
logourl.indexOf("navalacademy") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("trident") != -1 && rurl.indexOf("navalacademy") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("trident") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Naval Academy") != -1)
)
{
altname="Naval Academy";
thislink="/navalacademy.shtml";
baselogo="navalacademy.jpg";
logoname="trident.gif";
map="<div style='padding-left:3px;'><img name='navalacademy' src='http://www.dcmilitary.com/images/icons/navalacademy.jpg' width='585' height='51' border='0' id='navalacademy' usemap='#m_navalacademy' alt='' /><map name='m_navalacademy' id='m_navalacademy'><area shape='rect' coords='315,0,585,51' href='/' alt='DC Military.com'/><area shape='rect' coords='0,0,254,51' href='/navalacademy.shtml' alt='U.S. Naval Academy'/></map></div>";
//leadercode="283064";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("trident") != -1 )
//leadercode="283057"; 
//storyboxcode="283056";
}

if (
logourl.indexOf("washingtonwest") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1 && rurl.indexOf("washingtonwest") != -1)
)
{
altname="Naval Washington West";
thislink="/washingtonwest.shtml";
baselogo="navalwashwest.jpg";
logoname="southpotomac.gif";
map="<div style='padding-left:3px;'><img name='navalwashington' src='http://www.dcmilitary.com/images/icons/navalwashington.jpg' width='550' height='51' border='0' id='navalwashington' usemap='#m_navalwashington' alt=''/><map name='m_navalwashington' id='m_navalwashington'><area shape='rect' coords='280,0,550,51' href='/' alt='DC Military.com' /><area shape='rect' coords='0,0,224,51' href='/washingtonwest.shtml' alt='Naval District washington on' /></map></div>";
//leadercode="283073";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1 )
//leadercode="283071"; 
//storyboxcode="283069";
}

if (
logourl.indexOf("dahlgren") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1 && rurl.indexOf("dahlgren") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Dahlgren") != -1)
)
{
altname="Dahlgren, VA";
thislink="/dahlgren.shtml";
baselogo="dahlgren.jpg";
logoname="southpotomac.gif";
map="<div style='padding-left:3px;'><img name='dahlgren' src='http://www.dcmilitary.com/images/icons/dahlgren.jpg' width='548' height='51' border='0' id='dahlgren' usemap='#m_dahlgren' alt='' /><map name='m_dahlgren' id='m_dahlgren'><area shape='rect' coords='280,0,548,51' href='/' title='DC Military.com' alt='DC Military.com' /><area shape='rect' coords='0,0,218,37' href='/dahlgren.shtml' title='Dahlgren, VA on' alt='Dahlgren, VA on' /></div>";
//leadercode="283073";

//if (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1 )
//leadercode="283071"; 
//storyboxcode="283069";
}

if (
logourl.indexOf("indianhead") != -1 || (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1 && rurl.indexOf("indianhead") != -1) || (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1) || (logourl.indexOf("special_sections/sw") != -1 && document.title.indexOf("Indian Head") != -1)
)
{
altname="Indian Head";
//thislink="/southpotomac";
thislink="/indianhead.shtml";
baselogo="indianhead.jpg";
logoname="southpotomac.gif";
map="<div style='padding-left:3px;'><img name='indianhead' src='http://www.dcmilitary.com/images/icons/indianhead.jpg' width='606' height='51' border='0' id='indianhead' usemap='#m_indianhead' alt=''/><map name='m_indianhead' id='m_indianhead'><area shape='rect' coords='336,0,606,51' href='/' alt='DC Military.com'/><area shape='rect' coords='0,0,274,51' href='/indianhead.shtml' alt='NSF Indian Head on'/></map></div>";
//leadercode="283073";
//if (logourl.indexOf("stories") != -1 && logourl.indexOf("southpotomac") != -1 )
//leadercode="283071";
//storyboxcode="283069";
}


if (
logourl.indexOf("mission") != -1 
)
{
thislink="/missionaccomplished/index.shtml";
leadercode="308884";
}

if (
logourl.indexOf("homes") != -1 
)
{
thislink="/homesonthemarket/index.shtml";
leadercode="308883";
}




//if (
//logourl.indexOf("livepages") != -1
//)
//{
	//leadercode = "162768";
//}


//Newspapers start here

//if (
//logourl.indexOf("quanticosentry") != -1
//)
//{
//baselogo="quantico_sentry2.jpg";
//logoname="quantico_sentry.gif";
//altname="Quantico Sentry";
//thislink="#";
//map="<div style='padding-left:3px;'><img name='quantico' src='http://www.dcmilitary.com/images/icons/quantico_sentry.jpg' width='625' height='51' border='0' id='quantico' usemap='#m_quantico' alt='' /><map name='m_quantico' id='m_quantico'><area shape='rect' coords='357,0,625,51' href='/' alt='DC Military.com' /></map></div>"
//}


//if (
//logourl.indexOf("aviator") != -1
//)
//{
//baselogo="aviator2.gif";
//altname="The Bolling Aviator";
//thislink="#";
//logoname="aviator.gif";
//map="<div style='padding-left:3px;'><img name='aviator' src='http://www.dcmilitary.com/images/icons/aviator.jpg' width='517' height='51' border='0' id='aviator' usemap='#m_aviator' alt='' /><map name='m_aviator' id='m_aviator'><area shape='rect' coords='249,0,517,51' href='/' alt='' />"
//}

//if (
//logourl.indexOf("southpotomac") != -1
//)
//{
//altname="The South Potomac Pilot";
//thislink="#";
//baselogo="southpotomac2.gif";
//logoname="southpotomac.gif";
//map="<div style='padding-left:3px;'><img name='southpotomac' src='http://www.dcmilitary.com/images/icons/southpotomac.jpg' width='568' height='51' border='0' id='southpotomac' usemap='#m_southpotomac' alt='' /><map name='m_southpotomac' id='m_southpotomac'><area shape='rect' coords='299,0,567,51' href='/' title='DC Military.com' alt='DC Military.com' />"
//}

//if (
//logourl.indexOf("waterline") != -1
//)
//{
//baselogo="waterline2.gif";
//logoname="waterline.gif";
//altname="The Waterline";
//thislink="/navalwashington.shtml";
//map="<div style='padding-left:3px;'><img name='navalwashington' src='http://www.dcmilitary.com/images/icons/waterline.jpg' width='566' height='51' border='0' id='navalwashington' usemap='#m_navalwashington' alt='' /><map name='m_navalwashington' id='m_navalwashington'><area shape='rect' coords='298,0,566,51' href='/' alt='DC Military.com' /></map></div>"
//}

//if (
//logourl.indexOf("trident") != -1
//)
//{
//altname="Trident";
//thislink="/navalacademy.shtml";
//baselogo="trident2.jpg";
//logoname="trident.gif";
//map="<div style='padding-left:3px;'><img name='trident' src='trident.jpg' width='512' height='51' border='0' id='trident' usemap='#m_trident' alt='' /><map name='m_trident' id='m_trident'><area shape='rect' coords='244,0,512,51' href='/' alt='' />"
//}

//if (
//logourl.indexOf("journal") != -1
//)
//{
//baselogo="journal2.gif";
//logoname="journal.gif";
//altname="The Journal";
//thislink="#";
//map="<div style='padding-left:3px;'><img name='navalmedical' src='http://www.dcmilitary.com/images/icons/journal.jpg' width='560' height='51' border='0' id='navalmedical' usemap='#m_navalmedical' alt='' /><map name='m_navalmedical' id='m_navalmedical'><area shape='rect' coords='292,0,560,51' href='/' alt='DC Military.com' /></map></div>"
//}

//if (
//logourl.indexOf("tester") != -1
//)
//{
//baselogo="tester2.gif";
//logoname="tester.gif";
//altname="Tester";
//thislink="#";
//map="<div style='padding-left:3px;'><img name='tester' src='http://www.dcmilitary.com/images/icons/tester.jpg' width='424' height='51' border='0' id='tester' usemap='#m_tester' alt='' /><map name='m_tester' id='m_tester'><area shape='rect' coords='0,0,99,27' href='#' title='DC Military.com' alt='DC Military.com' /><area shape='rect' coords='155,0,423,51' href='/' title='DC Military.com' alt='DC Military.com' /></map></div>"
//}

if (
logourl.indexOf("capflyer") != -1
)
{
baselogo="capflyerheader.gif";
logoname="capflyerheader.gif";
altname="Capital Flyer";
thislink="http://www.capflyer.com";
//leadercode="162768";
}

//if (
//logourl.indexOf("pentagram") != -1
//)
//{
//baselogo="pentagram2.gif";
//altname="Pentagram";
//thislink="#";
//logoname="pentagram.gif";
//map="<div style='padding-left:3px;'><img name='myer' src='http://www.dcmilitary.com/images/icons/pentagram.jpg' width='604' height='52' border='0' id='myer' usemap='#m_myer' alt=''/><map name='m_myer' id='m_myer'><area shape='rect' coords='329,0,604,52' href='/' alt='DC Military.com' /></map></div>"
//}

//if (
//logourl.indexOf("standard") != -1
//)
//{
//baselogo="standard2.gif";
//altname="Fort Detrick Standard";
//thislink="#";
//logoname="standard.gif";
//map="<div style='padding-left:3px;'><img name='detrick' src='http://www.dcmilitary.com/images/icons/standard.jpg' width='591' height='51' border='0' id='detrick' usemap='#m_detrick' alt='' /><map name='m_detrick' id='m_detrick'><area shape='rect' coords='316,0,591,51' href='/' alt='DC Military.com'/></map></div>"
//}

//if (
//logourl.indexOf("stripe") != -1
//)
//{
//baselogo="stripe2.gif";
//altname="Stripe";
//thislink="#";
//logoname="stripe.gif";
//map="<div style='padding-left:3px;'><img name='walterreed' src='http://www.dcmilitary.com/images/icons/stripe.jpg' width='539' height='52' border='0' id='walterreed' usemap='#m_walterreed' alt='' /><map name='m_walterreed' id='m_walterreed'><area shape='rect' coords='264,0,539,52' href='/' alt='DC Military.com' /></map></div>"
//}

//if (
//logourl.indexOf("hendersonhall") != -1
//)
//{
//baselogo="henderson2.gif";
//logoname="henderson_hall.jpg";
//altname="Henderson Hall News";
//thislink="/henderson.shtml";
//map="<div style='padding-left:3px;'><img name='henderson' src='http://www.dcmilitary.com/images/icons/hendersonhall.jpg' width='560' height='53' border='0' id='henderson' usemap='#m_henderson' alt='' /><map name='m_henderson' id='m_henderson'><area shape='rect' coords='285,0,560,53' href='/' alt='DC Military.com' /></map></div>"
//}


thislogo="<a href='" + thislink + "'><img src='"+absurl+"/images/icons/" + logoname + "' border='0' alt='" + altname + "'></a>";
//thislogotop="<a href='" + thislink + "'><img src='"+absurl+"/images/icons/" + logoname + "' border='0' alt='" + altname + "'></a><span style='font-size:16px;'>&nbsp;&nbsp;on&nbsp;&nbsp;</span><a href='"+absurl+"/'><img src='"+absurl+"/images/logo_sm.gif' width='150' height='21' border='0' alt='Welcome to the DC Military'></a>";
//thislogotop="<div style='margin-left:3px;'><a href='" + thislink + "'><img src='"+absurl+"/images/icons/" + baselogo + "' border='0' alt='" + altname + "'></a><span style='font-size:16px;'>&nbsp;&nbsp;</span><a href='"+absurl+"/'><img src='"+absurl+"/images/logo_sm.gif' width='150' height='29' border='0' alt='Welcome to the DC Military'></a></div>";
thislogotop=map;

//if (logoname=="andrews.gif") {thislogo="";}

//if (logoname == "") {thislogo=""; thislogotop="<a href='"+absurl+"/'><img src='"+absurl+"/images/logo.gif' width='270' height='38' border='0' alt='Welcome to the DC Military'></a>";}
if (baselogo == "" || logoname == "" || absurl !="") {thislogo=""; homepage="yes"; thislogotop="<a href='"+absurl+"/'><img src='"+absurl+"/images/logo.gif' width='270' height='51' border='0' alt='Welcome to the DC Military'></a>"; topwx="<td width='496' valign='bottom><div class='weather'><iframe width='496' height='42' noresize scrolling='No' frameborder='0' marginheight='0' marginwidth=0 src='http://weather.gazette.net/mycurrentdcmil.xml'></iframe></div></td>"; searchcell="<td valign='bottom' class='search' align='right' width='180'>"; firsttd="<td valign='bottom' width='270'>";}


var yourversion = navigator.userAgent;
			var yourversion2 = navigator.appVersion;
	if (yourversion.indexOf("MSIE")!=-1 || yourversion2.indexOf("MSIE")!=-1) {
		iestyles="<style type='text/css'>#content .content-right li, #content .content-left .story-digest .story-digest-headline, .story-digest .story-digest-headline {color: #000066; font: bold 11px arial,helvetica,sans-serif; margin: 0 0 0 0; background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 4px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; text-align: left; margin: 3px 0; padding: 0 0 0 9px; display:block;} #content .story .left-sidebar li, #content .content-left li, #content .othernews li, #content .special-sections li {color: #000066; font: bold 11px arial,helvetica,sans-serif; margin: 0 0 0 0; background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 8px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; text-align: left; margin: 3px 0; padding: 0 0 0 9px; display:block;} #rightrail .classifieds li { background: url('"+absurl+"/images/misc/bullet2.gif') transparent no-repeat 0 4px; list-style: none; margin: 0; color:#000066; padding: 0 0 0 10px;} #rightrail li {background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 8px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; text-align: left; margin: 6px 0; padding: 0 0 0 9px;} .m_a_inside_left .story_bullets, .m_a_inside_left_home .story_bullets, .m_a_inside_right_home .story_bullets, .m_a_inside_left_mission .story_bullets, .m_a_inside_right_mission .story_bullets, .m_a_inside_right .story_bullets {background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 8px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; margin-top:6px; padding: 0 0 0 9px; display:block;} .othernews li, #content .othernews-box li, .othernews-box li, #content .othernews li {background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 8px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; text-align: left; margin: 0 0 0 0; padding: 0 0 0 9px; display:block;} .othernews .redline img, .othernews .redline2 img{margin-left:332px;} #rightrail li {background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 5px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; text-align: left; margin: 6px 0; padding: 0 0 0 9px; display:block;} .nav-row-bg img {float: left; vertical-align: middle; margin: 5px 0 0 0; padding: 5px 1px 0 0;}</style>";
	}
	
	
if (homepage == "yes") {photostyle="<div class='sports-othernews-photo-noshow'>"; photostyleclose="</div>"; photoh2="<ul><li>"; photoh2close="</li>"; headlinebox=""; headlinebox2="<div class='pg-header'><p>"; headlinebox3=""; tablefirstcell="<div class='pg-header'><p>"; divclose=""; tablefirstcellclose="<div class='pg-header'><p style='padding-top: 0; margin-top: 0;'>"; openli=""; box4="<div class='pg-header'><p>"; box5=""; tableclose=""; firsth1close="</p></div>"; mainheader="<div class='mnheader' style='padding-bottom: 0; margin-bottom: 0;'>"; mainheaderclose="</div>"; divclosemain="</div>"; greybox="<div class='greybox'>"; entdiv="<div style='padding-top:6px; padding-left:3px;'>"; entdivclose="</div>"; extratr="</tr><tr>"; homepgstyles="<style type='text/css'>#content .othernews {padding: 0 0 0 0; margin: 0 0 0 0;} #content .othernews img, .othernews img {display:none;} #content .othernews-box-left {border-right:none; width:320px; padding: 0 0 0 0; margin: 0 0 6px 0; border: 1px solid #ccc;} #content .othernews-box {width:320px; padding: 0 0 0 0; margin: 0 0 6px 0; border: 1px solid #ccc;} .othernews .redline, .othernews .redline2 {width: 0; display:none;} .morenews {padding: 0 0 6px 0; margin: 0 0 0 0; font: bold 14px arial,helvetica,sans-serif;} #content .othernews-box h1, #content .othernews-box-left h1 {color:#000; background:#ccc; border: none; padding:2px 0 2px 2px;} #content .othernews-box ul, #content .othernews-box-left ul {padding-left:3px;} #content .othernews-box h2, #content .othernews-box-left h2 {color: #000066; font: bold 11px arial,helvetica,sans-serif; margin: 0 0 0 0; background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 4px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; text-align: left; margin: 3px 0 0 3px; padding: 0 0 0 9px; display:block;}</style>";}

if (homepage == "yes" && iestyles != "") {iestyles = iestyles + "<style type='text/css'>#content .othernews-box h2, #content .othernews-box-left h2 {color: #000066; font: bold 11px arial,helvetica,sans-serif; margin: 0 0 0 0; background: url('"+absurl+"/images/misc/bullet1.gif') transparent no-repeat 0 8px; list-style: none; color: #000066; font: bold 11px arial,helvetica,sans-serif; text-align: left; margin: 3px 0 0 3px; padding: 0 0 0 9px; display:block;}</style>";}


					 
if (
leaderurl.indexOf("classifieds-bin") != -1
)
{
	leadercode="162768";
}

if (
leaderurl.indexOf("classification=Cars") != -1 || leaderurl.indexOf("auto") != -1
)
{
	leadercode="308885";
}

/*if (
leaderurl.indexOf("classification=Homes") != -1 || leaderurl.indexOf("homes") != -1
)
{
	leadercode="308883";
}
*/

writetiles="<div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile6+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile6+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile6+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile6+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile7+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile7+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile7+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile7+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div>";

if (
leaderurl.indexOf("classification=Jobs") != -1 || leaderurl.indexOf("missionaccomplished") != -1 || leaderurl.indexOf("jobs") != -1
)
{
	leadercode="308884";
	tile1="309898";
	tile2="309899";
	tile3="309900";
	tile4="309901";
	tile5="309902";
	writemission="<div class='gray_title_right_rail' style='padding-bottom:0; margin-bottom:0;'>Continuing Education</div>"
}

if (
leaderurl.indexOf("classification=Homes") != -1 || leaderurl.indexOf("classification=Apartments") != -1 || leaderurl.indexOf("homes") != -1
)
{
	leadercode="308883";
	tile1="308862";
	tile2="308863";
	tile3="308864";
	tile4="308865";
	tile5="308866";
	writehomesad="<iframe width='300' height='250' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/163125/0/vh?z=gazette&dim=163124'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/163125/0/vj?z=gazette&dim=163124&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/163125/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/163125/0/vc?z=gazette&dim=163124&abr=$imginiframe' width='300' height='250' border='0'></a></noscript></iframe>";
}

if (
leaderurl.indexOf("classification=Homes") != -1 || leaderurl.indexOf("classification=Apartments") != -1 || leaderurl.indexOf("homes") != -1 || leaderurl.indexOf("classification=Jobs") != -1 || leaderurl.indexOf("missionaccomplished") != -1 || leaderurl.indexOf("jobs") != -1
)
{
	writetiles="<div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile1+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile2+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile3+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile4+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div><div align='center' style='padding-top:8px;'><iframe width='160' height='160' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/vh?z=gazette&dim=163126'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/vj?z=gazette&dim=163126&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/"+tile5+"/0/vc?z=gazette&dim=163126&abr=$imginiframe' width='160' height='160' border='0'></a></noscript></iframe></div>";	
}

			
writeleader=iestyles+"<iframe width='728' height='90' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/" + leadercode + "/0/vh?z=gazette&dim=108623'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/" + leadercode + "/0/vj?z=gazette&dim=108623&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/" + leadercode + "/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/" + leadercode + "/0/vc?z=gazette&dim=108623&abr=$imginiframe' width='728' height='90' border='0'></a></noscript></iframe>";

writeclassad="<iframe width='120' height='600' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/" + classcode + "/0/vh?z=gazette&dim=204261'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/" + classcode + "/0/vj?z=gazette&dim=204261&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/" + classcode + "/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/" + classcode + "/0/vc?z=gazette&dim=204261&abr=$imginiframe' width='120' height='600' border='0'></a></noscript></iframe>";

writestoryboxad="<iframe width='300' height='600' noresize scrolling=No frameborder=0 marginheight=0 marginwidth=0 src='http://rotator.adjuggler.com/servlet/ajrotator/" + storyboxcode + "/0/vh?z=gazette&dim=160921'><script language=JavaScript src='http://rotator.adjuggler.com/servlet/ajrotator/" + storyboxcode + "/0/vj?z=gazette&dim=160921&abr=$scriptiniframe'></script><noscript><a href='http://rotator.adjuggler.com/servlet/ajrotator/" + storyboxcode + "/0/cc?z=gazette'><img src='http://rotator.adjuggler.com/servlet/ajrotator/" + storyboxcode + "/0/vc?z=gazette&dim=160921&abr=$imginiframe' width='300' height='600' border='0'></a></noscript></iframe>";

//This function fixes some bullet alignment problems in the homes, autos, and jobs headlines for the home page. This was much easier than putting in a ticket to fix SW.
function fixhomepgdigests() {
if (nav_page_id == "home") {
	var fixall = new Array ("homes_digest","autos_digest","jobs_digest");
	for (dav=0; dav<fixall.length; dav++) {
if (document.getElementById(fixall[dav])) {
		var homesdig = document.getElementById(fixall[dav]); 
		if (homesdig.innerHTML.indexOf("align=") != -1 && homesdig.innerHTML.indexOf("center") != -1 && homesdig.innerHTML.indexOf("http://www.dcmilitary.com/images/misc/bullet1.gif") == -1) {
		var oldhtml=homesdig.innerHTML;
		//var divtoend = "</div>";
	var replacements = 0;
		//var mykids = homesdig.childNodes[1];
		//var wrongalign = mykids.childNodes[1];
		//var mykids = document.getElementsByTagName("div");
		//for (aev=0; aev<mykids.length; aev++) { alert(mykids[aev].class);
		//if (mykids[aev].getAttribute("class") && mykids[aev].getAttribute("class")=="story-digest") { alert("found div");
		//var wrongalign=mykids[aev+1];	
		//}
		//}
		mykids = document.getElementsByTagName("img");
	for (aev=0; aev<mykids.length; aev++) {
		if (mykids[aev].hspace=="6" && mykids[aev].vspace=="6") {
		var myimgsrc=mykids[aev];	
		}
		}
		//wrongalign.setAttribute("align","");
		//wrongalign.setAttribute("style","padding:0 0 4px 5px;");
		//var myimgsrc = wrongalign.childNodes[1];
		//myimgsrc.hspace="";
		//myimgsrc.vspace="";
		//myimgsrc.align="left";
		var imht = myimgsrc.height + 1;
		var divtoadd = "padding-top:0; padding-right:0; padding-bottom:4px; padding-left:5px;";
	var newhtml = oldhtml.replace("align","style");
		newhtml = newhtml.replace("center",divtoadd);
		var newbullet="\"story-digest-headline\" style=\"background-image: none; padding-top:0; margin-top:0\"><div style=\"background-image: url('http://www.dcmilitary.com/images/misc/bullet1.gif'); background-repeat: no-repeat; background-position: 0 4px; margin-top:" + imht + "px; margin-left:-9px; padding-left:9px;\">";
		var replit = "story-digest-headline>";
		if (newhtml.indexOf(replit)==-1){
	 replit = "\"story-digest-headline\">";}
		newhtml = newhtml.replace(replit,newbullet);
		newhtml = newhtml.replace("</a></div>","</a></div></div>");
		if (iestyles!="") {replit = "story-digest-headline>"; newbullet="\"story-digest-headline\" style=\"margin-left:-9px; padding-left:9px;\">"; newhtml = newhtml.replace(replit,newbullet);}
		homesdig.innerHTML=newhtml; 
		mykids = document.getElementsByTagName("img");
		for (aev=0; aev<mykids.length; aev++) {
		if (mykids[aev].hspace=="6" && mykids[aev].vspace=="6") {
		var myimgsrc=mykids[aev];	
		}
		}
	
		myimgsrc.hspace="";
		myimgsrc.vspace="";
		myimgsrc.align="left";
		//alert (homesdig.innerHTML);
	/*	for (countthem=0; countthem<mykids.childNodes.length; countthem++)
		{ var hasit = mykids.childNodes[countthem];
		alert(hasit);
		if (hasit.nodeName == "DIV" && hasit.getAttribute("class") == "story-digest-headline" && replacements == 0) { 
			hasit.setAttribute("style","background:none; padding-top:0; margin-top:0");
			var fixtheimage = hasit.innerHTML;
			hasit.innerHTML = divtoadd + fixtheimage + divtoend;
			alert(hasit.innerHTML);
			replacements++;
		}
		}
		*/
		}
		}
}
}
}
