var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971966&x=556',
		'title': '',
		'imageId': '69971966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971962&x=556',
		'title': '',
		'imageId': '69971962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971967&x=556',
		'title': '',
		'imageId': '69971967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971963&x=556',
		'title': '',
		'imageId': '69971963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971969&x=556',
		'title': '',
		'imageId': '69971969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971964&x=556',
		'title': '',
		'imageId': '69971964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971965&x=556',
		'title': '',
		'imageId': '69971965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010512&docid=69971968&x=556',
		'title': '',
		'imageId': '69971968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010512';

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