var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147097&x=2938',
		'title': '',
		'imageId': '70147097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147120&x=2938',
		'title': '',
		'imageId': '70147120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147098&x=2938',
		'title': '',
		'imageId': '70147098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147099&x=2938',
		'title': '',
		'imageId': '70147099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147100&x=2938',
		'title': '',
		'imageId': '70147100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147101&x=2938',
		'title': '',
		'imageId': '70147101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147110&x=2938',
		'title': '',
		'imageId': '70147110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147108&x=2938',
		'title': '',
		'imageId': '70147108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147109&x=2938',
		'title': '',
		'imageId': '70147109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147117&x=2938',
		'title': '',
		'imageId': '70147117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016837&docid=70147096&x=2938',
		'title': '',
		'imageId': '70147096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016837';

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