var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268462&x=4950',
		'title': '',
		'imageId': '69268462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268469&x=4950',
		'title': '',
		'imageId': '69268469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268467&x=4950',
		'title': '',
		'imageId': '69268467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268461&x=4950',
		'title': '',
		'imageId': '69268461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268463&x=4950',
		'title': '',
		'imageId': '69268463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268470&x=4950',
		'title': '',
		'imageId': '69268470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268464&x=4950',
		'title': '',
		'imageId': '69268464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268471&x=4950',
		'title': '',
		'imageId': '69268471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268465&x=4950',
		'title': '',
		'imageId': '69268465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268468&x=4950',
		'title': '',
		'imageId': '69268468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980157&docid=69268466&x=4950',
		'title': '',
		'imageId': '69268466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980157';

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