var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981115&x=1918',
		'title': '',
		'imageId': '66981115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981117&x=1918',
		'title': '',
		'imageId': '66981117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981125&x=1918',
		'title': '',
		'imageId': '66981125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981116&x=1918',
		'title': '',
		'imageId': '66981116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981118&x=1918',
		'title': '',
		'imageId': '66981118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981132&x=1918',
		'title': '',
		'imageId': '66981132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981128&x=1918',
		'title': '',
		'imageId': '66981128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981120&x=1918',
		'title': '',
		'imageId': '66981120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981124&x=1918',
		'title': '',
		'imageId': '66981124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981122&x=1918',
		'title': '',
		'imageId': '66981122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981123&x=1918',
		'title': '',
		'imageId': '66981123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981131&x=1918',
		'title': '',
		'imageId': '66981131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981126&x=1918',
		'title': '',
		'imageId': '66981126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981119&x=1918',
		'title': '',
		'imageId': '66981119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981129&x=1918',
		'title': '',
		'imageId': '66981129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981121&x=1918',
		'title': '',
		'imageId': '66981121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981127&x=1918',
		'title': '',
		'imageId': '66981127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981135&x=1918',
		'title': '',
		'imageId': '66981135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981134&x=1918',
		'title': '',
		'imageId': '66981134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981133&x=1918',
		'title': '',
		'imageId': '66981133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981130&x=1918',
		'title': '',
		'imageId': '66981130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899496&docid=66981114&x=1918',
		'title': '',
		'imageId': '66981114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899496';

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