var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367678&x=3039',
		'title': '',
		'imageId': '67367678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367680&x=3039',
		'title': '',
		'imageId': '67367680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367675&x=3039',
		'title': '',
		'imageId': '67367675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367674&x=3039',
		'title': '',
		'imageId': '67367674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367673&x=3039',
		'title': '',
		'imageId': '67367673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367676&x=3039',
		'title': '',
		'imageId': '67367676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367681&x=3039',
		'title': '',
		'imageId': '67367681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367683&x=3039',
		'title': '',
		'imageId': '67367683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367677&x=3039',
		'title': '',
		'imageId': '67367677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367682&x=3039',
		'title': '',
		'imageId': '67367682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367672&x=3039',
		'title': '',
		'imageId': '67367672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923411&docid=67367679&x=3039',
		'title': '',
		'imageId': '67367679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923411';

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