var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672582&x=2517',
		'title': '',
		'imageId': '67672582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672583&x=2517',
		'title': '',
		'imageId': '67672583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672589&x=2517',
		'title': '',
		'imageId': '67672589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672588&x=2517',
		'title': '',
		'imageId': '67672588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672586&x=2517',
		'title': '',
		'imageId': '67672586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672590&x=2517',
		'title': '',
		'imageId': '67672590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672584&x=2517',
		'title': '',
		'imageId': '67672584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672580&x=2517',
		'title': '',
		'imageId': '67672580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672587&x=2517',
		'title': '',
		'imageId': '67672587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672581&x=2517',
		'title': '',
		'imageId': '67672581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915118&docid=67672585&x=2517',
		'title': '',
		'imageId': '67672585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915118';

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