var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463039&x=1416',
		'title': '',
		'imageId': '70463039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463044&x=1416',
		'title': '',
		'imageId': '70463044',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463046&x=1416',
		'title': '',
		'imageId': '70463046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463047&x=1416',
		'title': '',
		'imageId': '70463047',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463041&x=1416',
		'title': '',
		'imageId': '70463041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463040&x=1416',
		'title': '',
		'imageId': '70463040',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463042&x=1416',
		'title': '',
		'imageId': '70463042',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463043&x=1416',
		'title': '',
		'imageId': '70463043',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463045&x=1416',
		'title': '',
		'imageId': '70463045',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463049&x=1416',
		'title': '',
		'imageId': '70463049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030306&docid=70463048&x=1416',
		'title': '',
		'imageId': '70463048',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030306';

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