var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521292&x=120',
		'title': '',
		'imageId': '70521292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521296&x=120',
		'title': '',
		'imageId': '70521296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521290&x=120',
		'title': '',
		'imageId': '70521290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521289&x=120',
		'title': '',
		'imageId': '70521289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521299&x=120',
		'title': '',
		'imageId': '70521299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521294&x=120',
		'title': '',
		'imageId': '70521294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521293&x=120',
		'title': '',
		'imageId': '70521293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521291&x=120',
		'title': '',
		'imageId': '70521291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521297&x=120',
		'title': '',
		'imageId': '70521297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4032476&docid=70521298&x=120',
		'title': '',
		'imageId': '70521298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4032476';

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