<!--
function toggleDiv(id,flagit) {
    if (flagit=="1"){
        if ( (document.layers) && (document.layers[id]) ){
            document.layers[id].display = "show";
        } else if ( (document.all) && (document.all[id]) ){
            document.all[id].style.display = "block";
        } else if ( (document.getElementById) && (document.getElementById(id)) ) {
            document.getElementById(id).style.display = "block";
        }
    } else if (flagit=="0"){
        if ( (document.layers) && (document.layers[id]) ){
            document.layers[id].display = "hide";
        } else if ( (document.all) && (document.all[id]) ){
            document.all[id].style.display = "none";
        } else if ( (document.getElementById) && (document.getElementById(id)) ){
            document.getElementById(id).style.display = "none";
        }
    }
}
//-->

function OpenChildWin(nurl,nname, nwidth,nheight) {
  popupWin = window.open(nurl, nname, 'scrollbars=1,width=' + nwidth +',height=' + nheight)
}

function bkgd(){
    document.getElementById('turq').style.background = arguments[0];
}; 

function bkgd2(){
    document.getElementById('turq2').style.background = arguments[0];
}; 

function bkgd3(){
    document.getElementById('turq3').style.background = arguments[0];
};

function bkgd4(){
    document.getElementById('turq4').style.background = arguments[0];
};

function bkgd5(){
    document.getElementById('turq5').style.background = arguments[0];
};

function bkgd6(){
    document.getElementById('turq6').style.background = arguments[0];
};

function bkgd7(){
    document.getElementById('turq7').style.background = arguments[0];
};

function bdr()
{
document.getElementById('box').className = 'pay_styler_top';
}


/*function changeStyle(id, newClass){
		document.getElementById('turq').className = newClass;
}*/

function confirmation() {
	var answer = confirm("If you have any pending payments, the payments are canceled when you delete this biller. Are you sure you want to delete this biller? If so, click OK.")
	if (answer){
		window.location = "manage_open.html";
	}
}

function confirmDelPay() {
	var answer = confirm("Are you sure you want to delete this automatic payment?")
	if (answer){
		window.location = "manage_open.html";
	}
}

function confirmDelRemind() {
	var answer = confirm("Are you sure you want to stop getting reminders for this bill?")
	if (answer){
		window.location = "manage_open.html";
	}
}

function deleteAcct() {
	var answer = confirm("Are you sure you want to delete this acount?")
	if (answer){
		window.location = "accounts_none.html";
	}
}

function deleteMultiple() {
	var answer = confirm("Are you sure you want to delete this acount?")
	if (answer){
		window.location = "accounts.html";
	}
}


function to_old_win(url)
{
	opener.location.href = url;
	window.close ();
}

function onClickRadio(textfield, str)
{
	var input = document.getElementById(textfield);
	input.value = str;
}

function redirect(linkid)
{
newWindow.close()
location.href=linkid
}
