
var spec_window = null;

function specWindow(destination,destname){

if(screen.availWidth){
                if(screen.availWidth > 840){
                var wdt = 980;
                var hgt = 770;}
                else{
                var wdt = 800;
                var hgt = 770;}}
  else{
                var wdt = 980;
                var hgt = 770;}


  var specials = "width=" + wdt + ",height=" + hgt + ",top=0,left=0,toolbar,resizeable,scrollbars";
  spec_window = window.open(destination,destname,specials);
  spec_window.focus();
  }

