var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4027227&docid=70382735&x=4445',
		'title': '',
		'imageId': '70382735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027227&docid=70382732&x=4445',
		'title': '',
		'imageId': '70382732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027227&docid=70382738&x=4445',
		'title': '',
		'imageId': '70382738',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027227&docid=70382737&x=4445',
		'title': '',
		'imageId': '70382737',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027227&docid=70382734&x=4445',
		'title': '',
		'imageId': '70382734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027227&docid=70382733&x=4445',
		'title': '',
		'imageId': '70382733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027227&docid=70382736&x=4445',
		'title': '',
		'imageId': '70382736',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4027227';

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