var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714315&x=77',
		'title': '',
		'imageId': '66714315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714314&x=77',
		'title': '',
		'imageId': '66714314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714317&x=77',
		'title': '',
		'imageId': '66714317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714322&x=77',
		'title': '',
		'imageId': '66714322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714323&x=77',
		'title': '',
		'imageId': '66714323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714324&x=77',
		'title': '',
		'imageId': '66714324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714316&x=77',
		'title': '',
		'imageId': '66714316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714321&x=77',
		'title': '',
		'imageId': '66714321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714319&x=77',
		'title': '',
		'imageId': '66714319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714320&x=77',
		'title': '',
		'imageId': '66714320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714325&x=77',
		'title': '',
		'imageId': '66714325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954903&docid=66714318&x=77',
		'title': '',
		'imageId': '66714318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954903';

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