// Copyright the Economist Group 2002
function newBrowser(url, width, height)
{
var newWin = null;
var wwidth = null;
var hheight = null;
var scroll = "yes";
hheight = height + 75;
wwidth = width + 60;
if (hheight > 580) {
hheight = 580;
}
if (wwidth > 780) {
wwidth = 780;
}
yes = 1;
// wid = window.open(url,"mine","toolbar=no,status=no,directories=no,location=no,menubar=no,scrollbars=no,width=500,height=400");
var options = "width="+wwidth+",height="+hheight+",resizable=yes,scrollbars="+scroll;
if (newWin == null){
//KK 2008/02/14 CC21823 displayImage.cfm template added.
newWin = window.open("/displayImage.cfm?imageURL="+url, "", options);
//newWin = window.open("","",options);
}
//newWin.document.writeln("
To print this illustration, please close this window and then click on Printable page at the top of the article.
Close window");
//newWin.document.close();
}
function map(){
alert ('Double-click this link to view the target document');
window.open("/map.cfm",
"map", "width=500,height=300,location=0,menubar=0,resizable=0,scrollbars=0,status=1,titlebar=0,toolbar=0,hotkeys=0");}
function email(){
window.open("emailafriend.cfm",
"email", "width=500,height=300,location=0,menubar=0,resizable=0,scrollbars=1,status=1,titlebar=0,toolbar=0,hotkeys=0");}
function searchtips(){
var newWin = null;
var wwidth = 300;
var hheight = 300;
var options = "width="+wwidth+",height="+hheight+",resize=yes,scrollbars="+scroll;
if (newWin == null){
newWin = window.open("","",options);
}
newWin.document.writeln("Custom Search Folders");
newWin.document.writeln("");
newWin.document.writeln("");
newWin.document.writeln("Custom Search FoldersTM ");
newWin.document.writeln("Custom Search FoldersTM are the little blue folders at the right of your results page that guide you to just what you've been searching for. These folders make looking for information easier and faster by dynamically grouping your results into meaningful categories.");
newWin.document.writeln(" |
");
newWin.document.writeln("
Close window");
newWin.document.close();
}
function displaybackground(story) {
if (arguments.length == 2 && arguments[1] == true)
url = "/background/displayBackground.cfm?backgrounder_id="+story;
else
url = "/research/backgrounders/displaystory.cfm?story_id="+story;
window.open(url,"background", "location=0,menubar=0,resizable=1,scrollbars=1,status=1,titlebar=1,toolbar=1,hotkeys=0");
return false;
}
function displayPopup(file, popupWindowWidth, popupWindowHeight) {
window.open(file,"popupWindow","width="+popupWindowWidth+",height="+popupWindowHeight+",location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=0,toolbar=0,hotkeys=0,left=100,top=100");
return false;
}