var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464290&x=312',
		'title': '',
		'imageId': '70464290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464287&x=312',
		'title': '',
		'imageId': '70464287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464291&x=312',
		'title': '',
		'imageId': '70464291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464293&x=312',
		'title': '',
		'imageId': '70464293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464297&x=312',
		'title': '',
		'imageId': '70464297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464288&x=312',
		'title': '',
		'imageId': '70464288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464292&x=312',
		'title': '',
		'imageId': '70464292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464295&x=312',
		'title': '',
		'imageId': '70464295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464296&x=312',
		'title': '',
		'imageId': '70464296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464294&x=312',
		'title': '',
		'imageId': '70464294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4030329&docid=70464289&x=312',
		'title': '',
		'imageId': '70464289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4030329';

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