var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3889025&docid=65656086&x=3341',
		'title': '',
		'imageId': '65656086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889025&docid=65656088&x=3341',
		'title': '',
		'imageId': '65656088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889025&docid=65656093&x=3341',
		'title': '',
		'imageId': '65656093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889025&docid=65656094&x=3341',
		'title': '',
		'imageId': '65656094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889025&docid=65656089&x=3341',
		'title': '',
		'imageId': '65656089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889025&docid=65656095&x=3341',
		'title': '',
		'imageId': '65656095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889025&docid=65656090&x=3341',
		'title': '',
		'imageId': '65656090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3889025';

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