var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367270&x=2831',
		'title': '',
		'imageId': '70367270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367271&x=2831',
		'title': '',
		'imageId': '70367271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367272&x=2831',
		'title': '',
		'imageId': '70367272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367273&x=2831',
		'title': '',
		'imageId': '70367273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367274&x=2831',
		'title': '',
		'imageId': '70367274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367275&x=2831',
		'title': '',
		'imageId': '70367275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367276&x=2831',
		'title': '',
		'imageId': '70367276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367277&x=2831',
		'title': '',
		'imageId': '70367277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367278&x=2831',
		'title': '',
		'imageId': '70367278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367279&x=2831',
		'title': '',
		'imageId': '70367279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026634&docid=70367280&x=2831',
		'title': '',
		'imageId': '70367280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4026634';

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