//Displays Pop-Up Window for Larger Vehicle Images        
function MM_openBrWindow(theURL,winName,features) { //v2.0
        window.open(theURL,winName,features).focus();
        }
        
 /* Script to open a window */
var win = null;
function NewWindow(url,myname,w,h,locat)
{
var settings;
L = screen.width - w-10;
var top=(screen.height-h)/2;
var left=(screen.width-w)/2;

if (locat=="right") {
	settings = 'height='+h+',width='+w+',top=0,left='+L+',scrollbars=yes,resizable=yes'; 
	}
else if (locat=="left") {
    settings = 'height='+h+',width='+w+',top=0,left=0,scrollbars=yes,resizable=yes'; 
    }
else if (locat=="center") {
    settings = 'height='+h+',width='+w+',top='+top+',left='+left+',scrollbars=yes,resizable=yes'; 
    }

if (win!=null)
{
	if (! win.closed)
	{
		win.resizeTo(w,h);
		win.location.href=url;
	}
	else
	win = window.open(url,myname,settings)
}

else
win = window.open(url,myname,settings)
win.focus();
}
/* End of Script to open a window */