var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029933&x=1249',
		'title': '',
		'imageId': '70029933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029941&x=1249',
		'title': '',
		'imageId': '70029941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029939&x=1249',
		'title': '',
		'imageId': '70029939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029936&x=1249',
		'title': '',
		'imageId': '70029936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029943&x=1249',
		'title': '',
		'imageId': '70029943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029938&x=1249',
		'title': '',
		'imageId': '70029938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029935&x=1249',
		'title': '',
		'imageId': '70029935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029934&x=1249',
		'title': '',
		'imageId': '70029934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029937&x=1249',
		'title': '',
		'imageId': '70029937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029940&x=1249',
		'title': '',
		'imageId': '70029940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013039&docid=70029942&x=1249',
		'title': '',
		'imageId': '70029942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013039';

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