var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841919&x=4531',
		'title': '',
		'imageId': '68841919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841920&x=4531',
		'title': '',
		'imageId': '68841920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841921&x=4531',
		'title': '',
		'imageId': '68841921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841923&x=4531',
		'title': '',
		'imageId': '68841923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841922&x=4531',
		'title': '',
		'imageId': '68841922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841928&x=4531',
		'title': '',
		'imageId': '68841928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841931&x=4531',
		'title': '',
		'imageId': '68841931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841934&x=4531',
		'title': '',
		'imageId': '68841934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841935&x=4531',
		'title': '',
		'imageId': '68841935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961487&docid=68841918&x=4531',
		'title': '',
		'imageId': '68841918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961487';

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