var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028132&x=2633',
		'title': '',
		'imageId': '70028132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028124&x=2633',
		'title': '',
		'imageId': '70028124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028131&x=2633',
		'title': '',
		'imageId': '70028131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028122&x=2633',
		'title': '',
		'imageId': '70028122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028123&x=2633',
		'title': '',
		'imageId': '70028123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028125&x=2633',
		'title': '',
		'imageId': '70028125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028126&x=2633',
		'title': '',
		'imageId': '70028126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028127&x=2633',
		'title': '',
		'imageId': '70028127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028128&x=2633',
		'title': '',
		'imageId': '70028128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028129&x=2633',
		'title': '',
		'imageId': '70028129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028130&x=2633',
		'title': '',
		'imageId': '70028130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012996&docid=70028263&x=2633',
		'title': '',
		'imageId': '70028263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012996';

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