var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207824&x=4339',
		'title': '',
		'imageId': '70207824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207825&x=4339',
		'title': '',
		'imageId': '70207825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207827&x=4339',
		'title': '',
		'imageId': '70207827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207828&x=4339',
		'title': '',
		'imageId': '70207828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207829&x=4339',
		'title': '',
		'imageId': '70207829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207830&x=4339',
		'title': '',
		'imageId': '70207830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207838&x=4339',
		'title': '',
		'imageId': '70207838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207843&x=4339',
		'title': '',
		'imageId': '70207843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207844&x=4339',
		'title': '',
		'imageId': '70207844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019138&docid=70207845&x=4339',
		'title': '',
		'imageId': '70207845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019138';

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