var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272778&x=5927',
		'title': '',
		'imageId': '71272778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272780&x=5927',
		'title': '',
		'imageId': '71272780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272779&x=5927',
		'title': '',
		'imageId': '71272779',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272786&x=5927',
		'title': '',
		'imageId': '71272786',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272788&x=5927',
		'title': '',
		'imageId': '71272788',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272787&x=5927',
		'title': '',
		'imageId': '71272787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272791&x=5927',
		'title': '',
		'imageId': '71272791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060597&docid=71272904&x=5927',
		'title': '',
		'imageId': '71272904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4060597';

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