var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318461&x=1732',
		'title': '',
		'imageId': '70318461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318460&x=1732',
		'title': '',
		'imageId': '70318460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318467&x=1732',
		'title': '',
		'imageId': '70318467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318463&x=1732',
		'title': '',
		'imageId': '70318463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318462&x=1732',
		'title': '',
		'imageId': '70318462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318465&x=1732',
		'title': '',
		'imageId': '70318465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318464&x=1732',
		'title': '',
		'imageId': '70318464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023956&docid=70318466&x=1732',
		'title': '',
		'imageId': '70318466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023956';

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