var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69317993&x=4316',
		'title': '',
		'imageId': '69317993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318011&x=4316',
		'title': '',
		'imageId': '69318011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318021&x=4316',
		'title': '',
		'imageId': '69318021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318034&x=4316',
		'title': '',
		'imageId': '69318034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318053&x=4316',
		'title': '',
		'imageId': '69318053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318067&x=4316',
		'title': '',
		'imageId': '69318067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318072&x=4316',
		'title': '',
		'imageId': '69318072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318077&x=4316',
		'title': '',
		'imageId': '69318077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017081&docid=69318078&x=4316',
		'title': '',
		'imageId': '69318078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017081';

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