var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916323&x=2244',
		'title': '',
		'imageId': '69916323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916776&x=2244',
		'title': '',
		'imageId': '69916776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916775&x=2244',
		'title': '',
		'imageId': '69916775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916325&x=2244',
		'title': '',
		'imageId': '69916325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916328&x=2244',
		'title': '',
		'imageId': '69916328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916332&x=2244',
		'title': '',
		'imageId': '69916332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916777&x=2244',
		'title': '',
		'imageId': '69916777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916333&x=2244',
		'title': '',
		'imageId': '69916333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916335&x=2244',
		'title': '',
		'imageId': '69916335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008267&docid=69916337&x=2244',
		'title': '',
		'imageId': '69916337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008267';

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