var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870890&x=1352',
		'title': '',
		'imageId': '62870890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870929&x=1352',
		'title': '',
		'imageId': '62870929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870932&x=1352',
		'title': '',
		'imageId': '62870932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870935&x=1352',
		'title': '',
		'imageId': '62870935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870938&x=1352',
		'title': '',
		'imageId': '62870938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870941&x=1352',
		'title': '',
		'imageId': '62870941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870945&x=1352',
		'title': '',
		'imageId': '62870945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870948&x=1352',
		'title': '',
		'imageId': '62870948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870951&x=1352',
		'title': '',
		'imageId': '62870951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870960&x=1352',
		'title': '',
		'imageId': '62870960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991382&docid=62870975&x=1352',
		'title': '',
		'imageId': '62870975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991382';

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