var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68482996&x=539',
		'title': '',
		'imageId': '68482996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68483042&x=539',
		'title': '',
		'imageId': '68483042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68482995&x=539',
		'title': '',
		'imageId': '68482995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68482997&x=539',
		'title': '',
		'imageId': '68482997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68483041&x=539',
		'title': '',
		'imageId': '68483041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68482998&x=539',
		'title': '',
		'imageId': '68482998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68483039&x=539',
		'title': '',
		'imageId': '68483039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68482999&x=539',
		'title': '',
		'imageId': '68482999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68483040&x=539',
		'title': '',
		'imageId': '68483040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68482994&x=539',
		'title': '',
		'imageId': '68482994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945795&docid=68482993&x=539',
		'title': '',
		'imageId': '68482993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945795';

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