var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656215&x=3832',
		'title': '',
		'imageId': '69656215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656207&x=3832',
		'title': '',
		'imageId': '69656207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656205&x=3832',
		'title': '',
		'imageId': '69656205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656211&x=3832',
		'title': '',
		'imageId': '69656211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656212&x=3832',
		'title': '',
		'imageId': '69656212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656209&x=3832',
		'title': '',
		'imageId': '69656209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656214&x=3832',
		'title': '',
		'imageId': '69656214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656206&x=3832',
		'title': '',
		'imageId': '69656206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656210&x=3832',
		'title': '',
		'imageId': '69656210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656208&x=3832',
		'title': '',
		'imageId': '69656208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997742&docid=69656213&x=3832',
		'title': '',
		'imageId': '69656213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997742';

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