var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925064&x=1210',
		'title': '',
		'imageId': '69925064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925063&x=1210',
		'title': '',
		'imageId': '69925063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925067&x=1210',
		'title': '',
		'imageId': '69925067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925065&x=1210',
		'title': '',
		'imageId': '69925065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925066&x=1210',
		'title': '',
		'imageId': '69925066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925061&x=1210',
		'title': '',
		'imageId': '69925061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925060&x=1210',
		'title': '',
		'imageId': '69925060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925058&x=1210',
		'title': '',
		'imageId': '69925058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925059&x=1210',
		'title': '',
		'imageId': '69925059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008538&docid=69925062&x=1210',
		'title': '',
		'imageId': '69925062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008538';

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