var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825827&x=5636',
		'title': '',
		'imageId': '68825827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825826&x=5636',
		'title': '',
		'imageId': '68825826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825828&x=5636',
		'title': '',
		'imageId': '68825828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825830&x=5636',
		'title': '',
		'imageId': '68825830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825829&x=5636',
		'title': '',
		'imageId': '68825829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825831&x=5636',
		'title': '',
		'imageId': '68825831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825834&x=5636',
		'title': '',
		'imageId': '68825834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825832&x=5636',
		'title': '',
		'imageId': '68825832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825833&x=5636',
		'title': '',
		'imageId': '68825833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948027&docid=68825867&x=5636',
		'title': '',
		'imageId': '68825867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948027';

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