//****************************************************
// Sliding Fourth Column with search boxes and the ad
//****************************************************
tombstones=true;


isNav4=isIE4=isIE3=isNav3=isIE5=false;
if ( ( navigator.userAgent.indexOf( "MSIE" ) >=0 ) &&  ( parseInt( navigator.appVersion ) >= 4 ) && (navigator.appVersion.indexOf("Mac") >= 0) )
{
	isNav3=true;
}else if (navigator.appVersion.indexOf("MSIE 5") >-1) {
                isIE5 = true;
                layerRef = "document.all";
                styleRef = ".style";
}else if (navigator.appVersion.charAt(0) == "4") {
        if (navigator.appName == "Netscape") {
                isNav4 = true;
                layerRef = "document.layers";
                styleRef = "";
        } else {
                isIE4 = true;
                layerRef = "document.all";
                styleRef = ".style";
        }
} else if (navigator.appVersion.charAt(0) < "4") {
        if (navigator.appName == "Netscape") {
                isNav3 = true;
        } else {
                isIE3 = true;
        }
}

isMoz401=false;
if(navigator.userAgent.indexOf("Mozilla/4.01") >=0 )
	isMoz401=true;

busy=false;
dealsTop=0;

//******************
// Dimentions for Netscape3/IE3
fc_width=156;
fc_front_top=15;
fc_market_extra_top=3;


//******************
// Some dimentions
tomb_top=15;
tomb_left_0=619;
tomb_width=156;

button_h=21;
button_w=147;
deals_button_w=138;

search_button_top=65
search_button_width=87
search_button_left=tomb_left_0-search_button_width

current='';	// Current expanded menu
state='out';	// State of the Search button ("left", "right" or "out")

articles_down_alt="Find articles published in the last 30 days";
articles_up_alt="Close article search";
quotes_down_alt="Get stock or mutual fund quotes";
quotes_up_alt="Close quote search";
company_down_alt="Find company or fund news and background info";
company_up_alt="Close company reasearch";
deals_down_alt="Search deals archive";
deals_up_alt="Close deals archive";
search_out_alt="Click on the menus at right to search for news, quotes,  or company info";
search_in_alt="Click here to search";

spacer_gif="http://interactive.wsj.com/media/fc-spacer.gif";

if(isIE5)
{
	tomb_top=15;
	search_button_top=65
}
if(isNav4)
{
	tomb_top=8;
	search_button_top=59
	search_button_left-=2;
	tomb_left_0=616;
}
if(isIE4 && (navigator.appVersion.indexOf("Mac") >-1))
{
	tomb_top=6;
	search_button_top=57;
}

allObj=new Array("tombstones","articles-panel","quotes-panel","company-panel","temp");

//***************************************************************
// Editorial promo boxes editable from the publishing system
//***************************************************************

//**********************
// market-start
market_promo=
"<table border=1 bordercolor=#660000 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr>"+
	"<td  class=promo-h bgcolor=#660000>"+
		"<b><font color=white><!-- h1 --><CENTER>Tech Extra</CENTER><!-- h1 -->"+
	"</td></tr>"+
'<tr><td class=promo bgcolor=#ffffff><!-- b1 --><a href=\"/pages/techxtra.htm\"  class=market-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a> The Tech Extra page has links to recent columns by WSJ.com\'s technology gurus.<!-- b1 --></td></tr></table></td></tr></table>'+
'<table width=142 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#ffffff><img src='+spacer_gif+' width=1 height=10></td></tr></table>'+"<table border=1 bordercolor=#660000 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr><td  class=promo-h bgcolor=#660000>"+
		"<b><font color=white><!-- h2 --><CENTER>Wine.wsj.com</CENTER><!-- h2 -->"+
	"</td></tr>"+
	"<tr><td class=promo bgcolor=#ffffff><!-- b2 --><a href=\"http://interactive.wsj.com/documents/voices.html\"  class=market-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a><b>Tastings:</b> The second annual Open That Bottle Night was a big success. Readers share their stories.<!-- b2 --></td></tr>"+
"</table></td></tr></table>"+
"<table border=0 cellspacing=0 cellpadding=0 width=142><tr><td bgcolor=#ffffff><!-- free --><a href=\'/pages/techmain.htm\' class=marketx-l class=market-l  class=market-l class=market-l class=market-l class=market-l class=market-l><img src=\'/media/fc-promo-techcenter.gif\' width=\'144\' height=\'106\' alt=\'Tech Center\' border=0 vspace=\'10\'></a><!-- free --></td></tr></table>"
// market-end
//**********************

//**********************
// market_extra-start
market_extra_promo=
"<table border=1 bordercolor=#660000 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr>"+
	"<td  class=promo-h bgcolor=#660000>"+
		"<b><font color=white><!-- h1 --><CENTER>Personal Technology</CENTER><!-- h1 -->"+
	"</td></tr>"+
'<tr><td class=promo bgcolor=#ffffff><!-- b1 --><a href=\"/articles/SB971910855361670964.htm\"  class=marketx-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a> Buying a new PC doesn\'t have to be a complicated task. Follow Walt Mossberg\'s annual fall buyer\'s guide to desktop PCs and your buying experience should be a breeze. <!-- b1 --></td></tr></table></td></tr></table>'+
'<table width=142 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#ffffff><img src='+spacer_gif+' width=1 height=10></td></tr></table>'+"<table border=1 bordercolor=#660000 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr><td  class=promo-h bgcolor=#660000>"+
		"<b><font color=white><!-- h2 --><CENTER>Wine.wsj.com</CENTER><!-- h2 -->"+
	"</td></tr>"+
	"<tr><td class=promo bgcolor=#ffffff><!-- b2 --><a href=\"http://interactive.wsj.com/documents/voices.html\"  class=marketx-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a><b>Tastings:</b> The second annual Open That Bottle Night was a big success. Readers share their stories.<!-- b2 --></td></tr>"+
"</table></td></tr></table>"+
"<table border=0 cellspacing=0 cellpadding=0 width=142><tr><td bgcolor=#ffffff><!-- free --><a href=\'/pages/techmain.htm\' class=marketx-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=market-l class=marketx-l class=marketx-l class=marketx-l class=marketx-l class=marketx-l><img src=\'/media/fc-promo-techcenter.gif\' width=\'144\' height=\'106\' alt=\'Tech Center\' border=0 vspace=\'10\'></a><!-- free --></td></tr></table>"
// market_extra-end
//**********************

//**********************
// tech-start
tech_promo=
"<table border=1 bordercolor=#006633 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr>"+
	"<td  class=promo-h bgcolor=#006633>"+
		"<b><font color=white><!-- h1 --><center>Under the Radar </center><!-- h1 -->"+
	"</td></tr>"+
'<tr><td class=promo bgcolor=#ffffff><!-- b1 --><a href=\"/articles/UnderTheRadarCenter.htm\"  class=tech-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a> See recent articles looking at emerging firms that have devised a unique technology, a novel service or an unusual way of doing business.<!-- b1 --></td></tr></table></td></tr></table>'+
'<table width=142 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#ffffff><img src='+spacer_gif+' width=1 height=10></td></tr></table>'+"<table border=1 bordercolor=#006633 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr><td  class=promo-h bgcolor=#006633>"+
		"<b><font color=white><!-- h2 --><center>Net Privacy</center><!-- h2 -->"+
	"</td></tr>"+
	"<tr><td class=promo bgcolor=#ffffff><!-- b2 --><a href=\"/pages/netpriv.htm\"  class=tech-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a> See the Net Privacy issue briefing for a look security on the Web and links to recent articles and other resources.<!-- b2 --></td></tr>"+
"</table></td></tr></table>"+
"<table border=0 cellspacing=0 cellpadding=0 width=142><tr><td bgcolor=#ffffff><!-- free --><table width=142 cellpadding=0 cellspacing=0 border=0><tr height=10><td bgcolor=#ffffff><spacer type=block height=10></td></tr></table><A HREF=http://public.wsj.com/news/businessbox/bbx.htm target=bbx onclick=\"bbx=window.open(\'http://public.wsj.com/news/businessbox/bbx.htm\', \'bbx\', \'toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=240,height=535\'); if((parseInt( navigator.appVersion ) > 2) && (navigator.userAgent.indexOf( \'MSIE 4\' ) <0))  bbx.focus();return false;\" onMouseOver=\"window.status=\'BusinessBox\';return true;\" onMouseOut=\"window.status=\'\';return true;\"><img src=http://interactive.wsj.com/media/bbx-icon.gif width=142 height=32 border=0></A><table border=0 bordercolor=#006666 cellspacing=0 cellpadding=0 width=138><tr><td><span class=promo>Click to open our new <A  HREF=http://public.wsj.com/news/businessbox/bbx.htm target=bbx onclick=\"bbx=window.open(\'http://public.wsj.com/news/businessbox/bbx.htm\', \'bbx\', \'toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=240,height=535\'); if((parseInt( navigator.appVersion ) > 2) && (navigator.userAgent.indexOf( \'MSIE 4\' ) <0))  bbx.focus();return false;\" onMouseOver=\"window.status=\'BusinessBox\';return true;\" onMouseOut=\"window.status=\'\';return true;\">BusinessBox</A> -- we do the rest. Get automatic news & index updates plus stock quotes.</span></td></tr></table><!-- free --></td></tr></table>"
// tech-end
//**********************


//**********************
// money-start
money_promo=
"<table border=1 bordercolor=#006666 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr>"+
	"<td  class=promo-h bgcolor=#006666>"+
		"<b><font color=white><!-- h1 --><CENTER>Markets Data Center</CENTER><!-- h1 -->"+
	"</td></tr>"+
'<tr><td class=promo bgcolor=#ffffff><!-- b1 -->Get <a href=\"http://interactive.wsj.com/documents/mktindex.htm\"  class=money-l>up-to-date information</a> on the financial markets. Also see calendars of after-hours trading data, economic indicators, information on IPOs and earnings.<!-- b1 --></td></tr></table></td></tr></table>'
// money-end
//**********************


//**********************
// front-start
front_promo=
"<table border=1 bordercolor=#3A4E95 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr>"+
	"<td  class=promo-h bgcolor=#3A4E95>"+
		"<b><font color=white><!-- h1 --><CENTER>Personal Technology</CENTER><!-- h1 -->"+
	"</td></tr>"+
'<tr><td class=promo bgcolor=#ffffff><!-- b1 --><a href=\"/articles/SB971910855361670964.htm\"  class=front-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a> Buying a new PC doesn\'t have to be a complicated task. Follow Walt Mossberg\'s annual fall buyer\'s guide to desktop PCs and your buying experience should be a breeze. <!-- b1 --></td></tr></table></td></tr></table>'+
'<table width=142 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=#ffffff><img src='+spacer_gif+' width=1 height=10></td></tr></table>'+"<table border=1 bordercolor=#3A4E95 cellspacing=0 cellpadding=0 width=142><tr><td>"+ 
'<table width=100% cellpadding=2 cellspacing=0 border=0>'+
	"<tr><td  class=promo-h bgcolor=#3A4E95>"+
		"<b><font color=white><!-- h2 --><CENTER>Digest of Earnings</CENTER><!-- h2 -->"+
	"</td></tr>"+
	"<tr><td class=promo bgcolor=#ffffff><!-- b2 --><a href=\"http://interactive.wsj.com/earnings\"  class=front-l><img src=\"/media/fc-promoarrow.gif\" width=11 height=11 border=0 ></a> See details of the latest corporate earnings reports. <!-- b2 --></td></tr>"+
"</table></td></tr></table>"+
"<table border=0 cellspacing=0 cellpadding=0 width=142><tr><td bgcolor=#ffffff><!-- free --><a href=\'/pages/techmain.htm\' class=marketx-l class=market-l  class=front-l class=front-l class=front-l class=front-l class=front-l><img src=\'/media/fc-promo-techcenter.gif\' width=\'144\' height=\'106\' alt=\'Tech Center\' border=0 vspace=\'10\'></a><!-- free --></td></tr></table>"
// front-end
//**********************


//**********************
// tombstones-start
ad_tombstones=
''
// tombstones-end
//**********************


//**********************
// Search panels
if(isIE4 || isIE5 || isNav4) 
{
articles_expanded=
		'<table width='+(button_w-9)+' cellpadding=0 border=0 cellspacing=0><tr><td><span class=menu>'+
		'<form name="frmSearch" action="/archive/search.cgi" method=get >'+
		'<input type=hidden name="template" value="atlas-srch-searchrecent-nf.tmpl">'+
		'<input type=hidden name="form" value="atlas-srch-searchrecent-nf.html">'+
		'<input type=hidden name="from-and" value="AND">'+
		'<input type=hidden name="to-and" value="AND">'+
		'<input type=hidden name="sort" value="Article-Doc-Date desc">'+					
		'<input type=hidden name="qand" value="">'+
		'Find articles published in the past 30 days.'+
		'<span class=break><br><br></span>'+
		'<B>Enter words<br> or phrases</B><br>'+
		'<input type=text name="bool_query" value="" size=10>'+
		'<span class=break><br><br></span>'+
		'<b>Select a source</b><br>'+
		'<select name=dbname value="&amp;name1=dbname&amp;name2=dbname&amp;name3=dbname">'+
			"<option value='wsjie&amp;named=dbname&amp;period=:27'>Today's Journal"+
			"<option value='wsjie&amp;named=dbname&amp;period=:720'>Journal Archive"+
			"<option value='barrons&amp;named=dbname&amp;period=:720'>Barron's Online"+
			"<option value='autowire&amp;named=dbname&amp;period=:720'>Newswires"+
			"<option value='&amp;name1=dbname&amp;name2=dbname&amp;name3=dbname&amp;period=:720' selected>All"+
		'</select>'+
		'<span class=break><br><br></span>'+
		'<b>Search in</b><br>'+
		'<select name=location value=article>'+
			'<option value=article selected>Full Article'+
			'<option value=MAIN-HED>Headline'+
			'<option value=MAIN-HED&#044;SUMMARY>Summary'+
			'<option value=BYLINE>Writer'+
		'</select>'+
		'<span class=break><br><br></span>'+
		'<a href=/documents/help.htm?copy=help-search-articles.htm target=_top  class=menu-l>Search Help</a>'+
		'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+
		'<input type=submit value=Go>'+
		'</form>'+
		'Go to <a href=/documents/search.htm target=_top class=menu-l>Journal Atlas</a> for more Search options'+
		'<a href="Javascript:collapse(\'articles\')"><img src=http://interactive.wsj.com/media/fc-close-little.gif width=42 height=10 align=right border=0 alt="'+articles_up_alt+'" onMouseOver="window.status=\''+articles_up_alt+'\';return true;" onMouseOut="window.status=\' \';return true;"></a>'+
		'</span></td></tr></table>'
		
	
quotes_expanded=
		'<table width='+(button_w-9)+' cellpadding=0 border=0 cellspacing=0><tr><td><span class=menu>'+
		'<form  target="_top" name=q_s action="/mds/mds.cgi" method="GET" onSubmit="q();">'+
		'<input type=hidden name=route value=BOEH>'+
		'<input type=hidden name=template value=ahq-search-results>'+
		'<input type=hidden name="ambiguous-purchase-template" value="ahq-symbol-ambiguity">'+
		'<input type=hidden name="profile-name" value="Portfolio1">'+
		'<input type=hidden name="profile-version" value="3.0">'+
		'<input type=hidden name="profile-type" value="Portfolio">'+
		'<input type=hidden name="profile-format-action" value="include">'+
		'<input type=hidden name="profile-read-action" value="skip-read">'+
		'<input type=hidden name="profile-write-action" value="skip-write">'+
		'Get stock or mutual fund quotes'+
		'<span class=break><br><br></span>'+
		'<b>Name or symbols</b> '+
		'<input type=text name=transform-value-quote-search value="" size=10><br>'+
		'<input type=radio name=type value=symbol checked>Symbol'+
		'<input type=radio name=type value=name>Name'+
		'<span class=break><br><br></span>'+
		'<b>Exchange</b><br>'+
		'<select input name=nvp-companion-p-type>'+
			'<option value="usstock usfund">U.S.'+
			'<option value="brsp">Brazil'+
			'<option value="clsanse">Chile'+
			'<option value="mxmxse">Mexico'+
			'<option value="tse">Toronto'+
			'<option value="vecsec">Venezuela'+
			
			'<option value="#">-----------'+
			'<option value="hkse">Hong Kong'+
			'<option value="auasx">Sydney'+
			'<option value="jptse">Tokyo'+
			
			'<option value="#">-----------'+
			'<option value="nlams">Amsterdam'+
			'<option value="bebrux">Brussels'+
			'<option value="defrnk">Frankfurt'+
			'<option value="dexetra">Xetra'+			
			'<option value="lse">London'+
			'<option value="itmilan">Milan'+
			'<option value="frparb">Paris'+
			'<option value="escats">Spain'+
			'<option value="sestkm">Stockholm'+			
			'<option value="chzse">Zurich'+
			'<option value="#">-----------'+
		'</select>'+
		'&nbsp;&nbsp;&nbsp;<input type=submit name=go value=Go>'+
		'<span class=break><br><br></span>'+
		'<a href=/documents/help.htm?copy=help-quotes.htm target=_top  class=menu-l>Search Help</a>'+
		'<span class=break><br><br></span>'+
		'Go to <a href=/documents/qsearch.htm target=_top  class=menu-l>Journal Atlas</a> for more Search options'+
		'<input type=hidden name=transform-name-quote-search value="nvp-set-p-sym">'+
		'<input type=hidden name=p-sym value="">'+
		'<input type=hidden name=p-name value="">'+
		'<input type=hidden name=profile-end value=Portfolio>'+
		'</form>'+
		'<a href="Javascript:collapse(\'quotes\')"><img src=http://interactive.wsj.com/media/fc-close-little.gif width=42 height=10 align=right border=0 alt="'+quotes_up_alt+'" onMouseOver="window.status=\''+quotes_up_alt+'\';return true;" onMouseOut="window.status=\' \';return true;"></a>'+
		'</span></td></tr></table>'

company_expanded=
		'<table width='+(button_w-9)+' cellpadding=0 border=0 cellspacing=0><tr><td><span class=menu>'+
		'<FORM target="_top" name=US_search METHOD=POST ACTION=/mds/mds.cgi onSubmit="checkSymbol();return false;">'+
		'<b>Briefing Books</b><br> '+
		'Find company news, background info, charts and statistics.'+
		'<span class=break><br><br></span>'+
		'<b>Company</b><br>'+
		'<input type=hidden name=route value=BOEH>'+
		'<input type=hidden name=template value=bb-toc>'+
		'<input type=hidden name="ambiguous-purchase-template" value="bb-symbol-ambiguity">'+
		'<input type=hidden name="profile-name" value="Portfolio1">'+
		'<input type=hidden name="profile-version" value="3.0">'+
		'<input type=hidden name="profile-type" value="Portfolio">'+
		'<input type=hidden name="profile-format-action" value="include">'+
		'<input type=hidden name="profile-read-action" value="skip-read">'+
		'<input type=hidden name="profile-write-action" value="skip-write">'+
		'<input type=hidden name="nvp-companion-p-type" value="djn usfund">'+		
		'<input type=text name="transform-value-quote-search" value="" size=10>&nbsp;<INPUT TYPE=SUBMIT VALUE="Go">&nbsp;'+
		'<BR>'+		
		'<INPUT TYPE=radio NAME="transform-name-quote-search" CHECKED value="nvp-set-p-sym">Symbol  &nbsp;'+
		'<INPUT TYPE=radio NAME="transform-name-quote-search" value="nvp-no-set-p-name">Name <p>'+
		'<input type=hidden name="p-sym" value="">'+
		'<input type=hidden name="profile-end" value="Portfolio">'+
		'</form>'+
		'<form target="_top" name=fund_search action="/inap-bin/bb" method="POST">'+
		'<input type="HIDDEN" name="page" value="9">'+
		'<input type="HIDDEN" name="sym" size="8">'+
		'</form>'+	
		'Go to <a href=/documents/bbsearch.htm target=_top class=menu-l>Journal Atlas</a> for more Search options'+
		'<a href="Javascript:collapse(\'company\')"><img src=http://interactive.wsj.com/media/fc-close-little.gif width=42 height=10 border=0 align=right alt="'+company_up_alt+'" onMouseOver="window.status=\''+company_up_alt+'\';return true;" onMouseOut="window.status=\' \';return true;"></a>'+
		'</span></td></tr></table>'
		
deals_expanded=
		'<table width='+(deals_button_w-9)+' cellpadding=0 border=0 cellspacing=0><tr><td><span class=menu>'+
		'<form name=d_d onSubmit="d();" method="GET" action="http://wsn.doremus.com/exe/wsn_wsj.cgi">'+
		'Search the Wall Street Net one-year database of Debt & Equity deals. Provided by CommScan Inc.<br> '+
		'<input type=hidden name="0" value="All">'+
		'<input type=hidden name="1" value=All>'+
		'<input type=hidden name="2" value=All>'+
		'<b>Issuer</b><br>'+
		'(leave blank for All)<br>'+
		'<input type=text name="3" value="" size=10>'+
		'<br><br>'+
		'<b>Date Range</b><br>'+
		'<SELECT NAME="5">'+
		'<OPTION selected>Past month'+
		'<OPTION>Past quarter'+
		'<OPTION>Past 2 quarters'+
		'<OPTION>Past 3 quarters'+
		'<OPTION>Past year'+
		'</SELECT>'+
		'<span class=break><br><br></span>'+
		'<input type=hidden name="7" value="1">'+
		'<input type=hidden name="8" value="1">'+
		'<input type=hidden name="9" value="0">'+
		'<input type=hidden name="10" value="1">'+
		'<input type=hidden name="11" value="0">'+
		'<input type=hidden name="12" value="1">'+
		'<input type=hidden name="13" value="0">'+
		'<input type=submit value="Go"><br>'+
		'For more options, go to the <a href="/documents/fc-debt-eq.htm" target=_top class=menu-l>Wall Street Net Database</a><br>'+
		'</form>'+
		'<a href="Javascript:collapse(\'deals\')"><img src=http://interactive.wsj.com/media/fc-close-little.gif width=42 height=10 border=0 align=right alt="'+deals_up_alt+'" onMouseOver="window.status=\''+deals_up_alt+'\';return true;" onMouseOut="window.status=\' \';return true;"></a>'+
		'<span class=break><br>&nbsp;<br></span>'+
		'</span>'+
		'</td></tr></table>'
}

if(isNav3 || isIE3) 
{
articles_search=
		'<table width=100% cellpadding=5 border=0 cellspacing=0>'+
		'<tr><td bgcolor=#dedede>'+
		'<form name="a_s" action="/archive/search.cgi" method=post >'+
		'<font size=2 face=arial><b>&nbsp;Article Search</b><br>'+
		'<input type=hidden name="template" value="atlas-srch-searchrecent-nf.tmpl">'+
		'<input type=hidden name="form" value="atlas-srch-searchrecent-nf.html">'+
		'<input type=hidden name="from-and" value="AND">'+
		'<input type=hidden name="to-and" value="AND">'+
		'<input type=hidden name="sort" value="Article-Doc-Date desc">'+					
		'<input type=hidden name="qand" value="">'+
		'<input type=text name="bool_query" value="" size=10>'+

		'<input type=hidden name="dbname" value="&amp;name1=dbname&amp;name2=dbname&amp;name3=dbname;wsjie&amp;named=dbname&amp;period=:720">'+
		'<input type=hidden name="location" value="article">'+
		'<input type=submit value=Go><br>'+

		'<a href=/documents/search.htm target=_top><font color=#000099 size=2 face=Arial><nobr>Search Options</nobr></font></a>'+
		'&nbsp;&nbsp;'+
		'<a href=/documents/help.htm?copy=help-search-articles.htm target=_top><font color=#000099 size=2 face=Arial>Help</font></a>'+
		'</form>'
quotes_search=
		'<form  target="_top" name=q_s action="/mds/mds.cgi" method="GET" onSubmit="q();">'+
		'<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=black><img src='+spacer_gif+' width=1 height=1></td></tr></table>'+
		'<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=right><img src='+spacer_gif+' width=1 height=7></td></tr></table>'+
		'<b>&nbsp;Quotes Search</b><br>'+
		'<input type=hidden name=route value=BOEH>'+
		'<input type=hidden name=template value=ahq-search-results>'+
		'<input type=hidden name="ambiguous-purchase-template" value="ahq-symbol-ambiguity">'+
		'<input type=hidden name="profile-name" value="Portfolio1">'+
		'<input type=hidden name="profile-version" value="3.0">'+
		'<input type=hidden name="profile-type" value="Portfolio">'+
		'<input type=hidden name="profile-format-action" value="include">'+
		'<input type=hidden name="profile-read-action" value="skip-read">'+
		'<input type=hidden name="profile-write-action" value="skip-write">'+
		'<BR>'+		
		'<input type=text name=transform-value-quote-search value="" size=10><br>'+
		'<input type=radio name=type value=symbol checked>Symbol'+
		'<input type=radio name=type value=name>Name'+
		'<br>'+
		'Exchange<br>'+
				'<select input name=nvp-companion-p-type>'+
			'<option value="usstock usfund">U.S.'+
			'<option value="brsp">Brazil'+
			'<option value="clsanse">Chile'+
			'<option value="mxmxse">Mexico'+
			'<option value="tse">Toronto'+
			'<option value="vecsec">Venezuela'+
			
			'<option value="#">-----------'+
			'<option value="hkse">Hong Kong'+
			'<option value="auasx">Sydney'+
			'<option value="jptse">Tokyo'+
			
			'<option value="#">-----------'+
			'<option value="nlams">Amsterdam'+
			'<option value="bebrux">Brussels'+
			'<option value="defrnk">Frankfurt'+
			'<option value="dexetra">Xetra'+			
			'<option value="lse">London'+
			'<option value="itmilan">Milan'+
			'<option value="frparb">Paris'+
			'<option value="escats">Spain'+
			'<option value="sestkm">Stockholm'+			
			'<option value="chzse">Zurich'+
			'<option value="#">-----------'+
		'</select>'+
		'&nbsp;&nbsp;&nbsp;<input type=submit name=go value=Go>'+
		'<br><a href=/documents/qsearch.htm target=_top><font color=#000099 size=2 face=Arial><nobr>Search Options</font></nobr></a>'+
		'&nbsp;&nbsp;'+
		'<a href=/documents/hquotes.htm target=_top><font color=#000099 size=2 face=Arial>Help</font></a>'+
		'<input type=hidden name=transform-name-quote-search value="nvp-set-p-sym">'+
		'<input type=hidden name=p-sym value="">'+
		'<input type=hidden name=p-name value="">'+
		'<input type=hidden name=profile-end value=Portfolio>'+
		'</form>'+
		'</td></tr>'+
		'</table>'
}


//**********************
function dealsMouseClick()
{	
	if(isIE4 || isIE5)
		insideWindowWidth=document.body.clientWidth;
	if(isNav4)
		insideWindowWidth=window.innerWidth;

	if(state=='out')
		return;
		
	if(current && (state == 'right')) 
		collapse(current);

	tomb_right=getObjLeft(tombObj)+tomb_width;

	
}


//**********************
function change (change_menu)
{
	if (change_menu!=current)
		expand(change_menu);
	else
		collapse(change_menu);
}
 
//**********************
function expand(expand_menu)
{
	if(busy)
		return;
	busy=true;

	if((isIE4 || isIE5) && (document.all.deals) && (document.all['deals-panel'].style.pixelTop<=0))
	{
		dealsTop=0;
		obj="document.all.deals";
		while(eval(obj+".parentElement.id").indexOf("tombstones")<0 )
		{
			obj=obj+".parentElement";
			dealsTop+=eval(obj+".offsetTop");
		}
		dealsTop+=tomb_top+button_h-3;
		document.all['deals-panel'].style.pixelTop=dealsTop;
	}

	
	tempObj=eval(layerRef+"['temp']"+styleRef);

	if(expand_menu.indexOf("deals")>=0)
		setWidth(tempObj,(deals_button_w-4));

	menuObj=eval(layerRef+"['"+expand_menu+"-panel"+"']"+styleRef);

	if(current)
	{
		currentObj=eval(layerRef+"['"+current+"-panel']"+styleRef);
		currentObj.visibility='hidden';
		changeHeight(tempObj,-150);
		if(isNav4)
			if(current.indexOf("deals")>=0)
				currentButtonObj=document.layers['tombstones'].document.layers['deals'].document.images[current];
			else
				currentButtonObj=document.layers['tombstones'].document.images[current];
		if(isIE4 || isIE5)
			currentButtonObj=document.all[current];
		

		currentButtonObj.src = eval(current+'_down.src');
		currentButtonObj.alt= eval(current+'_down_alt');
	}	
	shiftTo(tempObj,(getObjLeft(menuObj)+2),(getObjTop(menuObj)+2));
	tempObj.visibility="visible";

	if(isNav4)
		if(expand_menu.indexOf("deals")>=0)
			expandButtonObj=document.layers['tombstones'].document.layers['deals'].document.images[expand_menu];
		else
			expandButtonObj=document.layers['tombstones'].document.images[expand_menu];
	
	if(isIE4 || isIE5)
		expandButtonObj=document.all[expand_menu];


	expandButtonObj.src = eval(expand_menu+'_up.src');
	expandButtonObj.alt = eval(expand_menu+'_up_alt');

	// Smooth expand start
	k=0
	intervalID=setInterval(
	"changeHeight(tempObj,50);k++;"+
	"if(k>2)"+ 
	"{"+
		"clearInterval(intervalID);"+
		"tempObj.visibility='hidden';"+
		"menuObj.visibility='visible';"+
		"tempObj.height=150;"+
		"setWidth(tempObj,(button_w-4));"+
		"busy=false;"+
	"}",10);
	 //Smooth expand end

	current=expand_menu;

	if(state == 'left')
	{
		dealsMouseClick();
	}
}

//**********************
function collapse(collapse_menu)
{
	if(busy)
		return;
	busy=true;

	k=0
	current='';
	tempObj=eval(layerRef+"['temp']"+styleRef);

	if(collapse_menu.indexOf("deals")>=0)
		setWidth(tempObj,(deals_button_w-4));

	menuObj=eval(layerRef+"['"+collapse_menu+"-panel"+"']"+styleRef);

	if(isIE4 || isIE5)
		buttonObj=document.all[collapse_menu];
	if(isNav4)
		if(collapse_menu.indexOf("deals")>=0)
			buttonObj=document.layers['tombstones'].document.layers['deals'].document.images[collapse_menu];
		else
			buttonObj=document.layers['tombstones'].document.images[collapse_menu];

	tempObj.visibility='visible';
	menuObj.visibility='hidden';
	buttonObj.src= eval(collapse_menu+'_down.src');
	buttonObj.alt= eval(collapse_menu+'_down_alt');

	// Smooth collapse start
	intervalID=setInterval(
	"changeHeight(tempObj,-50);k++;"+
	"if(k>2)"+ 
	"{"+
		"clearInterval(intervalID);"+
		"tempObj.visibility='hidden';"+
		"menuObj.visibility='hidden';"+
		"tempObj.height=0;"+
		"setWidth(tempObj,(button_w-4));"+
		"busy=false;"+
	"}",10);
	// Smooth collapse end
}

//**********************
function getObjLeft(obj)
{
	if(isNav4)
		return obj.pageX;
	if(isIE4 || isIE5)
		return obj.pixelLeft;
}

//**********************
function getObjTop(obj)
{
	if(isNav4)
		return obj.pageY;
	if(isIE4 || isIE5)
		return obj.pixelTop;
}

//**********************
function changeHeight(obj,y)
{
	if(isNav4)
		obj.resizeBy(0,y);
	if(isIE4 || isIE5)
		obj.pixelHeight+=y;
}

//**********************
function changeWidth(obj,x)
{
	if(isNav4)
		obj.resizeBy(x,0);
	if(isIE4 || isIE5)
		obj.pixelWidth+=x;
}

//**********************
function setWidth(obj,x)
{
	if(isNav4)
		obj.clip.width=x;
	if(isIE4 || isIE5)
		obj.pixelWidth=x;
}

//**********************
function shiftTo(obj,x,y)
{
	if(isNav4)
		obj.moveToAbsolute(x,y);
	if(isIE4 || isIE5)
	{
		obj.pixelLeft=x;
		obj.pixelTop=y;
	}
}

//**********************
function d()
{
	if(isNav4)
		d_doc=document.layers['deals-panel'].document;
	else
		d_doc=window.document;
		
	if(d_doc.d_d.elements['0'].value == '')
		d_doc.d_d.elements['0'].value="All";

return true;
}

//**********************
function q()
{
	if(isNav4)
		q_doc=document.layers['quotes-panel'].document;
	else
		q_doc=window.document;

	if(q_doc.q_s.elements[11].checked==true)
	{
		q_doc.q_s.elements[0].value="BEH";
		q_doc.q_s.elements[14].value="nvp-no-set-p-name";
	}
	else
	{
		q_doc.q_s.elements[0].value="BOEH";
		q_doc.q_s.elements[14].value="nvp-set-p-sym";
	}	
}

//**********************
function checkSymbol(){

	if(isNav4)
		var form1 =document.layers['company-panel'].document.US_search;
	else
		var form1 =window.document.US_search;

	if(isNav4)
		var form2=document.layers['company-panel'].document.fund_search;
	else
		var form2=window.document.fund_search;

	var sym=form1['transform-value-quote-search'].value;

	if ( (sym.length == 5) && (sym.charAt(4) == 'x' || sym.charAt(4) == 'X') && (sym.indexOf(" ") <0) && (sym.indexOf(".") <0)){
		form2.sym.value = sym;
		form2.submit();
	}
	else{
		if(form1.elements["transform-name-quote-search"][0].checked)
		{
			form1.elements["nvp-companion-p-type"].value="djn";
		}	
		else
		{
			form1.elements["nvp-companion-p-type"].value="djn usfund";
		}	
				
		form1.submit();
	}
}


//**********************
function setFc()
{
}

//**********************
function fcTab(type)
{
}

function scrollSearch()
{
}
	
	
//**********************
function fc(family,ad_family)
{
	random=Math.random();

	if(!ad_family)
		ad_family='topbiz';

	if(family == 'front')
		ed_promo=front_promo;
	else if(family == 'tech')
		ed_promo=tech_promo;
	else if(family == 'money')
		ed_promo=money_promo;
	else if(family == 'market')
		ed_promo=market_promo;
	else if(family == 'market_extra')
		ed_promo=market_extra_promo;
	else
		ed_promo=front_promo;


	
	if(isNav3 || isIE3 )
	{
		ad_regular=
			'<b><font size=2 face=arial>Advertisements<br></font></b>'+
			'<a href="http://ad.doubleclick.net/jump/cfour.wsj.com/demo_yes.htm;famil='+ad_family+';sz=120x240;ord='+random+'" target="_top">'+
			'<IMG SRC="http://ad.doubleclick.net/ad/cfour.wsj.com/demo_yes.htm;famil='+ad_family+';sz=120x240;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="240" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>';

		ad=ad_regular;
	
		if(tombstones && (family == 'money'))
			ad=
				'<table cellpadding=0 cellspacing=0 border=1 bordercolor=#666666 width='+(tomb_width-14)+'><tr><td>'+
				'<table cellpadding=0 cellspacing=0 border=0 width=100%>'+
				'<tr><td bgcolor=#666666 align=center><font color=white size=2><b><nobr>ADVERTISEMENTS</nobr></b></font></td></tr>'+
				'<tr><td bgcolor=#cccc99 align=center><font color=white size=5><b><nobr>D E A L S</nobr></b></font></td></tr>'+
				'</table>'+
				'<table cellpadding=0 cellspacing=0 border=0 width=100%>'+
				'<tr><td align=left><a href="http://interactive.wsj.com/documents/fc-debt-eq.htm"><img src=http://interactive.wsj.com/media/fc-deals-3.gif border=0 height='+button_h+' width='+deals_button_w+' alt="'+deals_down_alt+'"></a></td></tr>'+
				'</table><center>'+
				ad_tombstones+
				'</td></tr></table>';
		document.writeln('<td valign=top width='+fc_width+' align=left rowspan=2>');

		//if(family == 'front')		
		//	document.writeln('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=right>'+
		//		'<img src='+spacer_gif+' width=1 height='+fc_front_top+'></td></tr></table>');
		
		if(family == 'market_extra')		
			document.writeln('<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td align=right>'+
				'<img src='+spacer_gif+' width=1 height='+fc_market_extra_top+'></td></tr></table>');

		document.writeln('<table  width=95% cellpadding=0 cellspacing=0 border=1><tr><td>');

		document.writeln(''+
			articles_search+
			quotes_search+
			'</td></tr><tr><td align=center>'+
			'<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=white align=right><img src='+spacer_gif+' width=1 height=10></td></tr></table>'+
			ed_promo+
			'<table width=100% cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=white align=right><img src='+spacer_gif+' width=1 height=10></td></tr></table>'+
			ad);
			
			if(family == 'tech')
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/tech_dropdown.htm;famil=tech_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/tech_dropdown.htm;famil=tech_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}
			// Marketplace
			else if(family == 'market')
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplace_dropdown.htm;famil=marketplace_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplace_dropdown.htm;famil=marketplace_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}
			// Marketplace
			else if(family == 'market_extra')
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplextra_dropdown.htm;famil=marketplextra_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplextra_dropdown.htm;famil=marketplextra_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}
			else if(family == 'money')
			{
				document.writeln('');
			}	
			// Front
			else
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/front_dropdown.htm;famil=front_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/front_dropdown.htm;famil=front_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}

		document.writeln(''+
		'<br><a href=http://public.wsj.com/ads/specials/specials.html>Special Advertising Sections:</a>'+
		'<br><a href=http://public.wsj.com/ads/specials/india.html>India Report</a>'+
		'<br><a href=http://public.wsj.com/ads/specials/pbank.html>Private Banking</a>'+
		'<br><a href=http://public.wsj.com/ads/specials/ec1.html>Europe Connected</a>'+
			'</td></tr></table>')
		document.writeln('</td>');
		return;	
	}

	if(isIE4 || isIE5)
		insideWindowWidth=document.body.clientWidth;
	if(isNav4)
		insideWindowWidth=window.innerWidth;
			
	x_out =tomb_left_0+tomb_width;

	search_button_w=87;
	search_button_h=22;
	spacer=2;
	z0=2;
	if(isNav4)
		z0=3;
	z1=2;
	d0=0;
		
	articles_down=new Image();
	articles_down.src="http://interactive.wsj.com/media/fc-articles-down.gif";
	articles_up=new Image();
	articles_up.src="http://interactive.wsj.com/media/fc-articles-up.gif";
	quotes_down=new Image();
	quotes_down.src="http://interactive.wsj.com/media/fc-quotes-down.gif";
	quotes_up=new Image();
	quotes_up.src="http://interactive.wsj.com/media/fc-quotes-up.gif";
	company_down=new Image();
	company_down.src="http://interactive.wsj.com/media/fc-company-down.gif";
	company_up=new Image();
	company_up.src="http://interactive.wsj.com/media/fc-company-up.gif";
	deals_down=new Image();
	deals_down.src="http://interactive.wsj.com/media/fc-deals-down.gif";
	deals_up=new Image();
	deals_up.src="http://interactive.wsj.com/media/fc-deals-up.gif";

	if(family == 'front')
		ed_promo=front_promo;
	else if(family == 'tech')
		ed_promo=tech_promo;
	else if(family == 'money')
		ed_promo=money_promo;
	else if(family == 'market')
		ed_promo=market_promo;
	else if(family == 'market_extra')
	{
		ed_promo=market_extra_promo;
	//	tomb_top+=33;
		tomb_top+=3;
		search_button_top+=48;
		if(isIE4 || isIE5)
			search_button_top+=1;
			
		spacer=8;	
		z0=5;
		z1=2;
		
	}	
	else 
		ed_promo=front_promo;
	
	d1=tomb_top+button_h+z0+d0;
	d2=tomb_top+2*button_h+spacer+z0+d0;
	d3=tomb_top+3*button_h+2*spacer+z0+d0-1;

	
	document.writeln('<td valign=top width='+tomb_width+' align=center rowspan=2>')
	
	if(isNav4)
	{
		document.writeln('<layer id=tombstones  class=tom left='+tomb_left_0+' width='+tomb_width+' top='+tomb_top+' background=http://interactive.wsj.com/media/fc-bgline.gif Z-INDEX=2>')
		if(family == 'front')
			document.writeln('<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#ffffff><img src='+spacer_gif+' width=1 height='+d0+'></td></tr></table>')
		document.writeln('<center><table cellpadding=0 cellspacing=0 border=0 width='+(tomb_width-4)+'>'+
			'<tr height=2><td bgcolor=#777777><img src='+spacer_gif+' width=1 height=2></td></tr>'+
			'</table>'
		)
	}
	
	if(isIE4 || isIE5)
	{
		document.writeln('<div id=tombstones style="position=absolute;z-index:0;left='+tomb_left_0+';top='+tomb_top+';width='+tomb_width+';visibility=visible;background-image:url(http://interactive.wsj.com/media/fc-bgline.gif);" >')
		if(family == 'front')
			document.writeln('<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#ffffff><img src='+spacer_gif+' width=1 height='+d0+'></td></tr></table>')
		document.writeln('<center><table cellpadding=0 cellspacing=0 border=0 width='+(tomb_width-4)+'>'+
			'<tr height=2><td bgcolor=#777777><img src='+spacer_gif+' width=1 height=2></td></tr>'+
			'</table>')
	}

	document.writeln(
		'<center>'+

		'<table cellpadding=0 cellspacing=0 border=0 background=http://interactive.wsj.com/media/fc-bg.gif width='+(tomb_width-8)+'>'+
		'<tr><td><img src='+spacer_gif+' width=1 height='+z0+'></td></tr>'+
		'<tr><td><a href="" onClick="change(\'articles\');return false;"><img id=articles name=articles src='+articles_down.src+' border=0 height=21 width='+button_w+' alt="'+articles_down_alt+'"></a></td></tr>'+
		'<tr><td><img src='+spacer_gif+' width=1 height='+spacer+'></td></tr>'+
		'<tr><td><a href="" onClick="change(\'quotes\');return false;"><img id=quotes name=quotes src='+quotes_down.src+' border=0 height=21 width='+button_w+' alt="'+quotes_down_alt+'"></a></td></tr>'+
		'<tr><td><img src='+spacer_gif+' width=1 height='+spacer+'></td></tr>'+
		'<tr><td><a href="" onClick="change(\'company\');return false;"><img id=company name=company src='+company_down.src+' border=0 height=21 width='+button_w+' alt="'+company_down_alt+'"></a></td></tr>'+
		'<tr><td><img src='+spacer_gif+' width=1 height='+z1+'></td></tr>'+
		'</table>'+
		'<img src='+spacer_gif+' width=100 height=10>'+

		ed_promo+
	
		'<img src='+spacer_gif+' width=100 height=10 ><br>'
	
	)

	if(isNav4)
	{
		if(tombstones && (family == 'money'))
		{
			document.writeln('<ilayer name=deals >'+
				'<table cellpadding=0 cellspacing=0 border=1 bordercolor=#666666 width='+(tomb_width-14)+'><tr><td>'+
				'<table cellpadding=0 cellspacing=0 border=0 width=100%>'+
				'<tr><td bgcolor=#666666 align=center><font color=white><b><span class=tombad><nobr>A D V E R T I S E M E N T S</nobr></span></b></font></td></tr>'+
				'<tr><td bgcolor=#cccc99 align=center><font color=white><b><span class=dealsad><nobr>D E A L S</nobr></span></b></font></td></tr>'+
				'</table>'+
				
				''+
				'<center>'+
				'<table cellpadding=0 cellspacing=0 border=0 width=100%>'+
				'<tr><td align=left><a href="" onClick="change(\'deals\');return false;"><img id=deals name=deals src='+deals_down.src+' border=0 height=21 width='+deals_button_w+' alt="'+deals_down_alt+'"></a></td></tr>'+
				'</table>'+
				'<table cellpadding=3 cellspacing=0 border=0 width=100%><tr><td align=center>'+
				ad_tombstones+
				'</td></tr></table>'+
				'</td></tr></table></ilayer>'					
			);
		}	
		else if(isMoz401)
		{
			document.writeln('<span class=ad-tit>Advertisements</span>'+
				'<a href="http://ad.doubleclick.net/jump/cfour.wsj.com/demo_yes.htm;famil='+ad_family+';sz=120x240;ord='+random+'" target="_top">'+
				'<IMG SRC="http://ad.doubleclick.net/ad/cfour.wsj.com/demo_yes.htm;famil='+ad_family+';sz=120x240;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="240" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');

			if(family == 'tech')
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/tech_dropdown.htm;famil=tech_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/tech_dropdown.htm;famil=tech_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}
			
			// Marketplace
			else if(family == 'market')
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplace_dropdown.htm;famil=marketplace_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplace_dropdown.htm;famil=marketplace_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}
			// Marketplace Extra
			else if(family == 'market_extra')
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplextra_dropdown.htm;famil=marketplextra_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/marketplextra_dropdown.htm;famil=marketplextra_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}
			else if(family == 'money')
			{
				document.writeln('');
			}	
			// Front
			else 
			{
				document.writeln('<br><a href="http://ad.doubleclick.net/ad/interactive.wsj.com/front_dropdown.htm;famil=front_dropdown;sz=120x120;ord='+random+'" target="_top">'+
					'<IMG SRC="http://ad.doubleclick.net/ad/interactive.wsj.com/front_dropdown.htm;famil=front_dropdown;sz=120x120;ord='+random+'" BORDER=0 WIDTH="120" HEIGHT="120" vspace="0" ALT="[Advertisement]"></A><BR CLEAR="ALL"><br>');
			}
		}
		else
		{
			document.writeln('<span class=ad-tit>Advertisements</span>'+
				'<br><ilayer id=adv height=240 width=120 left='+((tomb_width-120)/2)+'></ilayer>');

			//////// Bottom square ad for the tech section
			if(family == 'tech')
			{
				document.writeln('<br>&nbsp<br><ilayer id=advtech height=120 width=120 left='+((tomb_width-120)/2)+'></ilayer>');
			}	
			//////// Bottom square ad for the tech section
			else if(family == 'market')
			{
				document.writeln('<br>&nbsp<br><ilayer id=advmarket height=120 width=120 left='+((tomb_width-120)/2)+'></ilayer>');
			}	
			//////// Bottom square ad for the market_extra section
			else if(family == 'market_extra')
			{
				document.writeln('<br>&nbsp<br><ilayer id=advmarketx height=120 width=120 left='+((tomb_width-120)/2)+'></ilayer>');
			}	
			else if(family == 'money')
			{
				document.writeln('');
			}	
			//////// Bottom square ad for the front section
			else
			{
				document.writeln('<br>&nbsp<br><ilayer id=advfront height=120 width=120 left='+((tomb_width-120)/2)+'></ilayer>');
			}	
		}
	}		


	
	if(isIE4 || isIE5)
	{
		if(tombstones && (family == 'money'))
			document.writeln(
				'<table cellpadding=0 cellspacing=0 border=1 bordercolor=#666666 width='+(tomb_width-14)+'><tr><td>'+
				'<table cellpadding=0 cellspacing=0 border=0 width=100%>'+
				'<tr><td bgcolor=#666666 align=center><font color=white><b><span class=tombad><nobr>A D V E R T I S E M E N T S</nobr></span></b></font></td></tr>'+
				'<tr><td bgcolor=#cccc99 align=center><font color=#009999><b><span class=dealsad><nobr>D E A L S</nobr></span></b></font></td></tr>'+
				'</table>'+
				'<table cellpadding=0 cellspacing=0 border=0 width='+deals_button_w+'>'+
				'<tr><td align=left><a href="" onClick="change(\'deals\');return false;"><img  id=deals  src='+deals_down.src+' border=0 height='+button_h+' width='+deals_button_w+' alt="'+deals_down_alt+'"></a></td></tr>'+
				'</table>'+
				'<table cellpadding=3 cellspacing=0 border=0 width=100%><tr><td align=center>'+
				ad_tombstones+
				'</td></tr></table>'+
				'</td></tr></table>'		
			);
		else
		document.writeln('<span class=ad-tit>Advertisements</span><iframe  id=ad-v SRC="http://ad.doubleclick.net/adi/cfour.wsj.com/demo_yes.htm;famil='+ad_family+';sz=120x240;ord='+random+'" width=120 height=240 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#000000"></iframe>');

		document.writeln(
			'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=2><td><spacer type=block height=2></td></tr></table>'
			);

		
		//////// Bottom square ad for the tech section
		if(family == 'tech') 
		{
			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=10><td><spacer type=block height=2></td></tr></table>'
				);

			document.writeln('<iframe src="http://ad.doubleclick.net/adi/interactive.wsj.com/tech_dropdown.htm;famil=tech_dropdown;sz=120x120;ord='+random+'" target="_top" width=120 height=120 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#000000"></iframe>');

			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=2><td><spacer type=block height=2></td></tr></table>'
				);
	
		}	
		//////// Bottom square ad for the marketplace section
		else if(family == 'market') 
		{
			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=10><td><spacer type=block height=2></td></tr></table>'
				);

			document.writeln('<iframe src="http://ad.doubleclick.net/adi/interactive.wsj.com/marketplace_dropdown.htm;famil=marketplace_dropdown;sz=120x120;ord='+random+'" target="_top" width=120 height=120 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#000000"></iframe>');

			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=2><td><spacer type=block height=2></td></tr></table>'
				);
	
		}	
		//////// Bottom square ad for the marketplace extra section
		else if(family == 'market_extra') 
		{
			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=10><td><spacer type=block height=2></td></tr></table>'
				);

			document.writeln('<iframe src="http://ad.doubleclick.net/adi/interactive.wsj.com/marketplextra_dropdown.htm;famil=marketplextra_dropdown;sz=120x120;ord='+random+'" target="_top" width=120 height=120 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#000000"></iframe>');

			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=2><td><spacer type=block height=2></td></tr></table>'
				);
	
		}	
		else if(family == 'money')
		{
			document.writeln('');
		}	
		//////// Bottom square ad for the front section
		else  
		{
			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=10><td><spacer type=block height=2></td></tr></table>'
				);

			document.writeln('<iframe src="http://ad.doubleclick.net/adi/interactive.wsj.com/front_dropdown.htm;famil=front_dropdown;sz=120x120;ord='+random+'" target="_top" width=120 height=120 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#000000"></iframe>');

			document.writeln(
				'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=2><td><spacer type=block height=2></td></tr></table>'
				);
	
		}	

	}		

	document.writeln(
		'<br><span class=ad-tit><a href=http://public.wsj.com/ads/specials/specials.html>Special Advertising Sections:</a>'+
		'<br><a href=http://public.wsj.com/ads/specials/india.html>India Report</a>'+
		'<br><a href=http://public.wsj.com/ads/specials/pbank.html>Private Banking</a>'+
		'<br><a href=http://public.wsj.com/ads/specials/ec1.html>Europe Connected</a></span>'
		);

	document.writeln(
		'<table width=100% cellpadding=0 cellspacing=0 border=0><tr height=5><td><spacer type=block height=5 width=140></td></tr></table>'
		);


	if(isNav4)
	{
		document.writeln(
			'<table cellpadding=0 cellspacing=0 border=0 width='+(tomb_width-4)+'>'+
			'<tr height=2><td bgcolor=#777777><img src='+spacer_gif+' width=1 height=2></td></tr>'+
			'</table>'+
			'</layer>'

			//'<layer id=arr name=arr left='+search_button_left+' top='+search_button_top+'><a href="" onclick="dealsMouseClick(\''+family+'\');return false;"><img id=arrim name=arrim src="'+eval("search_"+state+".src")+'" border=0 width='+search_button_w+' height='+search_button_h+' alt="'+search_alt+'"></a>'+
			//'</layer>'

			)

		if((!tombstones || !(family == 'money')) && !isMoz401)
		{
			document.writeln('<layer id=adl src="http://ad.doubleclick.net/adl/cfour.wsj.com/demo_yes.htm;famil='+ad_family+';abr=!ie4;abr=!ie5;sz=120x240;ord='+random+'" visibility=hide onload="moveToAbsolute(tombstones.document.adv.pageX,tombstones.document.adv.pageY);visibility=\'show\';"></layer>');
			
			//////// Bottom square ad fro the tech section
			if(family == 'tech') 
			{
				document.writeln('<layer id=advtechl src="http://ad.doubleclick.net/adl/interactive.wsj.com/tech_dropdown.htm;famil=tech_dropdown;abr=!ie4;abr=!ie5;sz=120x120;ord='+random+'" visibility=hide onload="moveToAbsolute(tombstones.document.advtech.pageX,tombstones.document.advtech.pageY);visibility=\'show\';" clip="120,120"></layer>');
			}
			//////// Bottom square ad fro the marsketplace section
			else if(family == 'market') 
			{
				document.writeln('<layer id=advmarketl src="http://ad.doubleclick.net/adl/interactive.wsj.com/marketplace_dropdown.htm;famil=marketplace_dropdown;abr=!ie4;abr=!ie5;sz=120x120;ord='+random+'" visibility=hide onload="moveToAbsolute(tombstones.document.advmarket.pageX,tombstones.document.advmarket.pageY);visibility=\'show\';" clip="120,120"></layer>');
			}
			//////// Bottom square ad fro the marsketplace section
			else if(family == 'market_extra') 
			{
				document.writeln('<layer id=advmarketlx src="http://ad.doubleclick.net/adl/interactive.wsj.com/marketplextra_dropdown.htm;famil=marketplextra_dropdown;abr=!ie4;abr=!ie5;sz=120x120;ord='+random+'" visibility=hide onload="moveToAbsolute(tombstones.document.advmarketx.pageX,tombstones.document.advmarketx.pageY);visibility=\'show\';" clip="120,120"></layer>');
			}
			else if(family == 'money')
			{
				document.writeln('');
			}	
			//////// Bottom square ad fro the marsketplace section
			else 
			{
				document.writeln('<layer id=advfront src="http://ad.doubleclick.net/adl/interactive.wsj.com/front_dropdown.htm;famil=front_dropdown;abr=!ie4;abr=!ie5;sz=120x120;ord='+random+'" visibility=hide onload="moveToAbsolute(tombstones.document.advfront.pageX,tombstones.document.advfront.pageY);visibility=\'show\';" clip="120,120"></layer>');
			}
		}
		
		document.writeln(
			'<layer top='+d1+' class=panel bgcolor=#dedede name=articles-panel z-index=6 left='+(tomb_left_0+3)+' width='+(button_w-2)+' visibility=hidden>'+
			articles_expanded+
			'</layer>'+		

			'<layer top='+d2+' class=panel bgcolor=#dedede name=quotes-panel z-index=6 left='+(tomb_left_0+3)+' width='+(button_w-2)+' visibility=hidden>'+
			quotes_expanded+
			'</layer>'+		

			'<layer top='+d3+' class=panel bgcolor=#dedede name=company-panel z-index=6 left='+(tomb_left_0+3)+' width='+(button_w-2)+' visibility=hidden>'+
			company_expanded+
			'</layer>'+		

			'<layer top=30 id=temp class=temp bgcolor=dedede name=temp z-index=6 width='+(button_w-4)+' visibility=hidden height=0>'+
			'</layer>'	

		)
		if(tombstones && (family == 'money'))
		{
			document.writeln(
				'<layer top='+(55+button_h+document.tombstones.document.deals.pageY)+' class=panel bgcolor=#dedede name=deals-panel z-index=6 left='+(tomb_left_0+(tomb_width-deals_button_w)/2)+' width='+(deals_button_w)+' visibility=hidden>'+
				deals_expanded+
				'</layer>'
			)		
		}
	}

	if(isIE4 || isIE5)
	{
		document.writeln(
			'<table cellpadding=0 cellspacing=0 border=0 width='+(tomb_width-4)+'>'+
			'<tr height=2><td bgcolor=#777777><img src='+spacer_gif+' width=1 height=2></td></tr>'+
			'</table>'+
			
			'</div>'+
		
			//'<div id=arr style="position:absolute;z-index:100;left:'+search_button_left+';top:'+search_button_top+';width:'+search_button_width+';cursor:'+cursor+';">'+
			//	'<img id=search onclick=dealsMouseClick("'+family+'") src="'+eval("search_"+state+".src")+'" alt="'+search_alt+'">'+
			//'</div>'+
		
			'<div id=articles-panel class=panel style="padding:3px;position:absolute;top:'+d1+';background:#dedede;z-index:6;left:'+(tomb_left_0+3)+';width:'+(button_w-2)+';visibility:hidden">'+
			articles_expanded+
			'</div>'+		

			'<div id=quotes-panel class=panel style="padding:3px;position:absolute;top:'+d2+';background:#dedede;z-index:6;left:'+(tomb_left_0+3)+';width:'+(button_w-2)+';visibility:hidden">'+
			quotes_expanded+
			'</div>'+		

			'<div id=company-panel class=panel style="padding:3px;position:absolute;top:'+d3+';background:#dedede;z-index:6;left:'+(tomb_left_0+3)+';width:'+(button_w-2)+';visibility:hidden">'+
			company_expanded+
			'</div>'+		

			'<div id=deals-panel class=panel style="left:'+(tomb_left_0+((tomb_width-deals_button_w)/2))+';top:0;padding:3px;position:absolute;background:#dedede;z-index:6;width:'+(deals_button_w)+';visibility:hidden">'+
			deals_expanded+
			'</div>'+		

			'<div id=temp class=temp style="position:absolute;top:0;left:610;background:dedede;z-index:60;width:'+(button_w-4)+';visibility:hidden;height:0;">'+
			'</div>'	
		);
	}
	
	document.writeln('</td>')
	tombObj=eval(layerRef+"[ 'tombstones' ]"+styleRef);
}
