var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284913&x=2355',
		'title': '',
		'imageId': '69284913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284914&x=2355',
		'title': '',
		'imageId': '69284914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284915&x=2355',
		'title': '',
		'imageId': '69284915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284916&x=2355',
		'title': '',
		'imageId': '69284916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284917&x=2355',
		'title': '',
		'imageId': '69284917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284918&x=2355',
		'title': '',
		'imageId': '69284918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284919&x=2355',
		'title': '',
		'imageId': '69284919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284920&x=2355',
		'title': '',
		'imageId': '69284920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284921&x=2355',
		'title': '',
		'imageId': '69284921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284922&x=2355',
		'title': '',
		'imageId': '69284922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69284923&x=2355',
		'title': '',
		'imageId': '69284923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980863&docid=69285725&x=2355',
		'title': '',
		'imageId': '69285725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980863';

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