var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186959&x=3028',
		'title': '',
		'imageId': '69186959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186955&x=3028',
		'title': '',
		'imageId': '69186955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186956&x=3028',
		'title': '',
		'imageId': '69186956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186962&x=3028',
		'title': '',
		'imageId': '69186962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186964&x=3028',
		'title': '',
		'imageId': '69186964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186961&x=3028',
		'title': '',
		'imageId': '69186961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186965&x=3028',
		'title': '',
		'imageId': '69186965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186960&x=3028',
		'title': '',
		'imageId': '69186960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186963&x=3028',
		'title': '',
		'imageId': '69186963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186957&x=3028',
		'title': '',
		'imageId': '69186957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976809&docid=69186958&x=3028',
		'title': '',
		'imageId': '69186958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976809';

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