var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051805&x=4247',
		'title': '',
		'imageId': '71051805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051802&x=4247',
		'title': '',
		'imageId': '71051802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051807&x=4247',
		'title': '',
		'imageId': '71051807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051804&x=4247',
		'title': '',
		'imageId': '71051804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051803&x=4247',
		'title': '',
		'imageId': '71051803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051806&x=4247',
		'title': '',
		'imageId': '71051806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051808&x=4247',
		'title': '',
		'imageId': '71051808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046315&docid=71051801&x=4247',
		'title': '',
		'imageId': '71051801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4046315';

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