var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632555&x=4245',
		'title': '',
		'imageId': '70632555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632558&x=4245',
		'title': '',
		'imageId': '70632558',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632546&x=4245',
		'title': '',
		'imageId': '70632546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632553&x=4245',
		'title': '',
		'imageId': '70632553',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632551&x=4245',
		'title': '',
		'imageId': '70632551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632556&x=4245',
		'title': '',
		'imageId': '70632556',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632559&x=4245',
		'title': '',
		'imageId': '70632559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632554&x=4245',
		'title': '',
		'imageId': '70632554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632552&x=4245',
		'title': '',
		'imageId': '70632552',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632547&x=4245',
		'title': '',
		'imageId': '70632547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632548&x=4245',
		'title': '',
		'imageId': '70632548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632549&x=4245',
		'title': '',
		'imageId': '70632549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632561&x=4245',
		'title': '',
		'imageId': '70632561',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632544&x=4245',
		'title': '',
		'imageId': '70632544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632560&x=4245',
		'title': '',
		'imageId': '70632560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632557&x=4245',
		'title': '',
		'imageId': '70632557',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632550&x=4245',
		'title': '',
		'imageId': '70632550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=70632545&x=4245',
		'title': '',
		'imageId': '70632545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=59270415&x=4245',
		'title': '',
		'imageId': '59270415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056781&docid=59270407&x=4245',
		'title': '',
		'imageId': '59270407',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056781';

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