var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033144&x=643',
		'title': '',
		'imageId': '69033144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033146&x=643',
		'title': '',
		'imageId': '69033146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033143&x=643',
		'title': '',
		'imageId': '69033143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033148&x=643',
		'title': '',
		'imageId': '69033148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033140&x=643',
		'title': '',
		'imageId': '69033140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033141&x=643',
		'title': '',
		'imageId': '69033141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033149&x=643',
		'title': '',
		'imageId': '69033149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033147&x=643',
		'title': '',
		'imageId': '69033147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033142&x=643',
		'title': '',
		'imageId': '69033142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033139&x=643',
		'title': '',
		'imageId': '69033139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970610&docid=69033145&x=643',
		'title': '',
		'imageId': '69033145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970610';

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