var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335815&x=222',
		'title': '',
		'imageId': '69335815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335811&x=222',
		'title': '',
		'imageId': '69335811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335814&x=222',
		'title': '',
		'imageId': '69335814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335808&x=222',
		'title': '',
		'imageId': '69335808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335813&x=222',
		'title': '',
		'imageId': '69335813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335810&x=222',
		'title': '',
		'imageId': '69335810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335812&x=222',
		'title': '',
		'imageId': '69335812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335805&x=222',
		'title': '',
		'imageId': '69335805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335806&x=222',
		'title': '',
		'imageId': '69335806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992824&docid=69335816&x=222',
		'title': '',
		'imageId': '69335816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992824';

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