var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162995&x=4840',
		'title': '',
		'imageId': '69162995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162998&x=4840',
		'title': '',
		'imageId': '69162998',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162992&x=4840',
		'title': '',
		'imageId': '69162992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162996&x=4840',
		'title': '',
		'imageId': '69162996',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162993&x=4840',
		'title': '',
		'imageId': '69162993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162994&x=4840',
		'title': '',
		'imageId': '69162994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162997&x=4840',
		'title': '',
		'imageId': '69162997',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974716&docid=69162999&x=4840',
		'title': '',
		'imageId': '69162999',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974716';

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