	

function imgOn(imgName) { if (document.images)
            document[imgName].src = eval(imgName + "on.src");
                        }
                        
function imgOff(imgName) { if (document.images)
            document[imgName].src = eval(imgName + "off.src");
            }
            
            
function mouseOver(img)
{
	if (document.images)
	{
		document.images[img].src = eval(img + "_on.src");
	}
}

function mouseOff(img)
{
	if (document.images)
	{
		document.images[img].src = eval(img + "_off.src");
	}
}

function imgOn(imgName) { if (document.images)
            document[imgName].src = eval(imgName + "on.src");
                        }

function imgOff(imgName) { if (document.images)
            document[imgName].src = eval(imgName + "off.src");
                        }

function printMe()
{
  window.print();
}


function printDetail(strTitle,strAsOf,strHtmlID)
{
w = window.open('','newwin','width=600,scrollbars=1,resizable=1');
w.document.write('<html><head><title>PIMCO Institutional ' + strTitle + ' Print Page</title>');
w.document.write('<link rel="stylesheet" type="text/css" href="CSS/style.css"></head><body>');
//w.document.write('<script language="Javascript" src="Scripts/IMF.js"></script></head>');
//w.document.write('<body onLoad="window.print();">'); 
w.document.write('<table width="550"><tr><td class="title">' + strTitle + ' as of ' + unescape(strAsOf) + '</td><td align="right" class="default">');
w.document.write('<a href="javascript:window.close();">Close Window</a><br>')
w.document.write('<a href="javascript:window.print();"><img src="Images/btn_print.gif" border="0" vspace="5"></a>');

w.document.write('</td></tr></table>');
w.document.write(document.getElementById(strHtmlID).innerHTML + '</body></html>');
w.document.close();		
}


function popUp(url,wide,tall,left,top) {
popupwin=window.open(url,'win','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,width=' + wide + ',height=' + tall + ',left=' + left + ',top=' + top + ', resizable=1');
if (popupwin.opener == null) popupwin.opener = window; 
    popupwin.opener.name = "opener";
setTimeout("popupwin.focus()",100);  
}


function gotoglossary(anchor)
{
  URL = "/pimcofund/glossary/bonds_glossaryd.aspx#"+anchor;
  OpenWin = open(URL, "CtrlWindow", "toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");
}


