var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642367&x=5534',
		'title': '',
		'imageId': '68642367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642366&x=5534',
		'title': '',
		'imageId': '68642366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642370&x=5534',
		'title': '',
		'imageId': '68642370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642365&x=5534',
		'title': '',
		'imageId': '68642365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642373&x=5534',
		'title': '',
		'imageId': '68642373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642374&x=5534',
		'title': '',
		'imageId': '68642374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642371&x=5534',
		'title': '',
		'imageId': '68642371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642368&x=5534',
		'title': '',
		'imageId': '68642368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642372&x=5534',
		'title': '',
		'imageId': '68642372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952601&docid=68642369&x=5534',
		'title': '',
		'imageId': '68642369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952601';

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