var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094672&x=3134',
		'title': '',
		'imageId': '69094672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094674&x=3134',
		'title': '',
		'imageId': '69094674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094667&x=3134',
		'title': '',
		'imageId': '69094667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094670&x=3134',
		'title': '',
		'imageId': '69094670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094669&x=3134',
		'title': '',
		'imageId': '69094669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094668&x=3134',
		'title': '',
		'imageId': '69094668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094671&x=3134',
		'title': '',
		'imageId': '69094671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094673&x=3134',
		'title': '',
		'imageId': '69094673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094675&x=3134',
		'title': '',
		'imageId': '69094675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972910&docid=69094676&x=3134',
		'title': '',
		'imageId': '69094676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972910';

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