var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120088&x=2643',
		'title': '',
		'imageId': '67120088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120085&x=2643',
		'title': '',
		'imageId': '67120085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120084&x=2643',
		'title': '',
		'imageId': '67120084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120080&x=2643',
		'title': '',
		'imageId': '67120080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120081&x=2643',
		'title': '',
		'imageId': '67120081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120079&x=2643',
		'title': '',
		'imageId': '67120079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120086&x=2643',
		'title': '',
		'imageId': '67120086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120083&x=2643',
		'title': '',
		'imageId': '67120083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120082&x=2643',
		'title': '',
		'imageId': '67120082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120087&x=2643',
		'title': '',
		'imageId': '67120087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3879200&docid=67120089&x=2643',
		'title': '',
		'imageId': '67120089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3879200';

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