var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201285&x=5738',
		'title': '',
		'imageId': '70201285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201288&x=5738',
		'title': '',
		'imageId': '70201288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201289&x=5738',
		'title': '',
		'imageId': '70201289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201290&x=5738',
		'title': '',
		'imageId': '70201290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201292&x=5738',
		'title': '',
		'imageId': '70201292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201293&x=5738',
		'title': '',
		'imageId': '70201293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201294&x=5738',
		'title': '',
		'imageId': '70201294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201295&x=5738',
		'title': '',
		'imageId': '70201295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201298&x=5738',
		'title': '',
		'imageId': '70201298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018847&docid=70201296&x=5738',
		'title': '',
		'imageId': '70201296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018847';

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