var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895228&x=2048',
		'title': '',
		'imageId': '68895228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895227&x=2048',
		'title': '',
		'imageId': '68895227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895229&x=2048',
		'title': '',
		'imageId': '68895229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895226&x=2048',
		'title': '',
		'imageId': '68895226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895676&x=2048',
		'title': '',
		'imageId': '68895676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895679&x=2048',
		'title': '',
		'imageId': '68895679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895678&x=2048',
		'title': '',
		'imageId': '68895678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895677&x=2048',
		'title': '',
		'imageId': '68895677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895693&x=2048',
		'title': '',
		'imageId': '68895693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963653&docid=68895692&x=2048',
		'title': '',
		'imageId': '68895692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963653';

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