var child_win = null;

if(!rootDir){
	var rootDir = '../';
}

function launchPopup( url, winName, winParams ) {
 	if( winName == '_top' ) {
		top.location.href = url; return;
	}
	if(winName == null || winName == '') {
		winName='childWin';
	}
	if(!is_sfr) {
	// IE's windows stay at the back if we don't do this.
	// Safari's windows stay closed if we do this, so we omit it for that browser.
		if(child_win != null && !child_win.closed){
			child_win.close();
		}
	}
	child_win = window.open( url, winName, winParams );
	return child_win;
}

function errorPopup(errorMsg) {
	// encode all the 'funny' chars (not every browser does)
	errorMsg = errorMsg.replace(/ /g, "%20");
	errorMsg = errorMsg.replace(/"/g, "%22");
	errorMsg = errorMsg.replace(/</g, "%3C");
	errorMsg = errorMsg.replace(/>/g, "%3E");
	errorWin = launchPopup( rootDir + 'error.htm?errorMsg=' + errorMsg, 'error', 'width=400,height=300,location=0,menubar=0,toolbar=0,resizable,scrollbars,status=0' );
}

function mouseOver(el, x) {
	el.onmouseout = mouseOut;
	el.restoreClass = el.className;
	el.className = x;
	lastEl = el;
}
function mouseOut() {
	lastEl.className = lastEl.restoreClass;
}

ver4 = (is_ie4up || is_nav4up) ? 1 : 0;
document.write('' +
'<style type="text/css">' +
'td { vertical-align: top; horizontal-align: left; border-style: solid; border-width: 0px; border-color: #cccccc }' +
'.utilOff { color: #003399; text-decoration: none; }' +
'.utilOver { color: #3399cc; text-decoration: none; }' +
'.utilOn { color: #cc0000; text-decoration: none; }' +
'.navOff { color: #003399; text-decoration: none; }' +
'.lblue { background-color: #E7EFF5; vertical-align: middle; }' +
'.dblue { background-color: #D8E3EC; vertical-align: middle; }' +
'.ltgrey { background-color: #EEEEEE; }' +
'.lbluebox { background-color: #EBF1F6; }' +
'.dbluebox { background-color: #E0E9F0; }' +
'.greenbox { background-color: #CCEBCC; }' +
'.challenge { color: #009900; font-size: 8.5pt; font-weight: bold; }' +
'.solution { color: #204180; font-size: 8.5pt; font-weight: bold; }' +
'.error { color: #ff0000; font-weight: bold; }' +
'</style>');
var popupwindow = popupwindow;
if(popupwindow){
document.write('<table border="0" cellPadding="0" cellSpacing="0" width="100%">' +
'	<tr>' +
'		<td background="' + rootDir +'images/citi_grd.jpg" colSpan="2"><img height="18" src="' + rootDir +'images/pixel.gif" width="1"></td>' +
'	</tr>' +
'	<tr>' +
'		<td nowrap align="right" class="bodytext"><b><a href="javascript:window.close();">close</a>&nbsp;&nbsp;</b></td>' +
'	</tr>' +
'</table>');
} else { 
document.write('' +
'<table border="0" cellPadding="0" cellSpacing="0" width="100%">' +
'	<tr>' +
'		<td background="' + rootDir +'images/36wav.gif" colSpan="3"><img height=36 src="' + rootDir +'images/pixel.gif" width="1"></td>' +
'	</tr>' +
'	<tr>' +
'		<td rowspan=2 valign="top"><a href="http://www.citibank.com/" onClick="launchPopup( this.href, \'childWin\', \'width=650,height=350,location,menubar,toolbar,resizable,scrollbars,status\' ); return false;"><img alt="citi.com" border="0" width="61" height="44" src="' + rootDir +'images/citi36.gif"></a></td>' +
'		<td rowspan=2 width=100%>&nbsp;</td>' +
'		<td nowrap align="right" valign=top>' +
'<b>' +
'<a class="utilOff" onmouseover="mouseOver(this,\'utilOver\')" href="http://www.citibusiness.com"><span style="color:#003399; font-size:6pt">&#149;</span>&nbsp;citibusiness.com&nbsp;&nbsp;&nbsp;</a>' +
'<a class="utilOff" onmouseover="mouseOver(this,\'utilOver\')" href="' + rootDir + 'index.htm"><span style="color:#003399; font-size:6pt">&#149;</span>&nbsp;citibusinessonline.com&nbsp;&nbsp;&nbsp;</a>' +
'<a class="utilOff" onmouseover="mouseOver(this,\'utilOver\')" href="' + rootDir + 'form.htm"><span style="color:#003399; font-size:6pt">&#149;</span>&nbsp;contact us&nbsp;&nbsp;&nbsp;</a>' +
'<a class="utilOff" onmouseover="mouseOver(this,\'utilOver\')" href="http://www.citi.com/domain/index.htm" onClick="launchPopup( this.href, \'childWin\', \'width=650,height=350,location,menubar,toolbar,resizable,scrollbars,status\' );return false;"><span style="color:#003399; font-size:6pt">&#149;</span>&nbsp;citi.com&nbsp;&nbsp;&nbsp;</a>' +
'	<tr><td><img height="15" width="100%" src="' + rootDir +'images/pixel.gif"></td></tr>' +
'	<tr><td colSpan="3"><a href="' + rootDir +'index.htm"><img src="' + rootDir +'images/cblogo.gif" width="146" height="30" alt="CitiBusiness&reg;" border="0" /></a></td></tr>' +
'	<tr><td bgColor="#cccccc" colSpan="3"><img height="1" src="' + rootDir +'images/pixel.gif" width="1"></td></tr>' +
'</table>');
}
// line 86 '<a class="utilOff" onmouseover="mouseOver(this,\'utilOver\')" href="http://www.citibank.com/privacy/" onClick="launchPopup( this.href, \'childWin\', \'width=650,height=350,location,menubar,toolbar,resizable,scrollbars,status\' );return false;"><span style="color:#003399; font-size:6pt">&#149;</span>&nbsp;privacy&nbsp;&nbsp;&nbsp;</a>' +


function footer(pgname) {
	if (typeof(pgname) != 'undefined') CITI_txtPagename = pgname;
	document.write('' +
		'<!-- footer -->' + 
		'<table width="100%" border="0" cellspacing="0" cellpadding="0">' +

		  '<tr>' +
		    '<td bgColor="#cccccc" colSpan="2"><img height="1" src="' + rootDir +'images/pixel.gif" width="1"></td></tr>' +
		  '<tr>' +
		    '<td width="100%"><img height="5" src="' + rootDir +'images/pixel.gif" width="100%"></td>' +
		    '<td></td>' +
		  '</tr>');
	if (CITI_txtBottomDisclaimer) {
		document.write('' +
			'<tr>' +
			  '<td colspan=2 class="footer" vAlign="top">' +
			    '<font color="#666666">' + CITI_txtBottomDisclaimer + '</font></td>' +
			'</tr>');
	}
	document.write('' +
			'<tr>' +
			  '<td class="footer" vAlign="top">' +
			    '<img src="' + rootDir +'images/footlogo.gif" alt="citi.com"><br>' +
			    '<a href="http://www.citi.com/" onClick="launchPopup( this.href, \'childWin\', \'width=650,height=350,location,menubar,toolbar,resizable,scrollbars,status\' );return false;">Citi.com</a></td>' +
			  '<td class="footer" vAlign="top" align=right nowrap>' +
			    '<!--<img src="' + rootDir +'images/mem_cgrp.gif" alt="a member of citigroup"><br>-->' +
			    '<a href="http://www.citigroup.com/citigroup/privacy/terms.htm" onClick="launchPopup( this.href, \'childWin\', \'width=650,height=350,location,menubar,toolbar,resizable,scrollbars,status\' );return false;">Terms &amp; Conditions</a><br>' +
			    '<font color="#666666">Copyright &copy; 2009 Citigroup Inc.</font></td>' +
			'</tr>' +
		'</table>');
}
//' line 128 <a href="http://www.citibank.com/privacy/" onClick="launchPopup( this.href, \'childWin\', \'width=650,height=350,location,menubar,toolbar,resizable,scrollbars,status\' );return false;">Citigroup Privacy Promise</a><br>' +