var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138788&x=5441',
		'title': '',
		'imageId': '68138788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138791&x=5441',
		'title': '',
		'imageId': '68138791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138794&x=5441',
		'title': '',
		'imageId': '68138794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138797&x=5441',
		'title': '',
		'imageId': '68138797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138800&x=5441',
		'title': '',
		'imageId': '68138800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138802&x=5441',
		'title': '',
		'imageId': '68138802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138806&x=5441',
		'title': '',
		'imageId': '68138806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138809&x=5441',
		'title': '',
		'imageId': '68138809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138818&x=5441',
		'title': '',
		'imageId': '68138818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138812&x=5441',
		'title': '',
		'imageId': '68138812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930572&docid=68138815&x=5441',
		'title': '',
		'imageId': '68138815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930572';

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