<!--
function newwin(co,xwidth,yheight,title)
{
 xx = screen.width/2 - xwidth/2;
 yy = screen.availHeight/2 - yheight/2;
 var xdist = 10;
 var ydist = 75;
 if (document.all)
 {
  var xdist = 10;
  var ydist = 75;
 }
 else
 {
  var xdist = 10;
  var ydist = 75;
 }
 var a = window.open("","new","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,left="+xx+",top="+yy+",resizable=no,width="+(xwidth+xdist)+",height="+(yheight+ydist));
 a.resizeTo(xwidth+xdist,yheight+ydist);
 a.document.clear();
 a.document.open("text/html");
 a.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">');
 a.document.writeln('<html><head><title>'+title+'</title></head>');
 a.document.writeln('<body style="margin:0;padding:0;background:#FFFFFF;">');
 a.document.writeln('<script language="JavaScript" type="text/javascript"> this.focus(); </script>');
 a.document.writeln('<div style="position:absolute;top:'+(yheight/2)+';left:'+(xwidth/2)+';" id="loading"><img src="/images/loading.gif" width="32" height="32" border="0" alt=""></div>');

 a.document.writeln('<script type="text/javascript">');
 a.document.writeln(' <!-- ');
 a.document.writeln(' function makeObj(obj)');
 a.document.writeln(' {');
 a.document.writeln('   var dom = document.getElementById?1:0');
 a.document.writeln('   if (dom) this.css = document.getElementById(obj).style');
 a.document.writeln('   else if (document.all && !dom) this.css =  document.all[obj].style;');
 a.document.writeln('   else if (document.layers && !dom) this.css =  document.layers[obj];');
 a.document.writeln('   else return false;');
 a.document.writeln(' }');
 a.document.writeln(' var test = new makeObj("loading")');
 a.document.writeln(' // --> ');
 a.document.writeln('</script>');

 a.document.writeln('<a href="#" onclick="window.close();" title="Close window"><img src="'+co+'" width="'+xwidth+'" height="'+yheight+'" OnLoad="test.css.visibility = \'hidden\'" border="0" alt="Close window"></a>');
 a.document.writeln('</body>');
 a.document.writeln('</html>');
 a.document.close();
}

function Start(page,title) {
OpenWin = this.open(page,title,"toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,directories=no,height=580,width=680,top=5,left=5'");
}

function Print(page,title) {
OpenWin = this.open(page,title,"toolbar=no,menubar=no,location=no,status=no,scrollbars=yes,resizable=yes,directories=no,height=580,width=680,top=10,left=10'");
}

function Map(page,title) {
	OpenWin = this.open(page,title,"toolbar=no,menubar=no,location=no,status=no,scrollbars=no,resizable=no,directories=no,height=550,width=780,top=10,left=10'");
}
// -->
