var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965563&x=2937',
		'title': '',
		'imageId': '69965563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965564&x=2937',
		'title': '',
		'imageId': '69965564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965565&x=2937',
		'title': '',
		'imageId': '69965565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965573&x=2937',
		'title': '',
		'imageId': '69965573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965572&x=2937',
		'title': '',
		'imageId': '69965572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965574&x=2937',
		'title': '',
		'imageId': '69965574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965575&x=2937',
		'title': '',
		'imageId': '69965575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965585&x=2937',
		'title': '',
		'imageId': '69965585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965584&x=2937',
		'title': '',
		'imageId': '69965584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965587&x=2937',
		'title': '',
		'imageId': '69965587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010147&docid=69965586&x=2937',
		'title': ' ',
		'imageId': '69965586',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010147';

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