var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226064&x=026',
		'title': '',
		'imageId': '68226064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226066&x=026',
		'title': '',
		'imageId': '68226066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226067&x=026',
		'title': '',
		'imageId': '68226067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226068&x=026',
		'title': '',
		'imageId': '68226068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226069&x=026',
		'title': '',
		'imageId': '68226069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226070&x=026',
		'title': '',
		'imageId': '68226070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226071&x=026',
		'title': '',
		'imageId': '68226071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226072&x=026',
		'title': '',
		'imageId': '68226072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226073&x=026',
		'title': '',
		'imageId': '68226073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969469&docid=68226074&x=026',
		'title': '',
		'imageId': '68226074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969469';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
