var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525047&x=3733',
		'title': '',
		'imageId': '69525047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525053&x=3733',
		'title': '',
		'imageId': '69525053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525056&x=3733',
		'title': '',
		'imageId': '69525056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525059&x=3733',
		'title': '',
		'imageId': '69525059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525062&x=3733',
		'title': '',
		'imageId': '69525062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525068&x=3733',
		'title': '',
		'imageId': '69525068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525085&x=3733',
		'title': '',
		'imageId': '69525085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525088&x=3733',
		'title': '',
		'imageId': '69525088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525091&x=3733',
		'title': '',
		'imageId': '69525091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007271&docid=69525094&x=3733',
		'title': '',
		'imageId': '69525094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007271';

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