var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139170&x=501',
		'title': '',
		'imageId': '69139170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139165&x=501',
		'title': '',
		'imageId': '69139165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139166&x=501',
		'title': '',
		'imageId': '69139166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139169&x=501',
		'title': '',
		'imageId': '69139169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139163&x=501',
		'title': '',
		'imageId': '69139163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139159&x=501',
		'title': '',
		'imageId': '69139159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139167&x=501',
		'title': '',
		'imageId': '69139167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139160&x=501',
		'title': '',
		'imageId': '69139160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139164&x=501',
		'title': '',
		'imageId': '69139164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139162&x=501',
		'title': '',
		'imageId': '69139162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139161&x=501',
		'title': '',
		'imageId': '69139161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980702&docid=69139168&x=501',
		'title': '',
		'imageId': '69139168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980702';

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