
incCurrentLocation = document.location.href;
isNTDotCom = (incCurrentLocation.indexOf("www.ntrs.com") >= 0) ;

isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("iw.ntrs.com") >=0);
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("web-is1b-pws.ntrs.com:11130") >= 0); 
//isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("web-ia1-ptl.ntrs.com:12013") >= 0); 
//isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("web-ia1-ptl.ntrs.com") >= 0);
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("www.northerntrust.com") >= 0) ;
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("www.chi.northerntrust.com") >= 0) ;
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("www.northernfunds.com") >= 0);
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("www.chi.northernfunds.com") >= 0);
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("www.northerninstitutionalfunds.com") >= 0);
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("www.chi.northerninstitutionalfunds.com") >= 0);
isNTDotCom = isNTDotCom || (incCurrentLocation.indexOf("swebiwvu01") >= 0);

 
if (incCurrentLocation.indexOf("/institutional/resources") >= 0)
	isNTDotCom = false;

if (isNTDotCom) {
	htmlServerToUse = " ";
	popuptouse = " "; }
else {
	htmlServerToUse = "https://www.northerntrust.com/library/econ_research/international/";
	popuptouse = "https://www.northerntrust.com"; }

//document.write('<div class="clsHeadline"><span class="clsNTERHeadline">Daily Commentary</span></div>');

function popUp(urlPageToPopUp,strPopUpType,bolNoPrint) {
	// DESCRIPTION: pops up content in a new window
	//						 use this instead of framePopUp or displayPopUp
	// UPDATED: May 02, 2002
	// USAGE:: <a href="url" onClick="return popUp( this.href , [ type | windowOpenParams ] );">
	// REQUIRED:
	//	urlPageToPopUp - the url of the page to be opened in the popup window
	// OPTIONAL:
	//	strPopUpType - one of the types listed in the switch/case statement below
	//	or override standard types with window.open settings string
	// bolNoPrint - set to true if page should not be printable
	// NOTE: if you wish to set bolNoPrint to true, strPopUpType must be set -- at the very least -- to '' (nothing)
	// e.g. - onClick="return popUp(this.href,'',true);"

	var strWindowSettings = 'toolbar=no,menubar=no,resizable=yes,scrollbars=yes,width=580,height=480,screenX=10,screenY=10,left=10,top=10';
	var strPopUpURL;
	var rightNow = new Date();
	var iUnique = rightNow.getTime();

	if (bolNoPrint) {
		strPopUpURL = popuptouse+'/popups/popup_noprint.html?';
	} else {
		strPopUpURL = popuptouse+'/popups/popup.html?';
	}

	if ( (strPopUpType == '') || (typeof(strPopUpType) == 'undefined') ) {
		var strToSearch = urlPageToPopUp.toLowerCase();															// convert the URL to popup to lowercase
		var strExt = strToSearch.substr(strToSearch.lastIndexOf('.')+1,3);								// find the 3 char ext. for the page being called
		if ( (strExt == 'pdf') || (strExt == 'doc') || (strExt == 'xls') || (strExt == 'ppt') ) { 	// if a standard pop exists for this extension then use it
//			strPopUpType = strExt;  // popUp MS Office documents and PDFs the same way for now.  Otherwise uncomment and define options for each.
				strPopUpType = 'pdf';
		} else {
			strPopUpType = 'standard';																													// otherwise use the default
		}
	}

	switch (strPopUpType) {
		case 'pdf':
			// any changes to strPopUpURL or strWindowSettings for a PDF would go here
			break;
		case 'tour':
			// any changes to strPopUpURL or strWindowSettings for a TOUR would go here
			strWindowSettings = 'toolbar=no,menubar=no,resizable=no,scrollbars=no,width=690,height=495,screenX=5,screenY=5,left=5,top=5';
			strPopUpURL = '';
			break;
		case 'tools':
			// any changes to strPopUpURL or strWindowSettings for a TOOLS page would go here
			strPopUpURL = '';
			break;
		case 'offsite':
			// any changes to strPopUpURL or strWindowSettings for an OFFSITE site would go here
			strPopUpURL = '';
			strWindowSettings = 'toolbar=no,menubar=no,resizable=yes,scrollbars=yes,width=750,height=500,screenX=10,screenY=10,left=10,top=10';
			break;
		case 'secure':
			// any changes to strPopUpURL or strWindowSettings for a SECURE page would go here
			var pathURLPageToPopUp = urlPageToPopUp.substr(urlPageToPopUp.indexOf('/',9));
			strPopUpURL = 'https://' + location.host +strPopUpURL + 'https://'+location.host + pathURLPageToPopUp;
			urlPageToPopUp = '';
			break;
		case 'calculator':
			//  use the calculator settings if no strPopUpType is specified
			// this case uses the version of the popup layout that contains only the logo image - no print or close button
			strPopUpURL = '/popups/popup_logoonly.html?';
			break;
		case 'standard':
			//  use the standard settings if no strPopUpType is specified	(DEFAULTS)
			break;
		default:
			// using a non-standard type of popup if strPopUpType doesn't fit any of the above types (OVERRIDE)
			strWindowSettings = strPopUpType;
	}

	strPopUpURL = strPopUpURL + urlPageToPopUp;

	var popupWindow = window.open(strPopUpURL, 'popupWin'+iUnique, strWindowSettings);
	popupWindow.focus();
	return false;
}

if (incCurrentLocation.indexOf("northerninstitutionalfunds") <=0 && (incCurrentLocation.indexOf("northernfunds")<=0) && (incCurrentLocation.indexOf("-nif")<=0)) 
	{
	writeHeadingText("International Comments"); 
	}
else 
	{
	document.write("<span class=clsHeadline>International Comments</span><p>"); 
	}

document.write("<TABLE width=400 border=0 cellspacing=0 cellpadding=2>");
//document.write('<tr><td valign="top" colspan=2>&nbsp;</td></tr>');
document.write('<tr><td valign=top class=clsSubHeadline colspan="2">Insight into news affecting global markets</td></tr>');
document.write('<tr><td valign="top" colspan=2>&nbsp;</td></tr>');

document.write('<tr><td valign="top" colspan=2>Periodic analysis on international economic and political developments and their near-term impacts on global markets.<br> <br>');

document.write("<!--  only 5 at a time are posted here   -->"); 
document.write('<tr><td valign="top" colspan=2>&nbsp;</td></tr>');
document.write("</TR>");

document.write("<TR valign=top>");
document.write("<TD width=160><a href='" + htmlServerToUse + "pdf/ic082605.pdf' onClick=\"return popUp(this.href,'pdf');\">August 26, 2005</a></TD>");
document.write("<TD width=283>Possible Winners and Losers from Japan&rsquo;s Elections</TD>");
document.write("</TR>");

document.write("<TR valign=top>");
document.write("<TD width=160><a href='" + htmlServerToUse + "pdf/ic082405.pdf' onClick=\"return popUp(this.href,'pdf');\">August 24, 2005</a></TD>");
document.write("<TD width=283>Saudi Arabia: King Abdullah - Off and Running</TD>");
document.write("</TR>")

document.write("<TR valign=top>");
document.write("<TD width=160><a href='" + htmlServerToUse + "pdf/ic081905.pdf' onClick=\"return popUp(this.href,'pdf');\">August 19, 2005</a></TD>");
document.write("<TD width=283>Gloomy Q2 EU data confirmed - Will Q3 be any better?</TD>");
document.write("</TR>")

document.write("<TR valign=top>");
document.write("<TD width=160><a href='" + htmlServerToUse + "pdf/ic080405.pdf' onClick=\"return popUp(this.href,'pdf');\">August 04, 2005</a></TD>");
document.write("<TD width=283>The Bank of Japan vs. the Ministry of Finance &ndash; Place Your Bets</TD>");
document.write("</TR>")

document.write("<TR valign=top>");
document.write("<TD width=160><a href='" + htmlServerToUse + "pdf/ic080305.pdf' onClick=\"return popUp(this.href,'pdf');\">August 03, 2005</a></TD>");
document.write("<TD width=283>Bank of England Likely to Ease Tomorrow - But Don&rsquo;t Expect Further Cuts</TD>");
document.write("</TR>");




if (incCurrentLocation.indexOf("northerninstitutionalfunds") >=0) {
	if (isNTDotCom) {
	document.write('		<tr valign="top">');
	document.write('		<td colspan=2><p><br></td>');
	document.write('		</tr>');
	document.write('		<TR valign="top">');
	document.write('		<TD colspan=2><A href="http://www.northerntrust.com/library/econ_research/international/pdf/" target=_blank> View complete archive</A></TD>');
	document.write('		</TR>');
	document.write('		<tr valign="top">');
	document.write('		<td colspan=2></td>');
	document.write('		</tr>');
	}
	}
if (incCurrentLocation.indexOf("northerninstitutionalfunds") <=0) {
	if (isNTDotCom) {
	document.write('		<tr valign="top">');
	document.write('		<td colspan=2><p><br></td>');
	document.write('		</tr>');
	document.write('		<TR valign="top">');
	document.write('		<TD colspan=2><A href="pdf/"> View complete archive</A></TD>');
	document.write('		</TR>');
	document.write('		<tr valign="top">');
	document.write('		<td colspan=2></td>');
	document.write('		</tr>');
	}
	}

document.write("<TR valign=top>");
document.write("<TD>&nbsp;</TD>");
document.write("<TD>&nbsp;</TD>");
document.write("</TR>");
document.write("</TABLE>");

