var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417922&x=1328',
		'title': '',
		'imageId': '69417922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417925&x=1328',
		'title': '',
		'imageId': '69417925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417923&x=1328',
		'title': '',
		'imageId': '69417923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417924&x=1328',
		'title': '',
		'imageId': '69417924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417931&x=1328',
		'title': '',
		'imageId': '69417931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417926&x=1328',
		'title': '',
		'imageId': '69417926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417927&x=1328',
		'title': '',
		'imageId': '69417927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417932&x=1328',
		'title': '',
		'imageId': '69417932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417928&x=1328',
		'title': '',
		'imageId': '69417928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417930&x=1328',
		'title': '',
		'imageId': '69417930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417933&x=1328',
		'title': '',
		'imageId': '69417933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986559&docid=69417929&x=1328',
		'title': '',
		'imageId': '69417929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986559';

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