var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147097&x=3635',
		'title': '',
		'imageId': '69147097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147106&x=3635',
		'title': '',
		'imageId': '69147106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147101&x=3635',
		'title': '',
		'imageId': '69147101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147107&x=3635',
		'title': '',
		'imageId': '69147107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147073&x=3635',
		'title': '',
		'imageId': '69147073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147077&x=3635',
		'title': '',
		'imageId': '69147077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147091&x=3635',
		'title': '',
		'imageId': '69147091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147072&x=3635',
		'title': '',
		'imageId': '69147072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147075&x=3635',
		'title': '',
		'imageId': '69147075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147088&x=3635',
		'title': '',
		'imageId': '69147088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147074&x=3635',
		'title': '',
		'imageId': '69147074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147092&x=3635',
		'title': '',
		'imageId': '69147092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147080&x=3635',
		'title': '',
		'imageId': '69147080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147076&x=3635',
		'title': '',
		'imageId': '69147076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147090&x=3635',
		'title': '',
		'imageId': '69147090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147098&x=3635',
		'title': '',
		'imageId': '69147098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147121&x=3635',
		'title': '',
		'imageId': '69147121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147122&x=3635',
		'title': '',
		'imageId': '69147122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147125&x=3635',
		'title': '',
		'imageId': '69147125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147111&x=3635',
		'title': '',
		'imageId': '69147111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975065&docid=69147115&x=3635',
		'title': '',
		'imageId': '69147115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975065';

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