var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057114&x=5952',
		'title': '',
		'imageId': '69057114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057123&x=5952',
		'title': '',
		'imageId': '69057123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057121&x=5952',
		'title': '',
		'imageId': '69057121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057119&x=5952',
		'title': '',
		'imageId': '69057119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057118&x=5952',
		'title': '',
		'imageId': '69057118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057113&x=5952',
		'title': '',
		'imageId': '69057113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057117&x=5952',
		'title': '',
		'imageId': '69057117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057115&x=5952',
		'title': '',
		'imageId': '69057115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057116&x=5952',
		'title': '',
		'imageId': '69057116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057122&x=5952',
		'title': '',
		'imageId': '69057122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971732&docid=69057120&x=5952',
		'title': '',
		'imageId': '69057120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971732';

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