var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139566&x=533',
		'title': '',
		'imageId': '70139566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139573&x=533',
		'title': '',
		'imageId': '70139573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139571&x=533',
		'title': '',
		'imageId': '70139571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139570&x=533',
		'title': '',
		'imageId': '70139570',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139569&x=533',
		'title': '',
		'imageId': '70139569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139572&x=533',
		'title': '',
		'imageId': '70139572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139568&x=533',
		'title': '',
		'imageId': '70139568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139565&x=533',
		'title': '',
		'imageId': '70139565',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139575&x=533',
		'title': '',
		'imageId': '70139575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139574&x=533',
		'title': '',
		'imageId': '70139574',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016629&docid=70139567&x=533',
		'title': '',
		'imageId': '70139567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016629';

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