var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975642&x=1853',
		'title': '',
		'imageId': '69975642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975643&x=1853',
		'title': '',
		'imageId': '69975643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975644&x=1853',
		'title': '',
		'imageId': '69975644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975645&x=1853',
		'title': '',
		'imageId': '69975645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975646&x=1853',
		'title': '',
		'imageId': '69975646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975647&x=1853',
		'title': '',
		'imageId': '69975647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975648&x=1853',
		'title': '',
		'imageId': '69975648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975649&x=1853',
		'title': '',
		'imageId': '69975649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010684&docid=69975650&x=1853',
		'title': '',
		'imageId': '69975650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010684';

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