var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784244&x=1812',
		'title': '',
		'imageId': '68784244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784246&x=1812',
		'title': '',
		'imageId': '68784246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784248&x=1812',
		'title': '',
		'imageId': '68784248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784254&x=1812',
		'title': '',
		'imageId': '68784254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784253&x=1812',
		'title': '',
		'imageId': '68784253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784255&x=1812',
		'title': '',
		'imageId': '68784255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784245&x=1812',
		'title': '',
		'imageId': '68784245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784250&x=1812',
		'title': '',
		'imageId': '68784250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784251&x=1812',
		'title': '',
		'imageId': '68784251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784252&x=1812',
		'title': '',
		'imageId': '68784252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784249&x=1812',
		'title': '',
		'imageId': '68784249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958316&docid=68784243&x=1812',
		'title': '',
		'imageId': '68784243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958316';

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