var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277123&x=1937',
		'title': '',
		'imageId': '69277123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277129&x=1937',
		'title': '',
		'imageId': '69277129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277120&x=1937',
		'title': '',
		'imageId': '69277120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277125&x=1937',
		'title': '',
		'imageId': '69277125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277122&x=1937',
		'title': '',
		'imageId': '69277122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277124&x=1937',
		'title': '',
		'imageId': '69277124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277126&x=1937',
		'title': '',
		'imageId': '69277126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277127&x=1937',
		'title': '',
		'imageId': '69277127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277128&x=1937',
		'title': '',
		'imageId': '69277128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69277121&x=1937',
		'title': '',
		'imageId': '69277121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69285434&x=1937',
		'title': '',
		'imageId': '69285434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980589&docid=69401712&x=1937',
		'title': '',
		'imageId': '69401712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980589';

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