var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047903&x=1946',
		'title': '',
		'imageId': '69047903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047907&x=1946',
		'title': '',
		'imageId': '69047907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047908&x=1946',
		'title': '',
		'imageId': '69047908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047902&x=1946',
		'title': '',
		'imageId': '69047902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047905&x=1946',
		'title': '',
		'imageId': '69047905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047904&x=1946',
		'title': '',
		'imageId': '69047904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047909&x=1946',
		'title': '',
		'imageId': '69047909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047900&x=1946',
		'title': '',
		'imageId': '69047900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047906&x=1946',
		'title': '',
		'imageId': '69047906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971283&docid=69047901&x=1946',
		'title': '',
		'imageId': '69047901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971283';

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