var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821054&x=3518',
		'title': '',
		'imageId': '67821054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821055&x=3518',
		'title': '',
		'imageId': '67821055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821056&x=3518',
		'title': '',
		'imageId': '67821056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821057&x=3518',
		'title': '',
		'imageId': '67821057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821058&x=3518',
		'title': '',
		'imageId': '67821058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821061&x=3518',
		'title': '',
		'imageId': '67821061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821064&x=3518',
		'title': '',
		'imageId': '67821064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821067&x=3518',
		'title': '',
		'imageId': '67821067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821072&x=3518',
		'title': '',
		'imageId': '67821072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821075&x=3518',
		'title': '',
		'imageId': '67821075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916805&docid=67821053&x=3518',
		'title': '',
		'imageId': '67821053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916805';

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