var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145837&x=538',
		'title': '',
		'imageId': '69145837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145835&x=538',
		'title': '',
		'imageId': '69145835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145827&x=538',
		'title': '',
		'imageId': '69145827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145830&x=538',
		'title': '',
		'imageId': '69145830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145842&x=538',
		'title': '',
		'imageId': '69145842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145834&x=538',
		'title': '',
		'imageId': '69145834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145840&x=538',
		'title': '',
		'imageId': '69145840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145823&x=538',
		'title': '',
		'imageId': '69145823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145832&x=538',
		'title': '',
		'imageId': '69145832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145833&x=538',
		'title': '',
		'imageId': '69145833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145825&x=538',
		'title': '',
		'imageId': '69145825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145839&x=538',
		'title': '',
		'imageId': '69145839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145841&x=538',
		'title': '',
		'imageId': '69145841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145831&x=538',
		'title': '',
		'imageId': '69145831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145828&x=538',
		'title': '',
		'imageId': '69145828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145838&x=538',
		'title': '',
		'imageId': '69145838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145826&x=538',
		'title': '',
		'imageId': '69145826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145836&x=538',
		'title': '',
		'imageId': '69145836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145829&x=538',
		'title': '',
		'imageId': '69145829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975017&docid=69145824&x=538',
		'title': '',
		'imageId': '69145824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975017';

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