var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058428&x=1614',
		'title': '',
		'imageId': '68058428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058427&x=1614',
		'title': '',
		'imageId': '68058427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058434&x=1614',
		'title': '',
		'imageId': '68058434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058429&x=1614',
		'title': '',
		'imageId': '68058429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058432&x=1614',
		'title': '',
		'imageId': '68058432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058431&x=1614',
		'title': '',
		'imageId': '68058431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058433&x=1614',
		'title': '',
		'imageId': '68058433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058430&x=1614',
		'title': '',
		'imageId': '68058430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058436&x=1614',
		'title': '',
		'imageId': '68058436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926718&docid=68058435&x=1614',
		'title': '',
		'imageId': '68058435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926718';

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