var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735431&x=4528',
		'title': '',
		'imageId': '70735431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735429&x=4528',
		'title': '',
		'imageId': '70735429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735427&x=4528',
		'title': '',
		'imageId': '70735427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735426&x=4528',
		'title': '',
		'imageId': '70735426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735428&x=4528',
		'title': '',
		'imageId': '70735428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735430&x=4528',
		'title': '',
		'imageId': '70735430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735443&x=4528',
		'title': '',
		'imageId': '70735443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735446&x=4528',
		'title': '',
		'imageId': '70735446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735444&x=4528',
		'title': '',
		'imageId': '70735444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735447&x=4528',
		'title': '',
		'imageId': '70735447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040248&docid=70735448&x=4528',
		'title': '',
		'imageId': '70735448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4040248';

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