var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751354&x=5441',
		'title': '',
		'imageId': '69751354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751355&x=5441',
		'title': '',
		'imageId': '69751355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751356&x=5441',
		'title': '',
		'imageId': '69751356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751357&x=5441',
		'title': '',
		'imageId': '69751357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751358&x=5441',
		'title': '',
		'imageId': '69751358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751359&x=5441',
		'title': '',
		'imageId': '69751359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751360&x=5441',
		'title': '',
		'imageId': '69751360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751361&x=5441',
		'title': '',
		'imageId': '69751361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751362&x=5441',
		'title': '',
		'imageId': '69751362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019295&docid=69751363&x=5441',
		'title': '',
		'imageId': '69751363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019295';

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