var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330041&x=4536',
		'title': '',
		'imageId': '69330041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330040&x=4536',
		'title': '',
		'imageId': '69330040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330042&x=4536',
		'title': '',
		'imageId': '69330042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330043&x=4536',
		'title': '',
		'imageId': '69330043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330044&x=4536',
		'title': '',
		'imageId': '69330044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330049&x=4536',
		'title': '',
		'imageId': '69330049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330051&x=4536',
		'title': '',
		'imageId': '69330051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330062&x=4536',
		'title': '',
		'imageId': '69330062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330060&x=4536',
		'title': '',
		'imageId': '69330060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330061&x=4536',
		'title': '',
		'imageId': '69330061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330063&x=4536',
		'title': '',
		'imageId': '69330063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999666&docid=69330039&x=4536',
		'title': '',
		'imageId': '69330039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999666';

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