var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=67214830&x=5654',
		'title': '',
		'imageId': '67214830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887576&x=5654',
		'title': '',
		'imageId': '66887576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887567&x=5654',
		'title': '',
		'imageId': '66887567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887568&x=5654',
		'title': '',
		'imageId': '66887568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887569&x=5654',
		'title': '',
		'imageId': '66887569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887566&x=5654',
		'title': '',
		'imageId': '66887566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887571&x=5654',
		'title': '',
		'imageId': '66887571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887574&x=5654',
		'title': '',
		'imageId': '66887574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887575&x=5654',
		'title': '',
		'imageId': '66887575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887572&x=5654',
		'title': '',
		'imageId': '66887572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887570&x=5654',
		'title': '',
		'imageId': '66887570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880379&docid=66887573&x=5654',
		'title': '',
		'imageId': '66887573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3880379';

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