var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436114&x=3252',
		'title': '',
		'imageId': '68436114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436106&x=3252',
		'title': '',
		'imageId': '68436106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436108&x=3252',
		'title': '',
		'imageId': '68436108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436111&x=3252',
		'title': '',
		'imageId': '68436111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436112&x=3252',
		'title': '',
		'imageId': '68436112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436107&x=3252',
		'title': '',
		'imageId': '68436107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436109&x=3252',
		'title': '',
		'imageId': '68436109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436110&x=3252',
		'title': '',
		'imageId': '68436110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436113&x=3252',
		'title': '',
		'imageId': '68436113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436105&x=3252',
		'title': '',
		'imageId': '68436105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943814&docid=68436104&x=3252',
		'title': '',
		'imageId': '68436104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943814';

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