var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973288&x=3410',
		'title': '',
		'imageId': '69973288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973283&x=3410',
		'title': '',
		'imageId': '69973283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973294&x=3410',
		'title': '',
		'imageId': '69973294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973962&x=3410',
		'title': '',
		'imageId': '69973962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973300&x=3410',
		'title': '',
		'imageId': '69973300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973302&x=3410',
		'title': '',
		'imageId': '69973302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973305&x=3410',
		'title': '',
		'imageId': '69973305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973306&x=3410',
		'title': '',
		'imageId': '69973306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973312&x=3410',
		'title': '',
		'imageId': '69973312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973315&x=3410',
		'title': '',
		'imageId': '69973315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973329&x=3410',
		'title': '',
		'imageId': '69973329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69984062&x=3410',
		'title': '',
		'imageId': '69984062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973324&x=3410',
		'title': '',
		'imageId': '69973324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69984066&x=3410',
		'title': '',
		'imageId': '69984066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973284&x=3410',
		'title': '',
		'imageId': '69973284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973280&x=3410',
		'title': '',
		'imageId': '69973280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973281&x=3410',
		'title': '',
		'imageId': '69973281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973285&x=3410',
		'title': '',
		'imageId': '69973285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010606&docid=69973282&x=3410',
		'title': '',
		'imageId': '69973282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010606';

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