var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265747&x=1439',
		'title': 'JN-28-15',
		'imageId': '59265747',
		'alt' : 'JN-28-15',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265748&x=1439',
		'title': '',
		'imageId': '59265748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265749&x=1439',
		'title': '',
		'imageId': '59265749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265750&x=1439',
		'title': '',
		'imageId': '59265750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265751&x=1439',
		'title': '',
		'imageId': '59265751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265752&x=1439',
		'title': '',
		'imageId': '59265752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265753&x=1439',
		'title': '',
		'imageId': '59265753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265754&x=1439',
		'title': '',
		'imageId': '59265754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265755&x=1439',
		'title': '',
		'imageId': '59265755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265756&x=1439',
		'title': '',
		'imageId': '59265756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265757&x=1439',
		'title': '',
		'imageId': '59265757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265758&x=1439',
		'title': '',
		'imageId': '59265758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265759&x=1439',
		'title': '',
		'imageId': '59265759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265760&x=1439',
		'title': '',
		'imageId': '59265760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265761&x=1439',
		'title': '',
		'imageId': '59265761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265762&x=1439',
		'title': '',
		'imageId': '59265762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265763&x=1439',
		'title': '',
		'imageId': '59265763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265764&x=1439',
		'title': '',
		'imageId': '59265764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265765&x=1439',
		'title': '',
		'imageId': '59265765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265766&x=1439',
		'title': '',
		'imageId': '59265766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265767&x=1439',
		'title': '',
		'imageId': '59265767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265768&x=1439',
		'title': '',
		'imageId': '59265768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265769&x=1439',
		'title': '',
		'imageId': '59265769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265770&x=1439',
		'title': '',
		'imageId': '59265770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265771&x=1439',
		'title': '',
		'imageId': '59265771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265772&x=1439',
		'title': '',
		'imageId': '59265772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265773&x=1439',
		'title': '',
		'imageId': '59265773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265774&x=1439',
		'title': '',
		'imageId': '59265774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265775&x=1439',
		'title': '',
		'imageId': '59265775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265776&x=1439',
		'title': '',
		'imageId': '59265776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652661&docid=59265777&x=1439',
		'title': '',
		'imageId': '59265777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3652661';

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