var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583774&x=417',
		'title': '',
		'imageId': '68583774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583767&x=417',
		'title': '',
		'imageId': '68583767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583768&x=417',
		'title': '',
		'imageId': '68583768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583769&x=417',
		'title': '',
		'imageId': '68583769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583772&x=417',
		'title': '',
		'imageId': '68583772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583770&x=417',
		'title': '',
		'imageId': '68583770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583771&x=417',
		'title': '',
		'imageId': '68583771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010271&docid=68583773&x=417',
		'title': '',
		'imageId': '68583773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010271';

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";
	})
}
