var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952738&x=256',
		'title': '',
		'imageId': '69952738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952739&x=256',
		'title': '',
		'imageId': '69952739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952740&x=256',
		'title': '',
		'imageId': '69952740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952741&x=256',
		'title': '',
		'imageId': '69952741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952755&x=256',
		'title': '',
		'imageId': '69952755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952754&x=256',
		'title': '',
		'imageId': '69952754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952753&x=256',
		'title': '',
		'imageId': '69952753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952756&x=256',
		'title': '',
		'imageId': '69952756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952757&x=256',
		'title': '',
		'imageId': '69952757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952761&x=256',
		'title': '',
		'imageId': '69952761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952763&x=256',
		'title': '',
		'imageId': '69952763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952767&x=256',
		'title': '',
		'imageId': '69952767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952771&x=256',
		'title': '',
		'imageId': '69952771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952772&x=256',
		'title': '',
		'imageId': '69952772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952779&x=256',
		'title': '',
		'imageId': '69952779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009740&docid=69952737&x=256',
		'title': '',
		'imageId': '69952737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009740';

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