var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215644&x=5313',
		'title': '',
		'imageId': '70215644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215648&x=5313',
		'title': '',
		'imageId': '70215648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215647&x=5313',
		'title': '',
		'imageId': '70215647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215649&x=5313',
		'title': '',
		'imageId': '70215649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215666&x=5313',
		'title': '',
		'imageId': '70215666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215654&x=5313',
		'title': '',
		'imageId': '70215654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215667&x=5313',
		'title': '',
		'imageId': '70215667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215664&x=5313',
		'title': '',
		'imageId': '70215664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215645&x=5313',
		'title': '',
		'imageId': '70215645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019469&docid=70215646&x=5313',
		'title': '',
		'imageId': '70215646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019469';

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