var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014075&x=565',
		'title': '',
		'imageId': '69014075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014076&x=565',
		'title': '',
		'imageId': '69014076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014090&x=565',
		'title': '',
		'imageId': '69014090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014087&x=565',
		'title': '',
		'imageId': '69014087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014091&x=565',
		'title': '',
		'imageId': '69014091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014083&x=565',
		'title': '',
		'imageId': '69014083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014092&x=565',
		'title': '',
		'imageId': '69014092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014086&x=565',
		'title': '',
		'imageId': '69014086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014082&x=565',
		'title': '',
		'imageId': '69014082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014093&x=565',
		'title': '',
		'imageId': '69014093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014077&x=565',
		'title': '',
		'imageId': '69014077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014094&x=565',
		'title': '',
		'imageId': '69014094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014084&x=565',
		'title': '',
		'imageId': '69014084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014079&x=565',
		'title': '',
		'imageId': '69014079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014095&x=565',
		'title': '',
		'imageId': '69014095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014089&x=565',
		'title': '',
		'imageId': '69014089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014078&x=565',
		'title': '',
		'imageId': '69014078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014085&x=565',
		'title': '',
		'imageId': '69014085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969830&docid=69014088&x=565',
		'title': '',
		'imageId': '69014088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969830';

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