var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551676&x=3110',
		'title': '',
		'imageId': '30551676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551677&x=3110',
		'title': '',
		'imageId': '30551677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551674&x=3110',
		'title': '',
		'imageId': '30551674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551673&x=3110',
		'title': '',
		'imageId': '30551673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551694&x=3110',
		'title': '',
		'imageId': '30551694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551675&x=3110',
		'title': '',
		'imageId': '30551675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551672&x=3110',
		'title': '',
		'imageId': '30551672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551693&x=3110',
		'title': '',
		'imageId': '30551693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551692&x=3110',
		'title': '',
		'imageId': '30551692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=30551695&x=3110',
		'title': '',
		'imageId': '30551695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=2277354&docid=31682563&x=3110',
		'title': '',
		'imageId': '31682563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #2277354';

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