var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236525&x=1755',
		'title': '',
		'imageId': '69236525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236547&x=1755',
		'title': '',
		'imageId': '69236547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236529&x=1755',
		'title': '',
		'imageId': '69236529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236507&x=1755',
		'title': '',
		'imageId': '69236507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236508&x=1755',
		'title': '',
		'imageId': '69236508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236543&x=1755',
		'title': '',
		'imageId': '69236543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236537&x=1755',
		'title': '',
		'imageId': '69236537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236544&x=1755',
		'title': '',
		'imageId': '69236544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236515&x=1755',
		'title': '',
		'imageId': '69236515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236511&x=1755',
		'title': '',
		'imageId': '69236511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236536&x=1755',
		'title': '',
		'imageId': '69236536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236538&x=1755',
		'title': '',
		'imageId': '69236538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236520&x=1755',
		'title': '',
		'imageId': '69236520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236510&x=1755',
		'title': '',
		'imageId': '69236510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236506&x=1755',
		'title': '',
		'imageId': '69236506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236509&x=1755',
		'title': '',
		'imageId': '69236509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236527&x=1755',
		'title': '',
		'imageId': '69236527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69236517&x=1755',
		'title': '',
		'imageId': '69236517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69316924&x=1755',
		'title': '',
		'imageId': '69316924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963613&docid=69316925&x=1755',
		'title': '',
		'imageId': '69316925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963613';

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