var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827224&x=820',
		'title': '',
		'imageId': '69827224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827225&x=820',
		'title': '',
		'imageId': '69827225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827226&x=820',
		'title': '',
		'imageId': '69827226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827227&x=820',
		'title': '',
		'imageId': '69827227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827228&x=820',
		'title': '',
		'imageId': '69827228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827229&x=820',
		'title': '',
		'imageId': '69827229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827230&x=820',
		'title': '',
		'imageId': '69827230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827231&x=820',
		'title': '',
		'imageId': '69827231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827232&x=820',
		'title': '',
		'imageId': '69827232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827233&x=820',
		'title': '',
		'imageId': '69827233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827234&x=820',
		'title': '',
		'imageId': '69827234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827235&x=820',
		'title': '',
		'imageId': '69827235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827236&x=820',
		'title': '',
		'imageId': '69827236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827237&x=820',
		'title': '',
		'imageId': '69827237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827223&x=820',
		'title': '',
		'imageId': '69827223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004661&docid=69827222&x=820',
		'title': '',
		'imageId': '69827222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004661';

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