var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416809&x=5513',
		'title': '',
		'imageId': '67416809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416810&x=5513',
		'title': '',
		'imageId': '67416810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416811&x=5513',
		'title': '',
		'imageId': '67416811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416812&x=5513',
		'title': '',
		'imageId': '67416812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416813&x=5513',
		'title': '',
		'imageId': '67416813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416814&x=5513',
		'title': '',
		'imageId': '67416814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416815&x=5513',
		'title': '',
		'imageId': '67416815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416816&x=5513',
		'title': '',
		'imageId': '67416816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416817&x=5513',
		'title': '',
		'imageId': '67416817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416818&x=5513',
		'title': '',
		'imageId': '67416818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416819&x=5513',
		'title': '',
		'imageId': '67416819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945336&docid=67416820&x=5513',
		'title': '',
		'imageId': '67416820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945336';

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