var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4073258&docid=71195932&x=5517',
		'title': '',
		'imageId': '71195932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073258&docid=71195933&x=5517',
		'title': '',
		'imageId': '71195933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073258&docid=71195934&x=5517',
		'title': '',
		'imageId': '71195934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073258&docid=71195935&x=5517',
		'title': '',
		'imageId': '71195935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073258&docid=71195936&x=5517',
		'title': '',
		'imageId': '71195936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073258&docid=71195937&x=5517',
		'title': '',
		'imageId': '71195937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073258&docid=71195938&x=5517',
		'title': '',
		'imageId': '71195938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4073258';

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