var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542586&x=4122',
		'title': '',
		'imageId': '69542586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542587&x=4122',
		'title': '',
		'imageId': '69542587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542588&x=4122',
		'title': '',
		'imageId': '69542588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542589&x=4122',
		'title': '',
		'imageId': '69542589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542590&x=4122',
		'title': '',
		'imageId': '69542590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542591&x=4122',
		'title': '',
		'imageId': '69542591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542593&x=4122',
		'title': '',
		'imageId': '69542593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542594&x=4122',
		'title': '',
		'imageId': '69542594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542595&x=4122',
		'title': '',
		'imageId': '69542595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542596&x=4122',
		'title': '',
		'imageId': '69542596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542597&x=4122',
		'title': '',
		'imageId': '69542597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992412&docid=69542598&x=4122',
		'title': '',
		'imageId': '69542598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992412';

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