var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201584&x=5448',
		'title': '',
		'imageId': '71201584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201585&x=5448',
		'title': '',
		'imageId': '71201585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201586&x=5448',
		'title': '',
		'imageId': '71201586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201587&x=5448',
		'title': '',
		'imageId': '71201587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201596&x=5448',
		'title': '',
		'imageId': '71201596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201591&x=5448',
		'title': '',
		'imageId': '71201591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201597&x=5448',
		'title': '',
		'imageId': '71201597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201602&x=5448',
		'title': '',
		'imageId': '71201602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201603&x=5448',
		'title': '',
		'imageId': '71201603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201583&x=5448',
		'title': '',
		'imageId': '71201583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058051&docid=71201582&x=5448',
		'title': '',
		'imageId': '71201582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4058051';

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