var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283182&x=3025',
		'title': '',
		'imageId': '69283182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283185&x=3025',
		'title': '',
		'imageId': '69283185',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283188&x=3025',
		'title': '',
		'imageId': '69283188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283191&x=3025',
		'title': '',
		'imageId': '69283191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283194&x=3025',
		'title': '',
		'imageId': '69283194',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283213&x=3025',
		'title': '',
		'imageId': '69283213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283218&x=3025',
		'title': '',
		'imageId': '69283218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283222&x=3025',
		'title': '',
		'imageId': '69283222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980784&docid=69283226&x=3025',
		'title': '',
		'imageId': '69283226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980784';

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