var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898780&x=2031',
		'title': '',
		'imageId': '69898780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898876&x=2031',
		'title': '',
		'imageId': '69898876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898800&x=2031',
		'title': '',
		'imageId': '69898800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898804&x=2031',
		'title': '',
		'imageId': '69898804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898819&x=2031',
		'title': '',
		'imageId': '69898819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898839&x=2031',
		'title': '',
		'imageId': '69898839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898812&x=2031',
		'title': '',
		'imageId': '69898812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898801&x=2031',
		'title': '',
		'imageId': '69898801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898809&x=2031',
		'title': '',
		'imageId': '69898809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898816&x=2031',
		'title': '',
		'imageId': '69898816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012620&docid=69898823&x=2031',
		'title': '',
		'imageId': '69898823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012620';

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