var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266726&x=2722',
		'title': '',
		'imageId': '69266726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266723&x=2722',
		'title': '',
		'imageId': '69266723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266728&x=2722',
		'title': '',
		'imageId': '69266728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266730&x=2722',
		'title': '',
		'imageId': '69266730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266725&x=2722',
		'title': '',
		'imageId': '69266725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266724&x=2722',
		'title': '',
		'imageId': '69266724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266727&x=2722',
		'title': '',
		'imageId': '69266727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266731&x=2722',
		'title': '',
		'imageId': '69266731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266729&x=2722',
		'title': '',
		'imageId': '69266729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980119&docid=69266722&x=2722',
		'title': '',
		'imageId': '69266722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980119';

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