var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=67515144&x=918',
		'title': '',
		'imageId': '67515144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=67515141&x=918',
		'title': '',
		'imageId': '67515141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=67515143&x=918',
		'title': '',
		'imageId': '67515143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=67515142&x=918',
		'title': '',
		'imageId': '67515142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=67515145&x=918',
		'title': '',
		'imageId': '67515145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=67515146&x=918',
		'title': '',
		'imageId': '67515146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332842&x=918',
		'title': '',
		'imageId': '68332842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332843&x=918',
		'title': '',
		'imageId': '68332843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332836&x=918',
		'title': '',
		'imageId': '68332836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332839&x=918',
		'title': '',
		'imageId': '68332839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332840&x=918',
		'title': '',
		'imageId': '68332840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332834&x=918',
		'title': '',
		'imageId': '68332834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332835&x=918',
		'title': '',
		'imageId': '68332835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332833&x=918',
		'title': '',
		'imageId': '68332833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332837&x=918',
		'title': '',
		'imageId': '68332837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332841&x=918',
		'title': '',
		'imageId': '68332841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930009&docid=68332838&x=918',
		'title': '',
		'imageId': '68332838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930009';

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