var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157476&x=5258',
		'title': '',
		'imageId': '69157476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157478&x=5258',
		'title': '',
		'imageId': '69157478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157479&x=5258',
		'title': '',
		'imageId': '69157479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157480&x=5258',
		'title': '',
		'imageId': '69157480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157481&x=5258',
		'title': '',
		'imageId': '69157481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157482&x=5258',
		'title': '',
		'imageId': '69157482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157483&x=5258',
		'title': '',
		'imageId': '69157483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157484&x=5258',
		'title': '',
		'imageId': '69157484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157485&x=5258',
		'title': '',
		'imageId': '69157485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157486&x=5258',
		'title': '',
		'imageId': '69157486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157487&x=5258',
		'title': '',
		'imageId': '69157487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157488&x=5258',
		'title': '',
		'imageId': '69157488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157489&x=5258',
		'title': '',
		'imageId': '69157489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157490&x=5258',
		'title': '',
		'imageId': '69157490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157491&x=5258',
		'title': '',
		'imageId': '69157491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157492&x=5258',
		'title': '',
		'imageId': '69157492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157493&x=5258',
		'title': '',
		'imageId': '69157493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157494&x=5258',
		'title': '',
		'imageId': '69157494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157495&x=5258',
		'title': '',
		'imageId': '69157495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975450&docid=69157496&x=5258',
		'title': '',
		'imageId': '69157496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975450';

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