var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235309&x=3129',
		'title': '',
		'imageId': '68235309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235313&x=3129',
		'title': '',
		'imageId': '68235313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235319&x=3129',
		'title': '',
		'imageId': '68235319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235316&x=3129',
		'title': '',
		'imageId': '68235316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235311&x=3129',
		'title': '',
		'imageId': '68235311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235314&x=3129',
		'title': '',
		'imageId': '68235314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235318&x=3129',
		'title': '',
		'imageId': '68235318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235310&x=3129',
		'title': '',
		'imageId': '68235310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235312&x=3129',
		'title': '',
		'imageId': '68235312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235317&x=3129',
		'title': '',
		'imageId': '68235317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939020&docid=68235315&x=3129',
		'title': '',
		'imageId': '68235315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939020';

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