var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167443&x=2956',
		'title': '',
		'imageId': '67167443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167444&x=2956',
		'title': '',
		'imageId': '67167444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167445&x=2956',
		'title': '',
		'imageId': '67167445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167446&x=2956',
		'title': '',
		'imageId': '67167446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167447&x=2956',
		'title': '',
		'imageId': '67167447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167448&x=2956',
		'title': '',
		'imageId': '67167448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167449&x=2956',
		'title': '',
		'imageId': '67167449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167450&x=2956',
		'title': '',
		'imageId': '67167450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167451&x=2956',
		'title': '',
		'imageId': '67167451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890875&docid=67167452&x=2956',
		'title': '',
		'imageId': '67167452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3890875';

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