var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242258&x=2710',
		'title': '',
		'imageId': '70242258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242265&x=2710',
		'title': '',
		'imageId': '70242265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242259&x=2710',
		'title': '',
		'imageId': '70242259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242264&x=2710',
		'title': '',
		'imageId': '70242264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242256&x=2710',
		'title': '',
		'imageId': '70242256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242257&x=2710',
		'title': '',
		'imageId': '70242257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242263&x=2710',
		'title': '',
		'imageId': '70242263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242267&x=2710',
		'title': '',
		'imageId': '70242267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242260&x=2710',
		'title': '',
		'imageId': '70242260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242262&x=2710',
		'title': '',
		'imageId': '70242262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242261&x=2710',
		'title': '',
		'imageId': '70242261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020426&docid=70242266&x=2710',
		'title': '',
		'imageId': '70242266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020426';

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