var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680229&x=4421',
		'title': '',
		'imageId': '71680229',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680226&x=4421',
		'title': '',
		'imageId': '71680226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680230&x=4421',
		'title': '',
		'imageId': '71680230',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680231&x=4421',
		'title': '',
		'imageId': '71680231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680233&x=4421',
		'title': '',
		'imageId': '71680233',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680227&x=4421',
		'title': '',
		'imageId': '71680227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680228&x=4421',
		'title': '',
		'imageId': '71680228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680232&x=4421',
		'title': '',
		'imageId': '71680232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078808&docid=71680255&x=4421',
		'title': '',
		'imageId': '71680255',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4078808';

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