
var finance_window = null;

function financeWindow(destination,destname){

  if(screen.availWidth){
                if(screen.availWidth > 650){
                var wdt = 770;
                var hgt = 470;}
                else{
                var wdt = 610;
                var hgt = 460;}}
  else{
                var wdt = 610;
                var hgt = 460;}

  var specials = "width=" + wdt + ",height=" + hgt + ",top=0,left=0,toolbar,resizable,scrollbars,status";
  finance_window = window.open(destination,destname,specials);
  finance_window.focus();
  }

