var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107820&x=107',
		'title': '',
		'imageId': '69107820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107824&x=107',
		'title': '',
		'imageId': '69107824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107825&x=107',
		'title': '',
		'imageId': '69107825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107826&x=107',
		'title': '',
		'imageId': '69107826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107827&x=107',
		'title': '',
		'imageId': '69107827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107828&x=107',
		'title': '',
		'imageId': '69107828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107829&x=107',
		'title': '',
		'imageId': '69107829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107830&x=107',
		'title': '',
		'imageId': '69107830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107831&x=107',
		'title': '',
		'imageId': '69107831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107832&x=107',
		'title': '',
		'imageId': '69107832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973588&docid=69107834&x=107',
		'title': '',
		'imageId': '69107834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973588';

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