var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381962&x=2827',
		'title': '',
		'imageId': '68381962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381963&x=2827',
		'title': '',
		'imageId': '68381963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381964&x=2827',
		'title': '',
		'imageId': '68381964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381965&x=2827',
		'title': '',
		'imageId': '68381965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381966&x=2827',
		'title': '',
		'imageId': '68381966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381969&x=2827',
		'title': '',
		'imageId': '68381969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381978&x=2827',
		'title': '',
		'imageId': '68381978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381979&x=2827',
		'title': '',
		'imageId': '68381979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381980&x=2827',
		'title': '',
		'imageId': '68381980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940828&docid=68381961&x=2827',
		'title': '',
		'imageId': '68381961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940828';

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