var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69298786&x=843',
		'title': '',
		'imageId': '69298786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69298785&x=843',
		'title': '',
		'imageId': '69298785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69298788&x=843',
		'title': '',
		'imageId': '69298788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69455722&x=843',
		'title': '',
		'imageId': '69455722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69428828&x=843',
		'title': '',
		'imageId': '69428828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69428832&x=843',
		'title': '',
		'imageId': '69428832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69428833&x=843',
		'title': '',
		'imageId': '69428833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69428831&x=843',
		'title': '',
		'imageId': '69428831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69428830&x=843',
		'title': '',
		'imageId': '69428830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69428829&x=843',
		'title': '',
		'imageId': '69428829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981660&docid=69298787&x=843',
		'title': '',
		'imageId': '69298787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981660';

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