var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581974&x=3240',
		'title': '',
		'imageId': '66581974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581975&x=3240',
		'title': '',
		'imageId': '66581975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581976&x=3240',
		'title': '',
		'imageId': '66581976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581977&x=3240',
		'title': '',
		'imageId': '66581977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581978&x=3240',
		'title': '',
		'imageId': '66581978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581979&x=3240',
		'title': '',
		'imageId': '66581979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581980&x=3240',
		'title': '',
		'imageId': '66581980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581981&x=3240',
		'title': '',
		'imageId': '66581981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581982&x=3240',
		'title': '',
		'imageId': '66581982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581983&x=3240',
		'title': '',
		'imageId': '66581983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581984&x=3240',
		'title': '',
		'imageId': '66581984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581985&x=3240',
		'title': '',
		'imageId': '66581985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581986&x=3240',
		'title': '',
		'imageId': '66581986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581987&x=3240',
		'title': '',
		'imageId': '66581987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581988&x=3240',
		'title': '',
		'imageId': '66581988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581989&x=3240',
		'title': '',
		'imageId': '66581989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581990&x=3240',
		'title': '',
		'imageId': '66581990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581991&x=3240',
		'title': '',
		'imageId': '66581991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581992&x=3240',
		'title': '',
		'imageId': '66581992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581995&x=3240',
		'title': '',
		'imageId': '66581995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581996&x=3240',
		'title': '',
		'imageId': '66581996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581993&x=3240',
		'title': '',
		'imageId': '66581993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866974&docid=66581994&x=3240',
		'title': '',
		'imageId': '66581994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3866974';

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