var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951253&x=3416',
		'title': '',
		'imageId': '69951253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951254&x=3416',
		'title': '',
		'imageId': '69951254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951255&x=3416',
		'title': '',
		'imageId': '69951255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951256&x=3416',
		'title': '',
		'imageId': '69951256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951257&x=3416',
		'title': '',
		'imageId': '69951257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951258&x=3416',
		'title': '',
		'imageId': '69951258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951264&x=3416',
		'title': '',
		'imageId': '69951264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951272&x=3416',
		'title': '',
		'imageId': '69951272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951280&x=3416',
		'title': '',
		'imageId': '69951280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951286&x=3416',
		'title': '',
		'imageId': '69951286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951292&x=3416',
		'title': '',
		'imageId': '69951292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009633&docid=69951297&x=3416',
		'title': '',
		'imageId': '69951297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009633';

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