var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900232&x=3325',
		'title': '',
		'imageId': '68900232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900233&x=3325',
		'title': '',
		'imageId': '68900233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900224&x=3325',
		'title': '',
		'imageId': '68900224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900234&x=3325',
		'title': '',
		'imageId': '68900234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900235&x=3325',
		'title': '',
		'imageId': '68900235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900236&x=3325',
		'title': '',
		'imageId': '68900236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900225&x=3325',
		'title': '',
		'imageId': '68900225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900226&x=3325',
		'title': '',
		'imageId': '68900226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900227&x=3325',
		'title': '',
		'imageId': '68900227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900228&x=3325',
		'title': '',
		'imageId': '68900228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900229&x=3325',
		'title': '',
		'imageId': '68900229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963889&docid=68900230&x=3325',
		'title': '',
		'imageId': '68900230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963889';

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