var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117910&x=014',
		'title': '',
		'imageId': '69117910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117911&x=014',
		'title': '',
		'imageId': '69117911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117912&x=014',
		'title': '',
		'imageId': '69117912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117913&x=014',
		'title': '',
		'imageId': '69117913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117915&x=014',
		'title': '',
		'imageId': '69117915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117916&x=014',
		'title': '',
		'imageId': '69117916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117917&x=014',
		'title': '',
		'imageId': '69117917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117918&x=014',
		'title': '',
		'imageId': '69117918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117919&x=014',
		'title': '',
		'imageId': '69117919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973839&docid=69117920&x=014',
		'title': '',
		'imageId': '69117920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973839';

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