var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215747&x=3327',
		'title': '',
		'imageId': '70215747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215746&x=3327',
		'title': '',
		'imageId': '70215746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215748&x=3327',
		'title': '',
		'imageId': '70215748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215749&x=3327',
		'title': '',
		'imageId': '70215749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215754&x=3327',
		'title': '',
		'imageId': '70215754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215767&x=3327',
		'title': '',
		'imageId': '70215767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215761&x=3327',
		'title': '',
		'imageId': '70215761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215762&x=3327',
		'title': '',
		'imageId': '70215762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215770&x=3327',
		'title': '',
		'imageId': '70215770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215744&x=3327',
		'title': '',
		'imageId': '70215744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019464&docid=70215745&x=3327',
		'title': '',
		'imageId': '70215745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019464';

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