var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395278&x=336',
		'title': '',
		'imageId': '69395278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395280&x=336',
		'title': '',
		'imageId': '69395280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395277&x=336',
		'title': '',
		'imageId': '69395277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395272&x=336',
		'title': '',
		'imageId': '69395272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395274&x=336',
		'title': '',
		'imageId': '69395274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395279&x=336',
		'title': '',
		'imageId': '69395279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395271&x=336',
		'title': '',
		'imageId': '69395271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395273&x=336',
		'title': '',
		'imageId': '69395273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395275&x=336',
		'title': '',
		'imageId': '69395275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395281&x=336',
		'title': '',
		'imageId': '69395281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912767&docid=69395276&x=336',
		'title': '',
		'imageId': '69395276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912767';

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