/*
var	imag = new Array();
var MAXMENU = 8
var imageArray = null;
var imageArray_cnt = 0;

if (document.images) {	
	imag[0] = "../images/spacer_trans.gif";
	imag[1] = "../images/ColorPix.gif";	
}
*/

//<!-- Show the webpages with new window on the target of "_blank":
function OpenNewWindow(pstrPageURL) 
{
    CtrlWindow = window.open(pstrPageURL,"CtrlWindow","TARGET=_blank,toolbars=no,scrollbars=yes,location=no,width=720,height=560");
}

//<!-- show a larger-size screen for the pdf, etc. with new window:
function pdfWindow(pstrPageURL)
{
    CtrlWindow = window.open(pstrPageURL,"CtrlWindow","TARGET=_blank,toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes,width=800, height=600");				
    //top.location = p_URL;		
}

//<!-- show a larger-size screen for the rates/shares, etc. with new window:
function popUpWindow(pstrPageURL)
{
    CtrlWindow = window.open(pstrPageURL,"CtrlWindow","TARGET=_blank,toolbar=1,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=660,height=500");				
    //top.location = p_URL;		
}
	
/*
function preload_aux(name, w, h)
{
	if (document.images) {
		if (imageArray==null) {
			imageArray = new Array();
		}
		im = new Image(w, h);
		im.src = name;
		imageArray[imageArray_cnt++] = im;
		// alert(name + "(" + w + "," + h + ")");
	}
}

function preload()
{
	if (document.images) {
		names = new Array('nav_pro_h.gif','nav_int_h.gif','nav_len_h.gif','nav_inte_h.gif','nav_sha_h.gif','nav_sho_h.gif','nav_abo_h.gif','nav_obt_h.gif','nav_hom_h.gif','nav_cli_h.gif','nav_adv_h.gif');
		for ( i = 0; i < names.length; i++ ) {
			str = "images/" + names[i];
			preload_aux(str, 32, 39);
		}
	}
}

function doSwitch(name, iIndex) {
	// ABOUT NAV.ASP - display the vline image
    for (var i = 0; i <= MAXMENU; i++) {
        var el = eval("document.imgVline" + i)
        if (el && document.images) el.src = (i > iIndex) ?  imag[0] : imag[1];
    }
    if (iIndex == 0 && document.imgVline0)
        document.imgVline0.src = imag[0];
    if (document.images[name])
        document.images[name].src = "../images/nav_" + name + "_" + ( (iIndex > 0) ? "h" : "n" ) + ".gif";
}

function doSwitch(name, high)
{
	// INTEREST NAV.ASP - display the vline image
	new_img = "nav_" + name + "_" + ( (high) ? "h" : "n" ) + ".gif"
	vline_img = "vline_" + ( (high) ? name : "blank" ) + ".gif";

	switchImages(name, new_img);
	switchImages("imgVline", vline_img);	
}

function switchImages(tgt, src)
{
	// switch one image with another
	if (document.images) {
		document.images[tgt].src = "images/" + src;
	}
}
*/