/* TABS ---------------------------------------------------------------------- */
function toggleTabs(ID) {
SPANID = ID + "_SPANID";
// HIDE ALL -------------------------
for (x = 0; x < tabs.length; x++){
document.getElementById(tabs[x]).style.display = "none";
document.getElementById(tabs[x]+"_SPANID").className = "inPageTab_Off";
}
// SHOW SELECTED --------------------
document.getElementById(ID).style.display="block";
document.getElementById(SPANID).className = "inPageTab_On";
}
/* FOR 1 row of tabs (MF Prospectus is an example) -------------- */
function toggleTabs2(ID) {
SPANID = ID + "_SPANID";
// HIDE ALL -------------------------
for (x = 0; x < tabs.length; x++){
document.getElementById(tabs[x]).style.display = "none";
document.getElementById(tabs[x]+"_SPANID").className = "inPageTab_Off2";
}
// SHOW SELECTED --------------------
document.getElementById(ID).style.display="block";
document.getElementById(SPANID).className = "inPageTab_On2";
}
function addTabptr(ID){
var strURL
strURL = location.href
posVal = strURL.indexOf("&tab=")
if(posVal > 0 )
strURL = strURL.substring(0,posVal-1)
// Change Address bar to add Tab Link --------------------
location.href = strURL + "&tab=" + ID
}
function addLNavBottom(numColumns){
document.write("
");
}
function getAddressIXIS(){
document.write("");
}
function getBoston(theClass){
document.write("Boston (Headquarters)
One Financial Center
Boston, MA 02111
(800) 343-2029
(617) 482-2450
");
}
function getNY(theClass){
document.write("New York
70 East 55th Street
22nd Floor
New York, NY 10022
(212) 753-1332
");
}
function getChicago(theClass){
document.write("Chicago
222 W. Adams St.,
Suite 240
Chicago, IL 60606
(312) 346-9750
");
}
function getDetroit(theClass){
document.write("Detroit
39533 Woodward #300
Bloomfield Hills, MI 48304
(248) 646-2100
");
}
function getMilwaukee(theClass){
document.write("Milwaukee
111 East Kilbourn Avenue
Suite 2700
Milwaukee, WI 53202
(414) 291-3080
");
}
function getPasadena(theClass){
document.write("Pasadena
155 North Lake Avenue
Suite 1030
Pasadena, CA 91101
(626) 793-8989
");
}
function getSanFran(theClass){
document.write("San Francisco
555 California Street, Ste. 3300
San Francisco, CA 94104
(415) 956-2424
");
}
function getWashington(theClass){
document.write("Washington, D.C.
2001 Pennsylvania Avenue, NW
Suite 200
Washington, DC 20006
(202) 463-6200
");
}
/* -----------------------------WEB LOG FUNCTIONS----------------------------------------- */
function pausecomp(millis) {
var date = new Date();
var curDate = null;
do {
curDate = new Date();
}
while (curDate-date < millis);
}
function getHTTPObjectUser() {
var xmlhttp;
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
try {xmlhttp = new XMLHttpRequest();} catch (e) {xmlhttp = false;}
}
if(!xmlhttp && typeof ActiveXObject != "undefined"){
try{ xmlhttp=new ActiveXObject("MSXML2.XMLHTTP"); }catch(e){xmlhttp=false;}
if(!xmlhttp)try{ xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }catch(e){xmlhttp=false;}
}
return xmlhttp;
}
function endMsg() {
var myForm = window.document.forms[0];
var dbPath = myForm.dbPath.value;
var docID = myForm.UniqueValue.value;
var SetURL = dbPath + "EndWebLog?OpenAgent&doc_id=" + docID;
var client = getHTTPObjectUser();
client.open("GET", SetURL, false);
client.send("");
pausecomp(20);
}
function changeClass(selVal,DistOrHist){
var pos = location.href.indexOf('.nsf/');
var dbPath = location.href.substring(0, pos+5);
self.location.href= dbPath + '($DailyNAV)/' + DistOrHist + selVal
}
/*
function ToggleClassSelector(){
if( document.NinetyDayNAVForm.fundID.options.length==0)
document.NinetyDayNAVForm.style.display='none'
}
*/