var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645833&x=1530',
		'title': '',
		'imageId': '69645833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645834&x=1530',
		'title': '',
		'imageId': '69645834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645839&x=1530',
		'title': '',
		'imageId': '69645839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645835&x=1530',
		'title': '',
		'imageId': '69645835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645837&x=1530',
		'title': '',
		'imageId': '69645837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645841&x=1530',
		'title': '',
		'imageId': '69645841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645838&x=1530',
		'title': '',
		'imageId': '69645838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645843&x=1530',
		'title': '',
		'imageId': '69645843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645840&x=1530',
		'title': '',
		'imageId': '69645840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645842&x=1530',
		'title': '',
		'imageId': '69645842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997131&docid=69645836&x=1530',
		'title': '',
		'imageId': '69645836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997131';

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