var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514060&x=1447',
		'title': '',
		'imageId': '68514060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514062&x=1447',
		'title': '',
		'imageId': '68514062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514059&x=1447',
		'title': '',
		'imageId': '68514059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514058&x=1447',
		'title': '',
		'imageId': '68514058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514064&x=1447',
		'title': '',
		'imageId': '68514064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514065&x=1447',
		'title': '',
		'imageId': '68514065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514068&x=1447',
		'title': '',
		'imageId': '68514068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514070&x=1447',
		'title': '',
		'imageId': '68514070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514069&x=1447',
		'title': '',
		'imageId': '68514069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514063&x=1447',
		'title': '',
		'imageId': '68514063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947152&docid=68514071&x=1447',
		'title': '',
		'imageId': '68514071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947152';

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