var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602598&x=457',
		'title': '',
		'imageId': '70602598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602599&x=457',
		'title': '',
		'imageId': '70602599',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602601&x=457',
		'title': '',
		'imageId': '70602601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602602&x=457',
		'title': '',
		'imageId': '70602602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602603&x=457',
		'title': '',
		'imageId': '70602603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602604&x=457',
		'title': '',
		'imageId': '70602604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602605&x=457',
		'title': '',
		'imageId': '70602605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602606&x=457',
		'title': '',
		'imageId': '70602606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035505&docid=70602607&x=457',
		'title': '',
		'imageId': '70602607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035505';

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