var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206939&x=67',
		'title': '',
		'imageId': '70206939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206934&x=67',
		'title': '',
		'imageId': '70206934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206938&x=67',
		'title': '',
		'imageId': '70206938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206932&x=67',
		'title': '',
		'imageId': '70206932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206936&x=67',
		'title': '',
		'imageId': '70206936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206935&x=67',
		'title': '',
		'imageId': '70206935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206937&x=67',
		'title': '',
		'imageId': '70206937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70207089&x=67',
		'title': '',
		'imageId': '70207089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70207090&x=67',
		'title': '',
		'imageId': '70207090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019107&docid=70206933&x=67',
		'title': '',
		'imageId': '70206933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019107';

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