var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4034695&docid=70582880&x=1346',
		'title': '',
		'imageId': '70582880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034695&docid=70582878&x=1346',
		'title': '',
		'imageId': '70582878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034695&docid=70582881&x=1346',
		'title': '',
		'imageId': '70582881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034695&docid=70582884&x=1346',
		'title': '',
		'imageId': '70582884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034695&docid=70582879&x=1346',
		'title': '',
		'imageId': '70582879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034695&docid=70582882&x=1346',
		'title': '',
		'imageId': '70582882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4034695&docid=70582883&x=1346',
		'title': '',
		'imageId': '70582883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4034695';

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