var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949182&docid=68594863&x=5521',
		'title': '',
		'imageId': '68594863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949182&docid=68594865&x=5521',
		'title': '',
		'imageId': '68594865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949182&docid=68594866&x=5521',
		'title': '',
		'imageId': '68594866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949182&docid=68594868&x=5521',
		'title': '',
		'imageId': '68594868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949182&docid=68594869&x=5521',
		'title': '',
		'imageId': '68594869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949182&docid=68594864&x=5521',
		'title': '',
		'imageId': '68594864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949182&docid=68594870&x=5521',
		'title': '',
		'imageId': '68594870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949182';

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