var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470476&x=1050',
		'title': '',
		'imageId': '68470476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470477&x=1050',
		'title': '',
		'imageId': '68470477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470478&x=1050',
		'title': '',
		'imageId': '68470478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470479&x=1050',
		'title': '',
		'imageId': '68470479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470480&x=1050',
		'title': '',
		'imageId': '68470480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470481&x=1050',
		'title': '',
		'imageId': '68470481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470482&x=1050',
		'title': '',
		'imageId': '68470482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470483&x=1050',
		'title': '',
		'imageId': '68470483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945310&docid=68470484&x=1050',
		'title': '',
		'imageId': '68470484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945310';

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