var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240864&x=814',
		'title': '',
		'imageId': '69240864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240866&x=814',
		'title': '',
		'imageId': '69240866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240867&x=814',
		'title': '',
		'imageId': '69240867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240868&x=814',
		'title': '',
		'imageId': '69240868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240869&x=814',
		'title': '',
		'imageId': '69240869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240870&x=814',
		'title': '',
		'imageId': '69240870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240872&x=814',
		'title': '',
		'imageId': '69240872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240873&x=814',
		'title': '',
		'imageId': '69240873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240874&x=814',
		'title': '',
		'imageId': '69240874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240875&x=814',
		'title': '',
		'imageId': '69240875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979313&docid=69240871&x=814',
		'title': '',
		'imageId': '69240871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979313';

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