var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221760&x=033',
		'title': '',
		'imageId': '69221760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221777&x=033',
		'title': '',
		'imageId': '69221777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221756&x=033',
		'title': '',
		'imageId': '69221756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221762&x=033',
		'title': '',
		'imageId': '69221762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221771&x=033',
		'title': '',
		'imageId': '69221771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221773&x=033',
		'title': '',
		'imageId': '69221773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221772&x=033',
		'title': '',
		'imageId': '69221772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221767&x=033',
		'title': '',
		'imageId': '69221767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221769&x=033',
		'title': '',
		'imageId': '69221769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221770&x=033',
		'title': '',
		'imageId': '69221770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221774&x=033',
		'title': '',
		'imageId': '69221774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221763&x=033',
		'title': '',
		'imageId': '69221763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221766&x=033',
		'title': '',
		'imageId': '69221766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221775&x=033',
		'title': '',
		'imageId': '69221775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221764&x=033',
		'title': '',
		'imageId': '69221764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221758&x=033',
		'title': '',
		'imageId': '69221758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221768&x=033',
		'title': '',
		'imageId': '69221768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221780&x=033',
		'title': '',
		'imageId': '69221780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221778&x=033',
		'title': '',
		'imageId': '69221778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221779&x=033',
		'title': '',
		'imageId': '69221779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221765&x=033',
		'title': '',
		'imageId': '69221765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221761&x=033',
		'title': '',
		'imageId': '69221761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221759&x=033',
		'title': '',
		'imageId': '69221759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978491&docid=69221757&x=033',
		'title': '',
		'imageId': '69221757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978491';

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