var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69147858&x=2719',
		'title': '',
		'imageId': '69147858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69147864&x=2719',
		'title': '',
		'imageId': '69147864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69147937&x=2719',
		'title': '',
		'imageId': '69147937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69147941&x=2719',
		'title': '',
		'imageId': '69147941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69147944&x=2719',
		'title': '',
		'imageId': '69147944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69147961&x=2719',
		'title': '',
		'imageId': '69147961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69148017&x=2719',
		'title': '',
		'imageId': '69148017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69148036&x=2719',
		'title': '',
		'imageId': '69148036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69148042&x=2719',
		'title': '',
		'imageId': '69148042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69148045&x=2719',
		'title': '',
		'imageId': '69148045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975078&docid=69293132&x=2719',
		'title': '',
		'imageId': '69293132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975078';

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