var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169862&x=2954',
		'title': '',
		'imageId': '70169862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169869&x=2954',
		'title': '',
		'imageId': '70169869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169859&x=2954',
		'title': '',
		'imageId': '70169859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169858&x=2954',
		'title': '',
		'imageId': '70169858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169868&x=2954',
		'title': '',
		'imageId': '70169868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169865&x=2954',
		'title': '',
		'imageId': '70169865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169857&x=2954',
		'title': '',
		'imageId': '70169857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169861&x=2954',
		'title': '',
		'imageId': '70169861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169860&x=2954',
		'title': '',
		'imageId': '70169860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169877&x=2954',
		'title': '',
		'imageId': '70169877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169866&x=2954',
		'title': '',
		'imageId': '70169866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169872&x=2954',
		'title': '',
		'imageId': '70169872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169863&x=2954',
		'title': '',
		'imageId': '70169863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169871&x=2954',
		'title': '',
		'imageId': '70169871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169874&x=2954',
		'title': '',
		'imageId': '70169874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169867&x=2954',
		'title': '',
		'imageId': '70169867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169870&x=2954',
		'title': '',
		'imageId': '70169870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169878&x=2954',
		'title': '',
		'imageId': '70169878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169864&x=2954',
		'title': '',
		'imageId': '70169864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169876&x=2954',
		'title': '',
		'imageId': '70169876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169875&x=2954',
		'title': '',
		'imageId': '70169875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017474&docid=70169873&x=2954',
		'title': '',
		'imageId': '70169873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017474';

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