var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438908&x=4720',
		'title': '',
		'imageId': '68438908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438906&x=4720',
		'title': '',
		'imageId': '68438906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438910&x=4720',
		'title': '',
		'imageId': '68438910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438911&x=4720',
		'title': '',
		'imageId': '68438911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438915&x=4720',
		'title': '',
		'imageId': '68438915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438916&x=4720',
		'title': '',
		'imageId': '68438916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438912&x=4720',
		'title': '',
		'imageId': '68438912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438914&x=4720',
		'title': '',
		'imageId': '68438914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438909&x=4720',
		'title': '',
		'imageId': '68438909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438907&x=4720',
		'title': '',
		'imageId': '68438907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943952&docid=68438913&x=4720',
		'title': '',
		'imageId': '68438913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943952';

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