var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277858&x=2449',
		'title': '',
		'imageId': '7277858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277869&x=2449',
		'title': '',
		'imageId': '7277869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277873&x=2449',
		'title': '',
		'imageId': '7277873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277879&x=2449',
		'title': '',
		'imageId': '7277879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277882&x=2449',
		'title': '',
		'imageId': '7277882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277885&x=2449',
		'title': '',
		'imageId': '7277885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277888&x=2449',
		'title': '',
		'imageId': '7277888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277891&x=2449',
		'title': '',
		'imageId': '7277891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277894&x=2449',
		'title': '',
		'imageId': '7277894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277876&x=2449',
		'title': '',
		'imageId': '7277876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277898&x=2449',
		'title': '',
		'imageId': '7277898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914146&docid=7277905&x=2449',
		'title': '',
		'imageId': '7277905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #914146';

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