var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132222&x=2759',
		'title': '',
		'imageId': '70132222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132230&x=2759',
		'title': '',
		'imageId': '70132230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132234&x=2759',
		'title': '',
		'imageId': '70132234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132256&x=2759',
		'title': '',
		'imageId': '70132256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132296&x=2759',
		'title': '',
		'imageId': '70132296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132298&x=2759',
		'title': '',
		'imageId': '70132298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132305&x=2759',
		'title': '',
		'imageId': '70132305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132416&x=2759',
		'title': '',
		'imageId': '70132416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132557&x=2759',
		'title': '',
		'imageId': '70132557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132569&x=2759',
		'title': '',
		'imageId': '70132569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132620&x=2759',
		'title': '',
		'imageId': '70132620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016483&docid=70132698&x=2759',
		'title': '',
		'imageId': '70132698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016483';

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