var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109728&x=3834',
		'title': '',
		'imageId': '70109728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109732&x=3834',
		'title': '',
		'imageId': '70109732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109746&x=3834',
		'title': '',
		'imageId': '70109746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109733&x=3834',
		'title': '',
		'imageId': '70109733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109731&x=3834',
		'title': '',
		'imageId': '70109731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109730&x=3834',
		'title': '',
		'imageId': '70109730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109729&x=3834',
		'title': '',
		'imageId': '70109729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109739&x=3834',
		'title': '',
		'imageId': '70109739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109747&x=3834',
		'title': '',
		'imageId': '70109747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=70109750&x=3834',
		'title': '',
		'imageId': '70109750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=59270723&x=3834',
		'title': '',
		'imageId': '59270723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012874&docid=59270722&x=3834',
		'title': '',
		'imageId': '59270722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012874';

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