var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187445&x=152',
		'title': '',
		'imageId': '70187445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187449&x=152',
		'title': '',
		'imageId': '70187449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187443&x=152',
		'title': '',
		'imageId': '70187443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187447&x=152',
		'title': '',
		'imageId': '70187447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187444&x=152',
		'title': '',
		'imageId': '70187444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187446&x=152',
		'title': '',
		'imageId': '70187446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187448&x=152',
		'title': '',
		'imageId': '70187448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187450&x=152',
		'title': '',
		'imageId': '70187450',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187441&x=152',
		'title': '',
		'imageId': '70187441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187442&x=152',
		'title': '',
		'imageId': '70187442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187563&x=152',
		'title': '',
		'imageId': '70187563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187566&x=152',
		'title': '',
		'imageId': '70187566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187560&x=152',
		'title': '',
		'imageId': '70187560',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187561&x=152',
		'title': '',
		'imageId': '70187561',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187562&x=152',
		'title': '',
		'imageId': '70187562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187568&x=152',
		'title': '',
		'imageId': '70187568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187565&x=152',
		'title': '',
		'imageId': '70187565',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187564&x=152',
		'title': '',
		'imageId': '70187564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187567&x=152',
		'title': '',
		'imageId': '70187567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015213&docid=70187559&x=152',
		'title': '',
		'imageId': '70187559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015213';

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