var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964968&x=1832',
		'title': '',
		'imageId': '68964968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964966&x=1832',
		'title': '',
		'imageId': '68964966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964972&x=1832',
		'title': '',
		'imageId': '68964972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964974&x=1832',
		'title': '',
		'imageId': '68964974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964970&x=1832',
		'title': '',
		'imageId': '68964970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964971&x=1832',
		'title': '',
		'imageId': '68964971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964975&x=1832',
		'title': '',
		'imageId': '68964975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964969&x=1832',
		'title': '',
		'imageId': '68964969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964964&x=1832',
		'title': '',
		'imageId': '68964964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964973&x=1832',
		'title': '',
		'imageId': '68964973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966572&docid=68964965&x=1832',
		'title': '',
		'imageId': '68964965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966572';

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