var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726921&x=318',
		'title': '',
		'imageId': '66726921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726931&x=318',
		'title': '',
		'imageId': '66726931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726936&x=318',
		'title': '',
		'imageId': '66726936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726940&x=318',
		'title': '',
		'imageId': '66726940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726938&x=318',
		'title': '',
		'imageId': '66726938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726934&x=318',
		'title': '',
		'imageId': '66726934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726926&x=318',
		'title': '',
		'imageId': '66726926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726930&x=318',
		'title': '',
		'imageId': '66726930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726935&x=318',
		'title': '',
		'imageId': '66726935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726919&x=318',
		'title': '',
		'imageId': '66726919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726927&x=318',
		'title': '',
		'imageId': '66726927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726924&x=318',
		'title': '',
		'imageId': '66726924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726937&x=318',
		'title': '',
		'imageId': '66726937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726929&x=318',
		'title': '',
		'imageId': '66726929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726933&x=318',
		'title': '',
		'imageId': '66726933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726925&x=318',
		'title': '',
		'imageId': '66726925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726920&x=318',
		'title': '',
		'imageId': '66726920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726923&x=318',
		'title': '',
		'imageId': '66726923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726939&x=318',
		'title': '',
		'imageId': '66726939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726928&x=318',
		'title': '',
		'imageId': '66726928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3873515&docid=66726932&x=318',
		'title': '',
		'imageId': '66726932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3873515';

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