var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184231&x=4317',
		'title': '',
		'imageId': '70184231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184233&x=4317',
		'title': '',
		'imageId': '70184233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184235&x=4317',
		'title': '',
		'imageId': '70184235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184238&x=4317',
		'title': '',
		'imageId': '70184238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184256&x=4317',
		'title': '',
		'imageId': '70184256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184246&x=4317',
		'title': '',
		'imageId': '70184246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184249&x=4317',
		'title': '',
		'imageId': '70184249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184239&x=4317',
		'title': '',
		'imageId': '70184239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184253&x=4317',
		'title': '',
		'imageId': '70184253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184260&x=4317',
		'title': '',
		'imageId': '70184260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184257&x=4317',
		'title': '',
		'imageId': '70184257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184242&x=4317',
		'title': '',
		'imageId': '70184242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184265&x=4317',
		'title': '',
		'imageId': '70184265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184266&x=4317',
		'title': '',
		'imageId': '70184266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184269&x=4317',
		'title': '',
		'imageId': '70184269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018331&docid=70184230&x=4317',
		'title': '',
		'imageId': '70184230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018331';

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