var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69350264&x=89',
		'title': '',
		'imageId': '69350264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69350271&x=89',
		'title': '',
		'imageId': '69350271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69350276&x=89',
		'title': '',
		'imageId': '69350276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69425298&x=89',
		'title': '',
		'imageId': '69425298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69425301&x=89',
		'title': '',
		'imageId': '69425301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69425304&x=89',
		'title': '',
		'imageId': '69425304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69425307&x=89',
		'title': '',
		'imageId': '69425307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69425310&x=89',
		'title': '',
		'imageId': '69425310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69462353&x=89',
		'title': '',
		'imageId': '69462353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012638&docid=69462352&x=89',
		'title': '',
		'imageId': '69462352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012638';

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