var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816484&x=2531',
		'title': '',
		'imageId': '69816484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816485&x=2531',
		'title': '',
		'imageId': '69816485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816486&x=2531',
		'title': '',
		'imageId': '69816486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816487&x=2531',
		'title': '',
		'imageId': '69816487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816488&x=2531',
		'title': '',
		'imageId': '69816488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816489&x=2531',
		'title': '',
		'imageId': '69816489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816490&x=2531',
		'title': '',
		'imageId': '69816490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816491&x=2531',
		'title': '',
		'imageId': '69816491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816492&x=2531',
		'title': '',
		'imageId': '69816492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816493&x=2531',
		'title': '',
		'imageId': '69816493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816494&x=2531',
		'title': '',
		'imageId': '69816494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816495&x=2531',
		'title': '',
		'imageId': '69816495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816496&x=2531',
		'title': '',
		'imageId': '69816496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816497&x=2531',
		'title': '',
		'imageId': '69816497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816498&x=2531',
		'title': '',
		'imageId': '69816498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816499&x=2531',
		'title': '',
		'imageId': '69816499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816500&x=2531',
		'title': '',
		'imageId': '69816500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816501&x=2531',
		'title': '',
		'imageId': '69816501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816502&x=2531',
		'title': '',
		'imageId': '69816502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816503&x=2531',
		'title': '',
		'imageId': '69816503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816506&x=2531',
		'title': '',
		'imageId': '69816506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816513&x=2531',
		'title': '',
		'imageId': '69816513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004295&docid=69816519&x=2531',
		'title': '',
		'imageId': '69816519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004295';

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