var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070183&x=4032',
		'title': '',
		'imageId': '69070183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070186&x=4032',
		'title': '',
		'imageId': '69070186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070178&x=4032',
		'title': '',
		'imageId': '69070178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070181&x=4032',
		'title': '',
		'imageId': '69070181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070185&x=4032',
		'title': '',
		'imageId': '69070185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070180&x=4032',
		'title': '',
		'imageId': '69070180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070187&x=4032',
		'title': '',
		'imageId': '69070187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070182&x=4032',
		'title': '',
		'imageId': '69070182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070184&x=4032',
		'title': '',
		'imageId': '69070184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070179&x=4032',
		'title': '',
		'imageId': '69070179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070177&x=4032',
		'title': '',
		'imageId': '69070177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972054&docid=69070176&x=4032',
		'title': '',
		'imageId': '69070176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972054';

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