var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4047052&docid=70919396&x=1412',
		'title': '',
		'imageId': '70919396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047052&docid=70919405&x=1412',
		'title': '',
		'imageId': '70919405',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047052&docid=70919411&x=1412',
		'title': '',
		'imageId': '70919411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047052&docid=70919420&x=1412',
		'title': '',
		'imageId': '70919420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047052&docid=70919421&x=1412',
		'title': '',
		'imageId': '70919421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047052&docid=70919419&x=1412',
		'title': '',
		'imageId': '70919419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047052&docid=70919466&x=1412',
		'title': '',
		'imageId': '70919466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4047052';

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