var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581257&x=3429',
		'title': '',
		'imageId': '66581257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581258&x=3429',
		'title': '',
		'imageId': '66581258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581259&x=3429',
		'title': '',
		'imageId': '66581259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581260&x=3429',
		'title': '',
		'imageId': '66581260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581261&x=3429',
		'title': '',
		'imageId': '66581261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581262&x=3429',
		'title': '',
		'imageId': '66581262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581263&x=3429',
		'title': '',
		'imageId': '66581263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581264&x=3429',
		'title': '',
		'imageId': '66581264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581265&x=3429',
		'title': '',
		'imageId': '66581265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581266&x=3429',
		'title': '',
		'imageId': '66581266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581267&x=3429',
		'title': '',
		'imageId': '66581267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866932&docid=66581268&x=3429',
		'title': '',
		'imageId': '66581268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3866932';

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