var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830049&x=2829',
		'title': '',
		'imageId': '71830049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830053&x=2829',
		'title': '',
		'imageId': '71830053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830048&x=2829',
		'title': '',
		'imageId': '71830048',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830054&x=2829',
		'title': '',
		'imageId': '71830054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830052&x=2829',
		'title': '',
		'imageId': '71830052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830055&x=2829',
		'title': '',
		'imageId': '71830055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830051&x=2829',
		'title': '',
		'imageId': '71830051',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085778&docid=71830050&x=2829',
		'title': '',
		'imageId': '71830050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4085778';

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