var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71735996&x=3912',
		'title': '',
		'imageId': '71735996',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736004&x=3912',
		'title': '',
		'imageId': '71736004',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736007&x=3912',
		'title': '',
		'imageId': '71736007',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736015&x=3912',
		'title': '',
		'imageId': '71736015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736008&x=3912',
		'title': '',
		'imageId': '71736008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736016&x=3912',
		'title': '',
		'imageId': '71736016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736019&x=3912',
		'title': '',
		'imageId': '71736019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736020&x=3912',
		'title': '',
		'imageId': '71736020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736029&x=3912',
		'title': '',
		'imageId': '71736029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71735995&x=3912',
		'title': '',
		'imageId': '71735995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081110&docid=71736000&x=3912',
		'title': '',
		'imageId': '71736000',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4081110';

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