var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074144&x=4132',
		'title': '',
		'imageId': '70074144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074137&x=4132',
		'title': '',
		'imageId': '70074137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074136&x=4132',
		'title': '',
		'imageId': '70074136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074142&x=4132',
		'title': '',
		'imageId': '70074142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074146&x=4132',
		'title': '',
		'imageId': '70074146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074143&x=4132',
		'title': '',
		'imageId': '70074143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074145&x=4132',
		'title': '',
		'imageId': '70074145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074161&x=4132',
		'title': '',
		'imageId': '70074161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074158&x=4132',
		'title': '',
		'imageId': '70074158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074159&x=4132',
		'title': '',
		'imageId': '70074159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074160&x=4132',
		'title': '',
		'imageId': '70074160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014898&docid=70074157&x=4132',
		'title': '',
		'imageId': '70074157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014898';

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