var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452557&x=5838',
		'title': '',
		'imageId': '69452557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452556&x=5838',
		'title': '',
		'imageId': '69452556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452558&x=5838',
		'title': '',
		'imageId': '69452558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452555&x=5838',
		'title': '',
		'imageId': '69452555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452552&x=5838',
		'title': '',
		'imageId': '69452552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452545&x=5838',
		'title': '',
		'imageId': '69452545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452530&x=5838',
		'title': '',
		'imageId': '69452530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452529&x=5838',
		'title': '',
		'imageId': '69452529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452549&x=5838',
		'title': '',
		'imageId': '69452549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452543&x=5838',
		'title': '',
		'imageId': '69452543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452551&x=5838',
		'title': '',
		'imageId': '69452551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452526&x=5838',
		'title': '',
		'imageId': '69452526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452571&x=5838',
		'title': '',
		'imageId': '69452571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452525&x=5838',
		'title': '',
		'imageId': '69452525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452560&x=5838',
		'title': '',
		'imageId': '69452560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452573&x=5838',
		'title': '',
		'imageId': '69452573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452538&x=5838',
		'title': '',
		'imageId': '69452538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452522&x=5838',
		'title': '',
		'imageId': '69452522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452572&x=5838',
		'title': '',
		'imageId': '69452572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452531&x=5838',
		'title': '',
		'imageId': '69452531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452568&x=5838',
		'title': '',
		'imageId': '69452568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452535&x=5838',
		'title': '',
		'imageId': '69452535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002548&docid=69452539&x=5838',
		'title': '',
		'imageId': '69452539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002548';

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