var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657654&x=1050',
		'title': '',
		'imageId': '69657654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657662&x=1050',
		'title': '',
		'imageId': '69657662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657661&x=1050',
		'title': '',
		'imageId': '69657661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657659&x=1050',
		'title': '',
		'imageId': '69657659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657660&x=1050',
		'title': '',
		'imageId': '69657660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657653&x=1050',
		'title': '',
		'imageId': '69657653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657657&x=1050',
		'title': '',
		'imageId': '69657657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657658&x=1050',
		'title': '',
		'imageId': '69657658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657656&x=1050',
		'title': '',
		'imageId': '69657656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657655&x=1050',
		'title': '',
		'imageId': '69657655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657652&x=1050',
		'title': '',
		'imageId': '69657652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997872&docid=69657663&x=1050',
		'title': '',
		'imageId': '69657663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997872';

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