var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984907&docid=69375985&x=5054',
		'title': '',
		'imageId': '69375985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984907&docid=69375988&x=5054',
		'title': '',
		'imageId': '69375988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984907&docid=69375989&x=5054',
		'title': '',
		'imageId': '69375989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984907&docid=69375986&x=5054',
		'title': '',
		'imageId': '69375986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984907&docid=69375984&x=5054',
		'title': '',
		'imageId': '69375984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984907&docid=69375987&x=5054',
		'title': '',
		'imageId': '69375987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984907&docid=69375990&x=5054',
		'title': '',
		'imageId': '69375990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984907';

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