
function showCatalog() {
  var u = 'http://catalog.worldpac.com/worldpac/year-make.jsp?partner=default';
  var f = 'screenX=190,screenY=0,width=640,height=480,scrollbars=yes';
  var catalogwin = window.open(u,'Catalog',f)
}

function popup(uri,w,h) {
  var ah = screen.availHeight;
  if ( (ah > 450) && (ah < h)) h = (ah * 0.9);
  var f = 'width=' + w + ',height=' + h + ',left=0,top=0,resizable,scrollbars';
  var popupwin = window.open(uri,'Popup', f);
}

function mypopup(qs,h) {
  var f = 'width=640,height=' + h + ',resizable,scrollbars';
  var seminarwin = window.open('/cgi-bin/seminars.cgi?' + qs,'Seminars', f);
}

function mapit(raw,zip) {
  var u = 'http://maps.yahoo.com/py/maps.py' +
          '?BFCat=&Pyt=Tmap&newFL=Use+Address+Below' +
          '&addr=' + raw + '&csz=' + zip + 
          '&country=us&Get%A0Map=Get+Map';
  window.open(u,'MapIT')
}

function mapus(adr,city,st,zip) {
  var u = 'http://maps.yahoo.com/py/maps.py' +
          '?BFCat=&Pyt=Tmap&newFL=Use+Address+Below' + 
          '&addr=' + escape(adr) + '&csz=' + escape(city) + 
          '%2C+' + st + '+' +  zip + '&country=us&Get%A0Map=Get+Map';
  window.open(u,'MapUS')
}

function mapca(adr,city,st,zip) {
  var u = 'http://ca.maps.yahoo.com/py/maps.py' +
          '?BFCat=&Pyt=Tmap&newFL=Use+Address+Below' +
          '&addr=' + escape(adr) + '&csz=' + escape(city) +
          '%2C+' + st + '%2C+' +  zip + '&country=ca&Get%A0Map=Get+Map';
  window.open(u,'MapCA')
}
