var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976500&x=3335',
		'title': '',
		'imageId': '68976500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976503&x=3335',
		'title': '',
		'imageId': '68976503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976505&x=3335',
		'title': '',
		'imageId': '68976505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976506&x=3335',
		'title': '',
		'imageId': '68976506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976501&x=3335',
		'title': '',
		'imageId': '68976501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976504&x=3335',
		'title': '',
		'imageId': '68976504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976507&x=3335',
		'title': '',
		'imageId': '68976507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976508&x=3335',
		'title': '',
		'imageId': '68976508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976502&x=3335',
		'title': '',
		'imageId': '68976502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967667&docid=68976509&x=3335',
		'title': '',
		'imageId': '68976509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967667';

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