var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900205&x=2812',
		'title': '',
		'imageId': '69900205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900030&x=2812',
		'title': '',
		'imageId': '69900030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900099&x=2812',
		'title': '',
		'imageId': '69900099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900103&x=2812',
		'title': '',
		'imageId': '69900103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900116&x=2812',
		'title': '',
		'imageId': '69900116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900146&x=2812',
		'title': '',
		'imageId': '69900146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900135&x=2812',
		'title': '',
		'imageId': '69900135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900169&x=2812',
		'title': '',
		'imageId': '69900169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900208&x=2812',
		'title': '',
		'imageId': '69900208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900215&x=2812',
		'title': '',
		'imageId': '69900215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900232&x=2812',
		'title': '',
		'imageId': '69900232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007664&docid=69900239&x=2812',
		'title': '',
		'imageId': '69900239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007664';

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