var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900326&x=3656',
		'title': '',
		'imageId': '69900326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900305&x=3656',
		'title': '',
		'imageId': '69900305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900306&x=3656',
		'title': '',
		'imageId': '69900306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900304&x=3656',
		'title': '',
		'imageId': '69900304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900309&x=3656',
		'title': '',
		'imageId': '69900309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900317&x=3656',
		'title': '',
		'imageId': '69900317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900320&x=3656',
		'title': '',
		'imageId': '69900320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900325&x=3656',
		'title': '',
		'imageId': '69900325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900311&x=3656',
		'title': '',
		'imageId': '69900311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900316&x=3656',
		'title': '',
		'imageId': '69900316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900322&x=3656',
		'title': '',
		'imageId': '69900322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900307&x=3656',
		'title': '',
		'imageId': '69900307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900321&x=3656',
		'title': '',
		'imageId': '69900321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900314&x=3656',
		'title': '',
		'imageId': '69900314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900312&x=3656',
		'title': '',
		'imageId': '69900312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900319&x=3656',
		'title': '',
		'imageId': '69900319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900308&x=3656',
		'title': '',
		'imageId': '69900308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900324&x=3656',
		'title': '',
		'imageId': '69900324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900318&x=3656',
		'title': '',
		'imageId': '69900318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900310&x=3656',
		'title': '',
		'imageId': '69900310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900313&x=3656',
		'title': '',
		'imageId': '69900313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900323&x=3656',
		'title': '',
		'imageId': '69900323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007662&docid=69900315&x=3656',
		'title': '',
		'imageId': '69900315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007662';

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