var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185657&x=3840',
		'title': '',
		'imageId': '69185657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185660&x=3840',
		'title': '',
		'imageId': '69185660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185656&x=3840',
		'title': '',
		'imageId': '69185656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185658&x=3840',
		'title': '',
		'imageId': '69185658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185662&x=3840',
		'title': '',
		'imageId': '69185662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185666&x=3840',
		'title': '',
		'imageId': '69185666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185659&x=3840',
		'title': '',
		'imageId': '69185659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185663&x=3840',
		'title': '',
		'imageId': '69185663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185661&x=3840',
		'title': '',
		'imageId': '69185661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185665&x=3840',
		'title': '',
		'imageId': '69185665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185664&x=3840',
		'title': '',
		'imageId': '69185664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976765&docid=69185692&x=3840',
		'title': '',
		'imageId': '69185692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976765';

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