var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602080&x=1849',
		'title': '',
		'imageId': '68602080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602081&x=1849',
		'title': '',
		'imageId': '68602081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602315&x=1849',
		'title': '',
		'imageId': '68602315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602314&x=1849',
		'title': '',
		'imageId': '68602314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602307&x=1849',
		'title': '',
		'imageId': '68602307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602295&x=1849',
		'title': '',
		'imageId': '68602295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602084&x=1849',
		'title': '',
		'imageId': '68602084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602088&x=1849',
		'title': '',
		'imageId': '68602088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602318&x=1849',
		'title': '',
		'imageId': '68602318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602310&x=1849',
		'title': '',
		'imageId': '68602310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68735037&x=1849',
		'title': '',
		'imageId': '68735037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602316&x=1849',
		'title': '',
		'imageId': '68602316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602085&x=1849',
		'title': '',
		'imageId': '68602085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602089&x=1849',
		'title': '',
		'imageId': '68602089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602086&x=1849',
		'title': '',
		'imageId': '68602086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602091&x=1849',
		'title': '',
		'imageId': '68602091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602087&x=1849',
		'title': '',
		'imageId': '68602087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602090&x=1849',
		'title': '',
		'imageId': '68602090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602312&x=1849',
		'title': '',
		'imageId': '68602312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602082&x=1849',
		'title': '',
		'imageId': '68602082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602083&x=1849',
		'title': '',
		'imageId': '68602083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602313&x=1849',
		'title': '',
		'imageId': '68602313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68602317&x=1849',
		'title': '',
		'imageId': '68602317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950662&docid=68735031&x=1849',
		'title': '',
		'imageId': '68735031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950662';

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