var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358254&x=5037',
		'title': '',
		'imageId': '69358254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358255&x=5037',
		'title': '',
		'imageId': '69358255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358256&x=5037',
		'title': '',
		'imageId': '69358256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358257&x=5037',
		'title': '',
		'imageId': '69358257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358258&x=5037',
		'title': '',
		'imageId': '69358258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358259&x=5037',
		'title': '',
		'imageId': '69358259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358260&x=5037',
		'title': '',
		'imageId': '69358260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358261&x=5037',
		'title': '',
		'imageId': '69358261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358262&x=5037',
		'title': '',
		'imageId': '69358262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358263&x=5037',
		'title': '',
		'imageId': '69358263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358264&x=5037',
		'title': '',
		'imageId': '69358264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358265&x=5037',
		'title': '',
		'imageId': '69358265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358266&x=5037',
		'title': '',
		'imageId': '69358266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358267&x=5037',
		'title': '',
		'imageId': '69358267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358268&x=5037',
		'title': '',
		'imageId': '69358268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358269&x=5037',
		'title': '',
		'imageId': '69358269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358270&x=5037',
		'title': '',
		'imageId': '69358270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358271&x=5037',
		'title': '',
		'imageId': '69358271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984215&docid=69358272&x=5037',
		'title': '',
		'imageId': '69358272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984215';

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