var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215767&x=5955',
		'title': '',
		'imageId': '68215767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215772&x=5955',
		'title': '',
		'imageId': '68215772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215771&x=5955',
		'title': '',
		'imageId': '68215771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215769&x=5955',
		'title': '',
		'imageId': '68215769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215768&x=5955',
		'title': '',
		'imageId': '68215768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215775&x=5955',
		'title': '',
		'imageId': '68215775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215773&x=5955',
		'title': '',
		'imageId': '68215773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215776&x=5955',
		'title': '',
		'imageId': '68215776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215770&x=5955',
		'title': '',
		'imageId': '68215770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215774&x=5955',
		'title': '',
		'imageId': '68215774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933495&docid=68215800&x=5955',
		'title': '',
		'imageId': '68215800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933495';

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