var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325468&x=1511',
		'title': '',
		'imageId': '71325468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325465&x=1511',
		'title': '',
		'imageId': '71325465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325464&x=1511',
		'title': '',
		'imageId': '71325464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325463&x=1511',
		'title': '',
		'imageId': '71325463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325469&x=1511',
		'title': '',
		'imageId': '71325469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325471&x=1511',
		'title': '',
		'imageId': '71325471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325467&x=1511',
		'title': '',
		'imageId': '71325467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325470&x=1511',
		'title': '',
		'imageId': '71325470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063219&docid=71325466&x=1511',
		'title': '',
		'imageId': '71325466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4063219';

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