var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944494&x=1512',
		'title': '',
		'imageId': '68944494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944499&x=1512',
		'title': '',
		'imageId': '68944499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944498&x=1512',
		'title': '',
		'imageId': '68944498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944502&x=1512',
		'title': '',
		'imageId': '68944502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944496&x=1512',
		'title': '',
		'imageId': '68944496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944500&x=1512',
		'title': '',
		'imageId': '68944500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944495&x=1512',
		'title': '',
		'imageId': '68944495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944501&x=1512',
		'title': '',
		'imageId': '68944501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944493&x=1512',
		'title': '',
		'imageId': '68944493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965756&docid=68944497&x=1512',
		'title': '',
		'imageId': '68944497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965756';

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