var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072210&docid=71506519&x=373',
		'title': '',
		'imageId': '71506519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072210&docid=71506523&x=373',
		'title': '',
		'imageId': '71506523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072210&docid=71506521&x=373',
		'title': '',
		'imageId': '71506521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072210&docid=71506520&x=373',
		'title': '',
		'imageId': '71506520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072210&docid=71506515&x=373',
		'title': '',
		'imageId': '71506515',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072210&docid=71506524&x=373',
		'title': '',
		'imageId': '71506524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072210&docid=71506518&x=373',
		'title': '',
		'imageId': '71506518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072210';

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