var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718067&x=1918',
		'title': '',
		'imageId': '69718067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718077&x=1918',
		'title': '',
		'imageId': '69718077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718063&x=1918',
		'title': '',
		'imageId': '69718063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718074&x=1918',
		'title': '',
		'imageId': '69718074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718080&x=1918',
		'title': '',
		'imageId': '69718080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718064&x=1918',
		'title': '',
		'imageId': '69718064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718082&x=1918',
		'title': '',
		'imageId': '69718082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718083&x=1918',
		'title': '',
		'imageId': '69718083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718078&x=1918',
		'title': '',
		'imageId': '69718078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718079&x=1918',
		'title': '',
		'imageId': '69718079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718092&x=1918',
		'title': '',
		'imageId': '69718092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718084&x=1918',
		'title': '',
		'imageId': '69718084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718076&x=1918',
		'title': '',
		'imageId': '69718076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718070&x=1918',
		'title': '',
		'imageId': '69718070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718071&x=1918',
		'title': '',
		'imageId': '69718071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718081&x=1918',
		'title': '',
		'imageId': '69718081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718093&x=1918',
		'title': '',
		'imageId': '69718093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718075&x=1918',
		'title': '',
		'imageId': '69718075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718072&x=1918',
		'title': '',
		'imageId': '69718072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718068&x=1918',
		'title': '',
		'imageId': '69718068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=69718073&x=1918',
		'title': '',
		'imageId': '69718073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=59270415&x=1918',
		'title': '',
		'imageId': '59270415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999114&docid=59270407&x=1918',
		'title': '',
		'imageId': '59270407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999114';

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