var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044830&x=44',
		'title': '',
		'imageId': '70044830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044828&x=44',
		'title': '',
		'imageId': '70044828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044827&x=44',
		'title': '',
		'imageId': '70044827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044824&x=44',
		'title': '',
		'imageId': '70044824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044825&x=44',
		'title': '',
		'imageId': '70044825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044832&x=44',
		'title': '',
		'imageId': '70044832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044834&x=44',
		'title': '',
		'imageId': '70044834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044831&x=44',
		'title': '',
		'imageId': '70044831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044829&x=44',
		'title': '',
		'imageId': '70044829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044826&x=44',
		'title': '',
		'imageId': '70044826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013474&docid=70044833&x=44',
		'title': '',
		'imageId': '70044833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013474';

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