var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292763&x=4151',
		'title': '',
		'imageId': '67292763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292778&x=4151',
		'title': '',
		'imageId': '67292778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292781&x=4151',
		'title': '',
		'imageId': '67292781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292798&x=4151',
		'title': '',
		'imageId': '67292798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292810&x=4151',
		'title': '',
		'imageId': '67292810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292820&x=4151',
		'title': '',
		'imageId': '67292820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292835&x=4151',
		'title': '',
		'imageId': '67292835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292838&x=4151',
		'title': '',
		'imageId': '67292838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292847&x=4151',
		'title': '',
		'imageId': '67292847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67292853&x=4151',
		'title': '',
		'imageId': '67292853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887226&docid=67565044&x=4151',
		'title': '',
		'imageId': '67565044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887226';

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