﻿// JScript File

var popup = {
	win : null,
	open : function (src,width,height,fixedSize) {
		if (fixedSize) var param = 'no';
		else var param = 'yes';
		var p = 'toolbar=no,menubar=no,location=no,directories=no,scrollbars=' + param + ',resizable= ' + param + ',status=no,width=' + width + ',height=' + height + ',left=' + (screen.availWidth/2-width/2) + ',top=' + (screen.availHeight/2-height/2);
		if (this.win) this.win.close();
		this.win = window.open(unescape(src),'',p);
		this.win.focus();
		},
	callBack : function (programCode) {
		eval(programCode);
		},
	getObj : function (x) {
		return getObj(x);
		}
	};
