var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807981&x=1034',
		'title': '',
		'imageId': '69807981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807982&x=1034',
		'title': '',
		'imageId': '69807982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807983&x=1034',
		'title': '',
		'imageId': '69807983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807984&x=1034',
		'title': '',
		'imageId': '69807984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807985&x=1034',
		'title': '',
		'imageId': '69807985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807986&x=1034',
		'title': '',
		'imageId': '69807986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807987&x=1034',
		'title': '',
		'imageId': '69807987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807988&x=1034',
		'title': '',
		'imageId': '69807988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807989&x=1034',
		'title': '',
		'imageId': '69807989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003894&docid=69807990&x=1034',
		'title': '',
		'imageId': '69807990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003894';

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