function performRedirect()
{
	var nIndex = window.document.frmOtherSites.selOtherSites.selectedIndex
	var sURL = window.document.frmOtherSites.selOtherSites.options[nIndex].value
	if (nIndex == 35) {
		AlexWindow(sURL) }
	else if (sURL != "") {
		newPWin = window.open(sURL,'nPWin','menubar,status,scrollbars,resizable,width=600,height=600,toolbar,location') }
}

function newSearchPopupWindow(url) {
 	newWin = window.open(url,'nOpWin','height=472,width=298,scrollbars,resizable')
 	newWin.moveTo(50,50)
 	newWin.focus()
}

function newPopupWindow(url) {
	newWin = window.open(url,'nWin','height=385,width=300,scrollbars,resizable')
	newWin.moveTo(50,50)
	newWin.focus()
}
// opens a new popup window for Personal Finance Calculators
function calcWindow(url) {
	newWin = window.open(url,'calc','height=700,width=620')
	newWin.moveTo(50,50)
	newWin.focus()
}

// opens a new popup window for Personal Finance Calculators(charcoal mortgage)
function newWindow(url, name, features) {
	var newWin = window.open(encodeurl(url),name,features);
	newWin.moveTo(50,50)
	newWin.focus();
}
function encodeurl(url) {

	var encodedurl = url;

	var i = url.indexOf('.jhtml');
	if (i != -1 &&
			(url.indexOf('$sessionid$') == -1) &&
			(url.indexOf('mailto:') == -1) &&
			sessionidstring != '') {
		encodedurl = url.substring(0,i+6);
		encodedurl += sessionidstring;
		encodedurl += url.substring(i+6);
	}
	return encodedurl;
}

// opens a new popup window for Personal Finance Calculators(charcoal mortgage)
function mortgagesWindow(url) {
	newWin = window.open(url,'mortgage','height=700,width=798')
	newWin.moveTo(50,50)
	newWin.focus()
}
function newSlidesPopupWindow(url) {
	newWin = window.open(url,'SlidesPopup','height=512,width=468,scrollbars,resizable,directories')
	newWin.moveTo(50,50)
	newWin.focus()
}
function AlexWindow(sURL) {
	newWin = window.open(sURL,'alex','scrollbars,resizable,width=820,height=505')
	newWin.moveTo(50,50)
	newWin.focus()
}
function newExPopupWindow(url) {
	newWin = window.open(url,'nExWin','height=550,width=328,scrollbars,resizable')
	newWin.moveTo(50,50)
	newWin.focus()
}

// moved from toolbarFrag.jhtml - NJ,090701
function newPopupPrintWindow(url) {
	newWin = window.open(url,'nPrintWin','height=600,width=600,scrollbars,resizable,toolbar,menubar')
	newWin.moveTo(50,50)
	newWin.focus()
}

// Swaps an gif image object with a new gif image. This is most commonly used in 
// onMouseOut and onMouseOver event handlers to perform image rollover. It assumes
// all images are in '<channel>/images' and they are gif images.
function swap(imageObj, imageName) {
	if (document.images) eval("document." + imageObj + ".src = '/money/images/" + imageName + ".gif'");
}

function quizPopupWindow(url) {
        newWin = window.open(url,'nWin','height=400,width=350,scrollbars,resizable')
        newWin.moveTo(50,50)
        newWin.focus()
}