var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065269&x=3614',
		'title': '',
		'imageId': '70065269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065271&x=3614',
		'title': '',
		'imageId': '70065271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065270&x=3614',
		'title': '',
		'imageId': '70065270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065267&x=3614',
		'title': '',
		'imageId': '70065267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065263&x=3614',
		'title': '',
		'imageId': '70065263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065264&x=3614',
		'title': '',
		'imageId': '70065264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065265&x=3614',
		'title': '',
		'imageId': '70065265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065268&x=3614',
		'title': '',
		'imageId': '70065268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065273&x=3614',
		'title': '',
		'imageId': '70065273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065272&x=3614',
		'title': '',
		'imageId': '70065272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014436&docid=70065266&x=3614',
		'title': '',
		'imageId': '70065266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014436';

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