var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070863&x=832',
		'title': '',
		'imageId': '69070863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070866&x=832',
		'title': '',
		'imageId': '69070866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070857&x=832',
		'title': '',
		'imageId': '69070857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070862&x=832',
		'title': '',
		'imageId': '69070862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070875&x=832',
		'title': '',
		'imageId': '69070875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070872&x=832',
		'title': '',
		'imageId': '69070872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070867&x=832',
		'title': '',
		'imageId': '69070867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070869&x=832',
		'title': '',
		'imageId': '69070869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070868&x=832',
		'title': '',
		'imageId': '69070868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070876&x=832',
		'title': '',
		'imageId': '69070876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070859&x=832',
		'title': '',
		'imageId': '69070859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070864&x=832',
		'title': '',
		'imageId': '69070864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070870&x=832',
		'title': '',
		'imageId': '69070870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070860&x=832',
		'title': '',
		'imageId': '69070860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070858&x=832',
		'title': '',
		'imageId': '69070858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070861&x=832',
		'title': '',
		'imageId': '69070861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070873&x=832',
		'title': '',
		'imageId': '69070873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070865&x=832',
		'title': '',
		'imageId': '69070865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070874&x=832',
		'title': '',
		'imageId': '69070874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972057&docid=69070871&x=832',
		'title': '',
		'imageId': '69070871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972057';

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