var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880903&x=517',
		'title': '',
		'imageId': '69880903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880906&x=517',
		'title': '',
		'imageId': '69880906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880908&x=517',
		'title': '',
		'imageId': '69880908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880909&x=517',
		'title': '',
		'imageId': '69880909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880905&x=517',
		'title': '',
		'imageId': '69880905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880911&x=517',
		'title': '',
		'imageId': '69880911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880910&x=517',
		'title': '',
		'imageId': '69880910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880904&x=517',
		'title': '',
		'imageId': '69880904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880902&x=517',
		'title': '',
		'imageId': '69880902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880901&x=517',
		'title': '',
		'imageId': '69880901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880907&x=517',
		'title': '',
		'imageId': '69880907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007073&docid=69880900&x=517',
		'title': '',
		'imageId': '69880900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007073';

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