var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148312&x=1628',
		'title': '',
		'imageId': '69148312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148359&x=1628',
		'title': '',
		'imageId': '69148359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148313&x=1628',
		'title': '',
		'imageId': '69148313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148315&x=1628',
		'title': '',
		'imageId': '69148315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148319&x=1628',
		'title': '',
		'imageId': '69148319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148320&x=1628',
		'title': '',
		'imageId': '69148320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148316&x=1628',
		'title': '',
		'imageId': '69148316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148318&x=1628',
		'title': '',
		'imageId': '69148318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148321&x=1628',
		'title': '',
		'imageId': '69148321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148317&x=1628',
		'title': '',
		'imageId': '69148317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975167&docid=69148314&x=1628',
		'title': '',
		'imageId': '69148314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975167';

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