var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380297&x=3649',
		'title': '',
		'imageId': '69380297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380300&x=3649',
		'title': '',
		'imageId': '69380300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380301&x=3649',
		'title': '',
		'imageId': '69380301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380302&x=3649',
		'title': '',
		'imageId': '69380302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380305&x=3649',
		'title': '',
		'imageId': '69380305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380306&x=3649',
		'title': '',
		'imageId': '69380306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380307&x=3649',
		'title': '',
		'imageId': '69380307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380308&x=3649',
		'title': '',
		'imageId': '69380308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380309&x=3649',
		'title': '',
		'imageId': '69380309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380311&x=3649',
		'title': '',
		'imageId': '69380311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380312&x=3649',
		'title': '',
		'imageId': '69380312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380313&x=3649',
		'title': '',
		'imageId': '69380313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380314&x=3649',
		'title': '',
		'imageId': '69380314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380315&x=3649',
		'title': '',
		'imageId': '69380315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380316&x=3649',
		'title': '',
		'imageId': '69380316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380317&x=3649',
		'title': '',
		'imageId': '69380317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380318&x=3649',
		'title': '',
		'imageId': '69380318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380319&x=3649',
		'title': '',
		'imageId': '69380319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380320&x=3649',
		'title': '',
		'imageId': '69380320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380321&x=3649',
		'title': '',
		'imageId': '69380321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380322&x=3649',
		'title': '',
		'imageId': '69380322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380323&x=3649',
		'title': '',
		'imageId': '69380323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380324&x=3649',
		'title': '',
		'imageId': '69380324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380325&x=3649',
		'title': '',
		'imageId': '69380325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380326&x=3649',
		'title': '',
		'imageId': '69380326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380327&x=3649',
		'title': '',
		'imageId': '69380327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380328&x=3649',
		'title': '',
		'imageId': '69380328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380329&x=3649',
		'title': '',
		'imageId': '69380329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380330&x=3649',
		'title': '',
		'imageId': '69380330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380331&x=3649',
		'title': '',
		'imageId': '69380331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380351&x=3649',
		'title': '',
		'imageId': '69380351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380354&x=3649',
		'title': '',
		'imageId': '69380354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380356&x=3649',
		'title': '',
		'imageId': '69380356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380357&x=3649',
		'title': '',
		'imageId': '69380357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985029&docid=69380358&x=3649',
		'title': '',
		'imageId': '69380358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985029';

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