var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486223&x=5458',
		'title': '',
		'imageId': '68486223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486227&x=5458',
		'title': '',
		'imageId': '68486227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486235&x=5458',
		'title': '',
		'imageId': '68486235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486239&x=5458',
		'title': '',
		'imageId': '68486239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486242&x=5458',
		'title': '',
		'imageId': '68486242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486245&x=5458',
		'title': '',
		'imageId': '68486245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486248&x=5458',
		'title': '',
		'imageId': '68486248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486251&x=5458',
		'title': '',
		'imageId': '68486251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486257&x=5458',
		'title': '',
		'imageId': '68486257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946067&docid=68486260&x=5458',
		'title': '',
		'imageId': '68486260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946067';

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