var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940645&x=821',
		'title': '',
		'imageId': '69940645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940648&x=821',
		'title': '',
		'imageId': '69940648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940649&x=821',
		'title': '',
		'imageId': '69940649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940651&x=821',
		'title': '',
		'imageId': '69940651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940655&x=821',
		'title': '',
		'imageId': '69940655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940653&x=821',
		'title': '',
		'imageId': '69940653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940652&x=821',
		'title': '',
		'imageId': '69940652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940656&x=821',
		'title': '',
		'imageId': '69940656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940657&x=821',
		'title': '',
		'imageId': '69940657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940660&x=821',
		'title': '',
		'imageId': '69940660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940664&x=821',
		'title': '',
		'imageId': '69940664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940662&x=821',
		'title': '',
		'imageId': '69940662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940661&x=821',
		'title': '',
		'imageId': '69940661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940665&x=821',
		'title': '',
		'imageId': '69940665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940666&x=821',
		'title': '',
		'imageId': '69940666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940667&x=821',
		'title': '',
		'imageId': '69940667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940668&x=821',
		'title': '',
		'imageId': '69940668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940669&x=821',
		'title': '',
		'imageId': '69940669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940670&x=821',
		'title': '',
		'imageId': '69940670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009159&docid=69940671&x=821',
		'title': '',
		'imageId': '69940671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009159';

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