var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748771&x=2930',
		'title': '',
		'imageId': '68748771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748766&x=2930',
		'title': '',
		'imageId': '68748766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748767&x=2930',
		'title': '',
		'imageId': '68748767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748762&x=2930',
		'title': '',
		'imageId': '68748762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748763&x=2930',
		'title': '',
		'imageId': '68748763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748764&x=2930',
		'title': '',
		'imageId': '68748764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748765&x=2930',
		'title': '',
		'imageId': '68748765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748768&x=2930',
		'title': '',
		'imageId': '68748768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748769&x=2930',
		'title': '',
		'imageId': '68748769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985652&docid=68748772&x=2930',
		'title': '',
		'imageId': '68748772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985652';

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