﻿// JScript File


//  The following code determine's the visitor's screen resolution to 
//  ensure that the popup window will be centered on their screen. It
//  then opens the popup with the PLU Code's details displayed.

var putItThere = null; 

var chasm = screen.availWidth;
var mount = screen.availHeight;

var w = 665;
var h = 455;

function openPopup(urlstr) 
{
    putItThere = window.open(urlstr,'posB','width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));
}

