var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632957&x=4644',
		'title': '',
		'imageId': '67632957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632952&x=4644',
		'title': '',
		'imageId': '67632952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632961&x=4644',
		'title': '',
		'imageId': '67632961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632962&x=4644',
		'title': '',
		'imageId': '67632962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632956&x=4644',
		'title': '',
		'imageId': '67632956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632960&x=4644',
		'title': '',
		'imageId': '67632960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632953&x=4644',
		'title': '',
		'imageId': '67632953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632959&x=4644',
		'title': '',
		'imageId': '67632959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632958&x=4644',
		'title': '',
		'imageId': '67632958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632954&x=4644',
		'title': '',
		'imageId': '67632954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909623&docid=67632955&x=4644',
		'title': '',
		'imageId': '67632955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909623';

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