var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400209&x=4411',
		'title': '',
		'imageId': '71400209',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400212&x=4411',
		'title': '',
		'imageId': '71400212',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400211&x=4411',
		'title': '',
		'imageId': '71400211',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400210&x=4411',
		'title': '',
		'imageId': '71400210',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400206&x=4411',
		'title': '',
		'imageId': '71400206',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400213&x=4411',
		'title': '',
		'imageId': '71400213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400207&x=4411',
		'title': '',
		'imageId': '71400207',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400208&x=4411',
		'title': '',
		'imageId': '71400208',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4066459&docid=71400217&x=4411',
		'title': '',
		'imageId': '71400217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4066459';

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