var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207164&x=410',
		'title': '',
		'imageId': '70207164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207165&x=410',
		'title': '',
		'imageId': '70207165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207166&x=410',
		'title': '',
		'imageId': '70207166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207167&x=410',
		'title': '',
		'imageId': '70207167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207168&x=410',
		'title': '',
		'imageId': '70207168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207169&x=410',
		'title': '',
		'imageId': '70207169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207163&x=410',
		'title': '',
		'imageId': '70207163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207176&x=410',
		'title': '',
		'imageId': '70207176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207185&x=410',
		'title': '',
		'imageId': '70207185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019111&docid=70207191&x=410',
		'title': '',
		'imageId': '70207191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019111';

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