var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270101&x=2829',
		'title': '',
		'imageId': '67270101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270104&x=2829',
		'title': '',
		'imageId': '67270104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270105&x=2829',
		'title': '',
		'imageId': '67270105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270106&x=2829',
		'title': '',
		'imageId': '67270106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270103&x=2829',
		'title': '',
		'imageId': '67270103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270107&x=2829',
		'title': '',
		'imageId': '67270107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270108&x=2829',
		'title': '',
		'imageId': '67270108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270109&x=2829',
		'title': '',
		'imageId': '67270109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270110&x=2829',
		'title': '',
		'imageId': '67270110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270111&x=2829',
		'title': '',
		'imageId': '67270111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270112&x=2829',
		'title': '',
		'imageId': '67270112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270113&x=2829',
		'title': '',
		'imageId': '67270113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270114&x=2829',
		'title': '',
		'imageId': '67270114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270115&x=2829',
		'title': '',
		'imageId': '67270115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270116&x=2829',
		'title': '',
		'imageId': '67270116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270117&x=2829',
		'title': '',
		'imageId': '67270117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270118&x=2829',
		'title': '',
		'imageId': '67270118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270119&x=2829',
		'title': '',
		'imageId': '67270119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3895017&docid=67270120&x=2829',
		'title': '',
		'imageId': '67270120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3895017';

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