var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375491&x=4547',
		'title': '',
		'imageId': '67375491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375489&x=4547',
		'title': '',
		'imageId': '67375489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375487&x=4547',
		'title': '',
		'imageId': '67375487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375488&x=4547',
		'title': '',
		'imageId': '67375488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375490&x=4547',
		'title': '',
		'imageId': '67375490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375484&x=4547',
		'title': '',
		'imageId': '67375484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375485&x=4547',
		'title': '',
		'imageId': '67375485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375482&x=4547',
		'title': '',
		'imageId': '67375482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375486&x=4547',
		'title': '',
		'imageId': '67375486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912830&docid=67375483&x=4547',
		'title': '',
		'imageId': '67375483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912830';

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