var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952628&docid=68643267&x=4837',
		'title': '',
		'imageId': '68643267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952628&docid=68643266&x=4837',
		'title': '',
		'imageId': '68643266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952628&docid=68643264&x=4837',
		'title': '',
		'imageId': '68643264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952628&docid=68643263&x=4837',
		'title': '',
		'imageId': '68643263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952628&docid=68643265&x=4837',
		'title': '',
		'imageId': '68643265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952628&docid=68643268&x=4837',
		'title': '',
		'imageId': '68643268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952628&docid=68643269&x=4837',
		'title': '',
		'imageId': '68643269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952628';

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