var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540093&x=2947',
		'title': '',
		'imageId': '59540093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540094&x=2947',
		'title': '',
		'imageId': '59540094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540095&x=2947',
		'title': '',
		'imageId': '59540095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540096&x=2947',
		'title': '',
		'imageId': '59540096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540097&x=2947',
		'title': '',
		'imageId': '59540097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540098&x=2947',
		'title': '',
		'imageId': '59540098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540099&x=2947',
		'title': '',
		'imageId': '59540099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540100&x=2947',
		'title': '',
		'imageId': '59540100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540101&x=2947',
		'title': '',
		'imageId': '59540101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540102&x=2947',
		'title': '',
		'imageId': '59540102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540103&x=2947',
		'title': '',
		'imageId': '59540103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540104&x=2947',
		'title': '',
		'imageId': '59540104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540105&x=2947',
		'title': '',
		'imageId': '59540105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540106&x=2947',
		'title': '',
		'imageId': '59540106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540107&x=2947',
		'title': '',
		'imageId': '59540107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540108&x=2947',
		'title': '',
		'imageId': '59540108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540109&x=2947',
		'title': '',
		'imageId': '59540109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540110&x=2947',
		'title': '',
		'imageId': '59540110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540111&x=2947',
		'title': '',
		'imageId': '59540111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540112&x=2947',
		'title': '',
		'imageId': '59540112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540113&x=2947',
		'title': '',
		'imageId': '59540113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540114&x=2947',
		'title': '',
		'imageId': '59540114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540115&x=2947',
		'title': '',
		'imageId': '59540115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540116&x=2947',
		'title': '',
		'imageId': '59540116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540117&x=2947',
		'title': '',
		'imageId': '59540117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540118&x=2947',
		'title': '',
		'imageId': '59540118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540119&x=2947',
		'title': '',
		'imageId': '59540119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540120&x=2947',
		'title': '',
		'imageId': '59540120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540121&x=2947',
		'title': '',
		'imageId': '59540121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540122&x=2947',
		'title': '',
		'imageId': '59540122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540123&x=2947',
		'title': '',
		'imageId': '59540123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540124&x=2947',
		'title': '',
		'imageId': '59540124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540125&x=2947',
		'title': '',
		'imageId': '59540125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001833&docid=59540126&x=2947',
		'title': '',
		'imageId': '59540126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001833';

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