var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916594&x=557',
		'title': '',
		'imageId': '69916594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916597&x=557',
		'title': '',
		'imageId': '69916597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916600&x=557',
		'title': '',
		'imageId': '69916600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916603&x=557',
		'title': '',
		'imageId': '69916603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916606&x=557',
		'title': '',
		'imageId': '69916606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916609&x=557',
		'title': '',
		'imageId': '69916609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916612&x=557',
		'title': '',
		'imageId': '69916612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916615&x=557',
		'title': '',
		'imageId': '69916615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916618&x=557',
		'title': '',
		'imageId': '69916618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008278&docid=69916621&x=557',
		'title': '',
		'imageId': '69916621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008278';

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