var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808662&x=460',
		'title': '',
		'imageId': '66808662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808669&x=460',
		'title': '',
		'imageId': '66808669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808664&x=460',
		'title': '',
		'imageId': '66808664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808668&x=460',
		'title': '',
		'imageId': '66808668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808670&x=460',
		'title': '',
		'imageId': '66808670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808667&x=460',
		'title': '',
		'imageId': '66808667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808666&x=460',
		'title': '',
		'imageId': '66808666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808665&x=460',
		'title': '',
		'imageId': '66808665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66808663&x=460',
		'title': '',
		'imageId': '66808663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66810392&x=460',
		'title': '',
		'imageId': '66810392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950073&docid=66810393&x=460',
		'title': '',
		'imageId': '66810393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950073';

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