var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858261&x=3511',
		'title': '',
		'imageId': '69858261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858266&x=3511',
		'title': '',
		'imageId': '69858266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858267&x=3511',
		'title': '',
		'imageId': '69858267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858260&x=3511',
		'title': '',
		'imageId': '69858260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858258&x=3511',
		'title': '',
		'imageId': '69858258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858265&x=3511',
		'title': '',
		'imageId': '69858265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858264&x=3511',
		'title': '',
		'imageId': '69858264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858259&x=3511',
		'title': '',
		'imageId': '69858259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858263&x=3511',
		'title': '',
		'imageId': '69858263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006007&docid=69858262&x=3511',
		'title': '',
		'imageId': '69858262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006007';

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