var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228834&x=488',
		'title': '',
		'imageId': '69228834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228832&x=488',
		'title': '',
		'imageId': '69228832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228833&x=488',
		'title': '',
		'imageId': '69228833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228835&x=488',
		'title': '',
		'imageId': '69228835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228836&x=488',
		'title': '',
		'imageId': '69228836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228837&x=488',
		'title': '',
		'imageId': '69228837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228838&x=488',
		'title': '',
		'imageId': '69228838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228839&x=488',
		'title': '',
		'imageId': '69228839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228840&x=488',
		'title': '',
		'imageId': '69228840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978725&docid=69228841&x=488',
		'title': '',
		'imageId': '69228841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978725';

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