var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835090&x=1333',
		'title': '',
		'imageId': '68835090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835086&x=1333',
		'title': '',
		'imageId': '68835086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835087&x=1333',
		'title': '',
		'imageId': '68835087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835088&x=1333',
		'title': '',
		'imageId': '68835088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835085&x=1333',
		'title': '',
		'imageId': '68835085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835084&x=1333',
		'title': '',
		'imageId': '68835084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835094&x=1333',
		'title': '',
		'imageId': '68835094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835091&x=1333',
		'title': '',
		'imageId': '68835091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835089&x=1333',
		'title': '',
		'imageId': '68835089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835093&x=1333',
		'title': '',
		'imageId': '68835093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835083&x=1333',
		'title': '',
		'imageId': '68835083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960176&docid=68835082&x=1333',
		'title': '',
		'imageId': '68835082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960176';

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