var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081182&x=2111',
		'title': '',
		'imageId': '69081182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081190&x=2111',
		'title': '',
		'imageId': '69081190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081193&x=2111',
		'title': '',
		'imageId': '69081193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081196&x=2111',
		'title': '',
		'imageId': '69081196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081241&x=2111',
		'title': '',
		'imageId': '69081241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081244&x=2111',
		'title': '',
		'imageId': '69081244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081199&x=2111',
		'title': '',
		'imageId': '69081199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081238&x=2111',
		'title': '',
		'imageId': '69081238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081247&x=2111',
		'title': '',
		'imageId': '69081247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081251&x=2111',
		'title': '',
		'imageId': '69081251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972070&docid=69081254&x=2111',
		'title': '',
		'imageId': '69081254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972070';

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