var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101525&x=1832',
		'title': '',
		'imageId': '69101525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101555&x=1832',
		'title': '',
		'imageId': '69101555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101522&x=1832',
		'title': '',
		'imageId': '69101522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101552&x=1832',
		'title': '',
		'imageId': '69101552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101519&x=1832',
		'title': '',
		'imageId': '69101519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101568&x=1832',
		'title': '',
		'imageId': '69101568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101565&x=1832',
		'title': '',
		'imageId': '69101565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101561&x=1832',
		'title': '',
		'imageId': '69101561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101571&x=1832',
		'title': '',
		'imageId': '69101571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101574&x=1832',
		'title': '',
		'imageId': '69101574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101577&x=1832',
		'title': '',
		'imageId': '69101577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973269&docid=69101580&x=1832',
		'title': '',
		'imageId': '69101580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973269';

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