<!--
// onclick="urlpopup(this.href,'win6',200,100);return false"
// onclick="opener.document.getElementById('OrgDOB').value='01/01/03';return false"
function urlpopup(url,windowname,width,height) {
	width=(width)?width:screen.width/3;
	height=(height)?height:screen.height/3;
	var screenX = (screen.width/2 - width/2);
	var screenY = (screen.height/2 - height/2);
	var features= "width=" + width + ",height=" + height;
	features += ",screenX=" + screenX + ",left=" + screenX;
	features += ",screenY=" + screenY  +",top=" + screenY;
	var mywin=window.open(url, windowname, features);
	if (mywin) 
		mywin.focus();
	return mywin;
}
// onClick="MM_openBrWindow('admin.asp','GenWin','scrollbars=yes',360,260)" style="cursor:hand"    javascript:void(0)
function MM_openBrWindow(theURL,winName,features,varxMax,varyMax) { //v1.0 Copyright dreamwebcorp.com
    if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 640, yMax=480;

    var xOffset = (xMax - varxMax)/2, yOffset = (yMax - varyMax)/2;
featuresplus = features + ',screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+',width='+varxMax+',height='+varyMax+'';
  window.open(theURL,winName,featuresplus);
}

function openPicture(winName,imageName,features) {
  if (document.all)
        var xMax = screen.width, yMax = screen.height;
    else
        if (document.layers)
            var xMax = window.outerWidth, yMax = window.outerHeight;
        else
            var xMax = 640, yMax=480;
	 var xOffset = (xMax - 720)/2, yOffset = (yMax - 480)/2;
	 featuresplus = features + ',screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+'';
	newWindow = window.open("",winName,featuresplus);
	newWindow.document.open();
	newWindow.document.write('<html><title>SA Art</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onClick="window.close();" onBlur="window.close();">'); 
	newWindow.document.write('<center><img src='+imageName+'>'); 
	newWindow.document.write('<br><font color="#000066" size="2" face="Verdana, Arial, Helvetica, sans-serif" onClick="window.close();">Click to close.</font>');
	newWindow.document.write('</center></body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function MM_showHideLayers() { //v3.0A Modified by Al Sparber and Massimo Foti for NN6 Compatibility
var vlayerwidth = 619;
  var vlayerheight = 514;
  if (document.all)
  var xMax = screen.width, yMax = screen.height;
  else
  if (document.layers)
  var xMax = window.outerWidth, yMax = window.outerHeight;
  else
  var xMax = 640, yMax=480; 
  var xOffset = (xMax - vlayerwidth)/2, yOffset = (yMax - vlayerheight)/2;
  var i,p,v,obj,args=MM_showHideLayers.arguments;if(document.getElementById){
   for (i=0; i<(args.length-2); i+=3){ obj=tmt_findObj(args[i]);v=args[i+2];
   v=(v=='show')?'visible':(v='hide')?'hidden':v;
   if(obj)obj.style.visibility=v;}} else{
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v;
    obj.top = yOffset;
	obj.left = xOffset; }}
}
-->
