var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341306&x=159',
		'title': '',
		'imageId': '68341306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341305&x=159',
		'title': '',
		'imageId': '68341305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341311&x=159',
		'title': '',
		'imageId': '68341311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341308&x=159',
		'title': '',
		'imageId': '68341308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341314&x=159',
		'title': '',
		'imageId': '68341314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341313&x=159',
		'title': '',
		'imageId': '68341313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341307&x=159',
		'title': '',
		'imageId': '68341307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341309&x=159',
		'title': '',
		'imageId': '68341309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341312&x=159',
		'title': '',
		'imageId': '68341312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938872&docid=68341310&x=159',
		'title': '',
		'imageId': '68341310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938872';

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