var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628863&x=418',
		'title': '',
		'imageId': '68628863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628864&x=418',
		'title': '',
		'imageId': '68628864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628861&x=418',
		'title': '',
		'imageId': '68628861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628858&x=418',
		'title': '',
		'imageId': '68628858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628860&x=418',
		'title': '',
		'imageId': '68628860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628859&x=418',
		'title': '',
		'imageId': '68628859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628865&x=418',
		'title': '',
		'imageId': '68628865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628857&x=418',
		'title': '',
		'imageId': '68628857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628862&x=418',
		'title': '',
		'imageId': '68628862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628867&x=418',
		'title': '',
		'imageId': '68628867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951898&docid=68628866&x=418',
		'title': '',
		'imageId': '68628866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951898';

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