var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866905&x=440',
		'title': '',
		'imageId': '69866905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866921&x=440',
		'title': '',
		'imageId': '69866921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866898&x=440',
		'title': '',
		'imageId': '69866898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866902&x=440',
		'title': '',
		'imageId': '69866902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866903&x=440',
		'title': '',
		'imageId': '69866903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866908&x=440',
		'title': '',
		'imageId': '69866908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866917&x=440',
		'title': '',
		'imageId': '69866917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866916&x=440',
		'title': '',
		'imageId': '69866916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866901&x=440',
		'title': '',
		'imageId': '69866901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866900&x=440',
		'title': '',
		'imageId': '69866900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866912&x=440',
		'title': '',
		'imageId': '69866912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866910&x=440',
		'title': '',
		'imageId': '69866910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866909&x=440',
		'title': '',
		'imageId': '69866909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866918&x=440',
		'title': '',
		'imageId': '69866918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866920&x=440',
		'title': '',
		'imageId': '69866920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866914&x=440',
		'title': '',
		'imageId': '69866914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866906&x=440',
		'title': '',
		'imageId': '69866906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866907&x=440',
		'title': '',
		'imageId': '69866907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866904&x=440',
		'title': '',
		'imageId': '69866904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866899&x=440',
		'title': '',
		'imageId': '69866899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866919&x=440',
		'title': '',
		'imageId': '69866919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006351&docid=69866915&x=440',
		'title': '',
		'imageId': '69866915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006351';

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