var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625281&x=484',
		'title': '',
		'imageId': '625281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625282&x=484',
		'title': '',
		'imageId': '625282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625283&x=484',
		'title': '',
		'imageId': '625283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625284&x=484',
		'title': '',
		'imageId': '625284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625285&x=484',
		'title': '',
		'imageId': '625285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625286&x=484',
		'title': '',
		'imageId': '625286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625287&x=484',
		'title': '',
		'imageId': '625287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179460&docid=625288&x=484',
		'title': '',
		'imageId': '625288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179460';

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