var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380860&x=5616',
		'title': '',
		'imageId': '69380860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380864&x=5616',
		'title': '',
		'imageId': '69380864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380865&x=5616',
		'title': '',
		'imageId': '69380865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380866&x=5616',
		'title': '',
		'imageId': '69380866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380867&x=5616',
		'title': '',
		'imageId': '69380867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380868&x=5616',
		'title': '',
		'imageId': '69380868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380869&x=5616',
		'title': '',
		'imageId': '69380869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380870&x=5616',
		'title': '',
		'imageId': '69380870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380863&x=5616',
		'title': '',
		'imageId': '69380863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985048&docid=69380871&x=5616',
		'title': '',
		'imageId': '69380871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985048';

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