var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134898&x=2925',
		'title': '',
		'imageId': '70134898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134921&x=2925',
		'title': '',
		'imageId': '70134921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134897&x=2925',
		'title': '',
		'imageId': '70134897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134896&x=2925',
		'title': '',
		'imageId': '70134896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134903&x=2925',
		'title': '',
		'imageId': '70134903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134901&x=2925',
		'title': '',
		'imageId': '70134901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134911&x=2925',
		'title': '',
		'imageId': '70134911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134918&x=2925',
		'title': '',
		'imageId': '70134918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134929&x=2925',
		'title': '',
		'imageId': '70134929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134938&x=2925',
		'title': '',
		'imageId': '70134938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134925&x=2925',
		'title': '',
		'imageId': '70134925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134932&x=2925',
		'title': '',
		'imageId': '70134932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134907&x=2925',
		'title': '',
		'imageId': '70134907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134933&x=2925',
		'title': '',
		'imageId': '70134933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134924&x=2925',
		'title': '',
		'imageId': '70134924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134935&x=2925',
		'title': '',
		'imageId': '70134935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134920&x=2925',
		'title': '',
		'imageId': '70134920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134905&x=2925',
		'title': '',
		'imageId': '70134905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134930&x=2925',
		'title': '',
		'imageId': '70134930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134939&x=2925',
		'title': '',
		'imageId': '70134939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134922&x=2925',
		'title': '',
		'imageId': '70134922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134936&x=2925',
		'title': '',
		'imageId': '70134936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134927&x=2925',
		'title': '',
		'imageId': '70134927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134928&x=2925',
		'title': '',
		'imageId': '70134928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134902&x=2925',
		'title': '',
		'imageId': '70134902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134940&x=2925',
		'title': '',
		'imageId': '70134940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134909&x=2925',
		'title': '',
		'imageId': '70134909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134919&x=2925',
		'title': '',
		'imageId': '70134919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134923&x=2925',
		'title': '',
		'imageId': '70134923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134926&x=2925',
		'title': '',
		'imageId': '70134926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134931&x=2925',
		'title': '',
		'imageId': '70134931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134934&x=2925',
		'title': '',
		'imageId': '70134934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016570&docid=70134941&x=2925',
		'title': '',
		'imageId': '70134941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016570';

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