var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419030&x=4415',
		'title': '',
		'imageId': '68419030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419021&x=4415',
		'title': '',
		'imageId': '68419021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419023&x=4415',
		'title': '',
		'imageId': '68419023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419029&x=4415',
		'title': '',
		'imageId': '68419029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419027&x=4415',
		'title': '',
		'imageId': '68419027',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419024&x=4415',
		'title': '',
		'imageId': '68419024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419026&x=4415',
		'title': '',
		'imageId': '68419026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419032&x=4415',
		'title': '',
		'imageId': '68419032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419025&x=4415',
		'title': '',
		'imageId': '68419025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419028&x=4415',
		'title': '',
		'imageId': '68419028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943258&docid=68419031&x=4415',
		'title': '',
		'imageId': '68419031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943258';

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