var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064930&x=5652',
		'title': '',
		'imageId': '71064930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064935&x=5652',
		'title': '',
		'imageId': '71064935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064936&x=5652',
		'title': '',
		'imageId': '71064936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064937&x=5652',
		'title': '',
		'imageId': '71064937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064938&x=5652',
		'title': '',
		'imageId': '71064938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064934&x=5652',
		'title': '',
		'imageId': '71064934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064939&x=5652',
		'title': '',
		'imageId': '71064939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053145&docid=71064940&x=5652',
		'title': '',
		'imageId': '71064940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053145';

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