var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071315&x=3740',
		'title': '',
		'imageId': '68071315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071316&x=3740',
		'title': '',
		'imageId': '68071316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071317&x=3740',
		'title': '',
		'imageId': '68071317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071318&x=3740',
		'title': '',
		'imageId': '68071318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071319&x=3740',
		'title': '',
		'imageId': '68071319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071322&x=3740',
		'title': '',
		'imageId': '68071322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071325&x=3740',
		'title': '',
		'imageId': '68071325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071321&x=3740',
		'title': '',
		'imageId': '68071321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071323&x=3740',
		'title': '',
		'imageId': '68071323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071324&x=3740',
		'title': '',
		'imageId': '68071324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927332&docid=68071320&x=3740',
		'title': '',
		'imageId': '68071320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927332';

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