var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931813&docid=68161363&x=3724',
		'title': '',
		'imageId': '68161363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931813&docid=68161364&x=3724',
		'title': '',
		'imageId': '68161364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931813&docid=68161365&x=3724',
		'title': '',
		'imageId': '68161365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931813&docid=68161366&x=3724',
		'title': '',
		'imageId': '68161366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931813&docid=68161367&x=3724',
		'title': '',
		'imageId': '68161367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931813&docid=68161368&x=3724',
		'title': '',
		'imageId': '68161368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931813&docid=68161369&x=3724',
		'title': '',
		'imageId': '68161369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931813';

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