function geostring(b,h) {
x=(screen.width-b)/2;
 y=(screen.height-h)/2;
 if (bName == "NN") {
  displayfeatures='width='+b+',height='+h+',screenX='+x+',screenY='+y+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0';
 } else {
  displayfeatures='width='+b+',height='+h+',left='+x+',top='+y+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0';
 }
 return displayfeatures;
};

function fullstring() {
 if (OSName=="Mac") {
  if (bName == "NN") {
   b=screen.availWidth -10;
   h=screen.availHeight-30;
   x=0;
   y=0;
   displayfeatures='width='+b+',height='+h+',screenX='+x+',screenY='+y+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0';
  } else {
   b=screen.width;
   h=screen.height;
   x=0;
   y=0;
   displayfeatures='width='+b+',height='+h+',left='+x+',top='+y+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0';
  };
 } else {
  if (bName == "NN") {
   b=screen.availWidth -10;
   h=screen.availHeight-30;
   x=0;
   y=0;
   displayfeatures='width='+b+',height='+h+',screenX='+x+',screenY='+y+',toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0';
  } else {
   displayfeatures='scrollbars=0,fullscreen=1';
  };
 };
 return displayfeatures;
};

function l1(where) { window.open('360grad/qtax/'+where+'.htm','360gradfull',fullstring()); };
function l2(where) { window.open('360grad/middle/'+where+'.htm','360grad',geostring(620,497)); };
function l3(where) { window.open('360grad/small/'+where+'.htm','360grad',geostring(324,291)); };

function out() { MM_swapImgRestore();};

function over1(where) { MM_swapImage('tn'+where,'','360grad/img/dsl.gif',1); };
function over2(where) { MM_swapImage('tn'+where,'','360grad/img/isdn.gif',1); };
function over3(where) { MM_swapImage('tn'+where,'','360grad/img/56k.gif',1); };
function over4(where) { MM_swapImage('tn'+where,'','360grad/img/dsl_sw.gif',1); };

function click1(where) { l1(where); };
function click2(where) { l2(where); };
function click3(where) { l3(where); };


