var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877098&x=843',
		'title': '',
		'imageId': '68877098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877099&x=843',
		'title': '',
		'imageId': '68877099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877100&x=843',
		'title': '',
		'imageId': '68877100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877101&x=843',
		'title': '',
		'imageId': '68877101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877102&x=843',
		'title': '',
		'imageId': '68877102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877103&x=843',
		'title': '',
		'imageId': '68877103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877104&x=843',
		'title': '',
		'imageId': '68877104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877105&x=843',
		'title': '',
		'imageId': '68877105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877106&x=843',
		'title': '',
		'imageId': '68877106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962889&docid=68877107&x=843',
		'title': '',
		'imageId': '68877107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962889';

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