var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062671&x=114',
		'title': '',
		'imageId': '71062671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062672&x=114',
		'title': '',
		'imageId': '71062672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062667&x=114',
		'title': '',
		'imageId': '71062667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062670&x=114',
		'title': '',
		'imageId': '71062670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062673&x=114',
		'title': '',
		'imageId': '71062673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062669&x=114',
		'title': '',
		'imageId': '71062669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062668&x=114',
		'title': '',
		'imageId': '71062668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053050&docid=71062674&x=114',
		'title': '',
		'imageId': '71062674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053050';

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