var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110017&x=510',
		'title': '',
		'imageId': '70110017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110015&x=510',
		'title': '',
		'imageId': '70110015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110013&x=510',
		'title': '',
		'imageId': '70110013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110014&x=510',
		'title': '',
		'imageId': '70110014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110010&x=510',
		'title': '',
		'imageId': '70110010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110008&x=510',
		'title': '',
		'imageId': '70110008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110011&x=510',
		'title': '',
		'imageId': '70110011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110012&x=510',
		'title': '',
		'imageId': '70110012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110018&x=510',
		'title': '',
		'imageId': '70110018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110009&x=510',
		'title': '',
		'imageId': '70110009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110016&x=510',
		'title': '',
		'imageId': '70110016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015888&docid=70110019&x=510',
		'title': '',
		'imageId': '70110019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015888';

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