function dump(obj) {
    var out = '';
    for (var i in obj) {
        out += i + ": " + obj[i] + "\n";
    }

    alert(out);
}

function changeAccount(obj){
	var index = obj.selectedIndex;
	var dutchid = obj.options[index].id;
	var newaccount = obj.options[index].value;
	window.location = 'http://www.backingline.com/changeAccount.php?dutch='+dutchid+'&account='+newaccount;
}

function changeListView(obj){
	var index = obj.selectedIndex;
	var view = obj.options[index].value;
	window.location = 'http://www.backingline.com/changeListView.php?view='+view;
}

function updateodds(dutchid,obj){
	var newodds = obj.value;
	window.location = 'http://www.backingline.com/updateOdds.php?dutch='+dutchid+'&price='+newodds;
}
