var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765846&x=5058',
		'title': '',
		'imageId': '69765846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765853&x=5058',
		'title': '',
		'imageId': '69765853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765847&x=5058',
		'title': '',
		'imageId': '69765847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765850&x=5058',
		'title': '',
		'imageId': '69765850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765856&x=5058',
		'title': '',
		'imageId': '69765856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765859&x=5058',
		'title': '',
		'imageId': '69765859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765871&x=5058',
		'title': '',
		'imageId': '69765871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765865&x=5058',
		'title': '',
		'imageId': '69765865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765866&x=5058',
		'title': '',
		'imageId': '69765866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765870&x=5058',
		'title': '',
		'imageId': '69765870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765816&x=5058',
		'title': '',
		'imageId': '69765816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765814&x=5058',
		'title': '',
		'imageId': '69765814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765813&x=5058',
		'title': '',
		'imageId': '69765813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765812&x=5058',
		'title': '',
		'imageId': '69765812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765817&x=5058',
		'title': '',
		'imageId': '69765817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765826&x=5058',
		'title': '',
		'imageId': '69765826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765815&x=5058',
		'title': '',
		'imageId': '69765815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765831&x=5058',
		'title': '',
		'imageId': '69765831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765823&x=5058',
		'title': '',
		'imageId': '69765823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765832&x=5058',
		'title': '',
		'imageId': '69765832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765838&x=5058',
		'title': '',
		'imageId': '69765838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002088&docid=69765837&x=5058',
		'title': '',
		'imageId': '69765837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002088';

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