var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825762&x=5747',
		'title': '',
		'imageId': '71825762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825759&x=5747',
		'title': '',
		'imageId': '71825759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825767&x=5747',
		'title': '',
		'imageId': '71825767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825769&x=5747',
		'title': '',
		'imageId': '71825769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825764&x=5747',
		'title': '',
		'imageId': '71825764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825768&x=5747',
		'title': '',
		'imageId': '71825768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825760&x=5747',
		'title': '',
		'imageId': '71825760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825763&x=5747',
		'title': '',
		'imageId': '71825763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825766&x=5747',
		'title': '',
		'imageId': '71825766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825765&x=5747',
		'title': '',
		'imageId': '71825765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085598&docid=71825761&x=5747',
		'title': '',
		'imageId': '71825761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4085598';

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