var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505956&x=4359',
		'title': '',
		'imageId': '69505956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505954&x=4359',
		'title': '',
		'imageId': '69505954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505962&x=4359',
		'title': '',
		'imageId': '69505962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505964&x=4359',
		'title': '',
		'imageId': '69505964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505959&x=4359',
		'title': '',
		'imageId': '69505959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505955&x=4359',
		'title': '',
		'imageId': '69505955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505958&x=4359',
		'title': '',
		'imageId': '69505958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505963&x=4359',
		'title': '',
		'imageId': '69505963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505965&x=4359',
		'title': '',
		'imageId': '69505965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505960&x=4359',
		'title': '',
		'imageId': '69505960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505961&x=4359',
		'title': '',
		'imageId': '69505961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990796&docid=69505957&x=4359',
		'title': '',
		'imageId': '69505957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990796';

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