var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015832&docid=70106517&x=2546',
		'title': '',
		'imageId': '70106517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015832&docid=70106519&x=2546',
		'title': '',
		'imageId': '70106519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015832&docid=70106518&x=2546',
		'title': '',
		'imageId': '70106518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015832&docid=70106523&x=2546',
		'title': '',
		'imageId': '70106523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015832&docid=70106520&x=2546',
		'title': '',
		'imageId': '70106520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015832&docid=70106522&x=2546',
		'title': '',
		'imageId': '70106522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015832&docid=70106521&x=2546',
		'title': '',
		'imageId': '70106521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015832';

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