var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266876&x=529',
		'title': '',
		'imageId': '69266876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266885&x=529',
		'title': '',
		'imageId': '69266885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266881&x=529',
		'title': '',
		'imageId': '69266881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266880&x=529',
		'title': '',
		'imageId': '69266880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266882&x=529',
		'title': '',
		'imageId': '69266882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266884&x=529',
		'title': '',
		'imageId': '69266884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266883&x=529',
		'title': '',
		'imageId': '69266883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266878&x=529',
		'title': '',
		'imageId': '69266878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266879&x=529',
		'title': '',
		'imageId': '69266879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266877&x=529',
		'title': '',
		'imageId': '69266877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980137&docid=69266875&x=529',
		'title': '',
		'imageId': '69266875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980137';

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