var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496454&x=4216',
		'title': '',
		'imageId': '2496454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496457&x=4216',
		'title': '',
		'imageId': '2496457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496460&x=4216',
		'title': '',
		'imageId': '2496460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496463&x=4216',
		'title': '',
		'imageId': '2496463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496466&x=4216',
		'title': '',
		'imageId': '2496466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496472&x=4216',
		'title': '',
		'imageId': '2496472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496475&x=4216',
		'title': '',
		'imageId': '2496475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496478&x=4216',
		'title': '',
		'imageId': '2496478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496481&x=4216',
		'title': '',
		'imageId': '2496481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496485&x=4216',
		'title': '',
		'imageId': '2496485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496491&x=4216',
		'title': '',
		'imageId': '2496491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=462448&docid=2496497&x=4216',
		'title': '',
		'imageId': '2496497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #462448';

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