var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140749&x=2813',
		'title': '',
		'imageId': '68140749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140748&x=2813',
		'title': '',
		'imageId': '68140748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140744&x=2813',
		'title': '',
		'imageId': '68140744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140746&x=2813',
		'title': '',
		'imageId': '68140746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140747&x=2813',
		'title': '',
		'imageId': '68140747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140743&x=2813',
		'title': '',
		'imageId': '68140743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140741&x=2813',
		'title': '',
		'imageId': '68140741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140745&x=2813',
		'title': '',
		'imageId': '68140745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928980&docid=68140740&x=2813',
		'title': '',
		'imageId': '68140740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928980';

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