var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826917&x=37',
		'title': '',
		'imageId': '69826917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826923&x=37',
		'title': '',
		'imageId': '69826923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826918&x=37',
		'title': '',
		'imageId': '69826918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826919&x=37',
		'title': '',
		'imageId': '69826919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826920&x=37',
		'title': '',
		'imageId': '69826920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826921&x=37',
		'title': '',
		'imageId': '69826921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826924&x=37',
		'title': '',
		'imageId': '69826924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826922&x=37',
		'title': '',
		'imageId': '69826922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826925&x=37',
		'title': '',
		'imageId': '69826925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826926&x=37',
		'title': '',
		'imageId': '69826926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004643&docid=69826927&x=37',
		'title': '',
		'imageId': '69826927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004643';

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