var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886429&x=4830',
		'title': '',
		'imageId': '69886429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886425&x=4830',
		'title': '',
		'imageId': '69886425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886418&x=4830',
		'title': '',
		'imageId': '69886418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886422&x=4830',
		'title': '',
		'imageId': '69886422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886420&x=4830',
		'title': '',
		'imageId': '69886420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886423&x=4830',
		'title': '',
		'imageId': '69886423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886424&x=4830',
		'title': '',
		'imageId': '69886424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886427&x=4830',
		'title': '',
		'imageId': '69886427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886419&x=4830',
		'title': '',
		'imageId': '69886419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886428&x=4830',
		'title': '',
		'imageId': '69886428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886421&x=4830',
		'title': '',
		'imageId': '69886421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007334&docid=69886426&x=4830',
		'title': '',
		'imageId': '69886426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007334';

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