var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807035&x=4641',
		'title': '',
		'imageId': '68807035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807034&x=4641',
		'title': '',
		'imageId': '68807034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807031&x=4641',
		'title': '',
		'imageId': '68807031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807036&x=4641',
		'title': '',
		'imageId': '68807036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807030&x=4641',
		'title': '',
		'imageId': '68807030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807029&x=4641',
		'title': '',
		'imageId': '68807029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807039&x=4641',
		'title': '',
		'imageId': '68807039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807038&x=4641',
		'title': '',
		'imageId': '68807038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807033&x=4641',
		'title': '',
		'imageId': '68807033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807037&x=4641',
		'title': '',
		'imageId': '68807037',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959407&docid=68807032&x=4641',
		'title': '',
		'imageId': '68807032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959407';

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