var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600910&x=5754',
		'title': '',
		'imageId': '69600910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600914&x=5754',
		'title': '',
		'imageId': '69600914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600955&x=5754',
		'title': '',
		'imageId': '69600955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600911&x=5754',
		'title': '',
		'imageId': '69600911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600927&x=5754',
		'title': '',
		'imageId': '69600927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600920&x=5754',
		'title': '',
		'imageId': '69600920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600946&x=5754',
		'title': '',
		'imageId': '69600946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600915&x=5754',
		'title': '',
		'imageId': '69600915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600912&x=5754',
		'title': '',
		'imageId': '69600912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600913&x=5754',
		'title': '',
		'imageId': '69600913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600935&x=5754',
		'title': '',
		'imageId': '69600935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600921&x=5754',
		'title': '',
		'imageId': '69600921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600930&x=5754',
		'title': '',
		'imageId': '69600930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600926&x=5754',
		'title': '',
		'imageId': '69600926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600937&x=5754',
		'title': '',
		'imageId': '69600937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600943&x=5754',
		'title': '',
		'imageId': '69600943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600949&x=5754',
		'title': '',
		'imageId': '69600949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600954&x=5754',
		'title': '',
		'imageId': '69600954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600967&x=5754',
		'title': '',
		'imageId': '69600967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600959&x=5754',
		'title': '',
		'imageId': '69600959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600961&x=5754',
		'title': '',
		'imageId': '69600961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600973&x=5754',
		'title': '',
		'imageId': '69600973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012332&docid=69600966&x=5754',
		'title': '',
		'imageId': '69600966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012332';

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