var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978451&x=641',
		'title': '',
		'imageId': '67978451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978450&x=641',
		'title': '',
		'imageId': '67978450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978449&x=641',
		'title': '',
		'imageId': '67978449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978445&x=641',
		'title': '',
		'imageId': '67978445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978446&x=641',
		'title': '',
		'imageId': '67978446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978448&x=641',
		'title': '',
		'imageId': '67978448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978444&x=641',
		'title': '',
		'imageId': '67978444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923074&docid=67978447&x=641',
		'title': '',
		'imageId': '67978447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923074';

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