function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

//document.body.onload = MM_preloadImages('images/navigation_on_01.gif','images/navigation_on_02.gif','images/navigation_on_03.gif','images/navigation_on_04.gif','images/navigation_on_05.gif','images/sub_nav_on_01.gif','images/sub_nav_on_02.gif','images/sub_nav_on_03.gif')
// JavaScript Document


function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
var popup_win;

// popup for "select country" drop-down menu is opened in 760x420 and is scrollable and resizable
function popup2(html_file)
{
 if (navigator.appName != "Netscape")
 {
 x = top.screenLeft + 20;
 y = top.screenTop - 60;
 }
 else
 {
 x = window.screenX + 20;
 y = window.screenY;
 }
 popup_win = window.open(html_file,'remote3', 'border=0,toolbar=yes,directories=yes,location=yes,status=yes,menubar=yes,resizable=yes,scrollbars=yes,width=760,height=420,top='+y+',screenY='+y+',left='+x+',screenX='+x);
}
function find_country(){
 // should change links accordingly for each country
 if(document.country.options[document.country.selectedIndex].value == 'pruasia'){
 popup2('http://www.prudential-asia.com');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'china'){
 popup2('http://www.citic-prudential.com.cn');
return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'hongkong'){
popup2('http://www.prudential.com.hk');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'indialife'){
 popup2('http://www.iciciprulife.com');
 return;
}
 // needs URL
 if(document.country.options[document.country.selectedIndex].value == 'assetman'){
 popup2('http://www.pruiciciamc.com');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'indonesia'){
 popup2('http://www.prudential.co.id');
 return;
 }
 // needs URL
 if(document.country.options[document.country.selectedIndex].value == 'japanlife'){
 popup2('#');
 return;
 }
 // needs URL
if(document.country.options[document.country.selectedIndex].value == 'japanunit'){
 popup2('#');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'japan'){
 popup2('http://www.pcalife.co.jp/');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'malaysia'){
 popup2('http://www.prudential.com.my/');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'philippines'){
 popup2('http://www.prulifeuk.com.ph/');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'singapore'){
 popup2('http://www.prudential.com.sg/');
 return;
 }
 if(document.country.options[document.country.selectedIndex].value == 'taiwanlife'){
popup2('http://www.prudential-uk.com.tw/');
return;
}
// needs URL
if(document.country.options[document.country.selectedIndex].value == 'mutualfund'){
popup2('http://www.prufunds.com.tw');
return;
}
if(document.country.options[document.country.selectedIndex].value == 'thailand'){
popup2('http://www.prudential.co.th');
 return;
}
if(document.country.options[document.country.selectedIndex].value == 'unitedkingdom'){
popup2('#');
return;
}
if(document.country.options[document.country.selectedIndex].value == 'vietnam'){
popup('land_vietnam.htm');
return;
}
if(document.country.options[document.country.selectedIndex].value == 'korea'){
popup2('http://www.pcakorea.co.kr');
return;
 }
}

//-->