var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005925&x=3322',
		'title': '',
		'imageId': '69005925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005917&x=3322',
		'title': '',
		'imageId': '69005917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005918&x=3322',
		'title': '',
		'imageId': '69005918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005921&x=3322',
		'title': '',
		'imageId': '69005921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005914&x=3322',
		'title': '',
		'imageId': '69005914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005920&x=3322',
		'title': '',
		'imageId': '69005920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005919&x=3322',
		'title': '',
		'imageId': '69005919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005922&x=3322',
		'title': '',
		'imageId': '69005922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005924&x=3322',
		'title': '',
		'imageId': '69005924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005923&x=3322',
		'title': '',
		'imageId': '69005923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005915&x=3322',
		'title': '',
		'imageId': '69005915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969259&docid=69005916&x=3322',
		'title': '',
		'imageId': '69005916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969259';

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