var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606016&x=338',
		'title': '',
		'imageId': '2606016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606019&x=338',
		'title': '',
		'imageId': '2606019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2605995&x=338',
		'title': '',
		'imageId': '2605995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2605998&x=338',
		'title': '',
		'imageId': '2605998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606001&x=338',
		'title': '',
		'imageId': '2606001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606004&x=338',
		'title': '',
		'imageId': '2606004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606007&x=338',
		'title': '',
		'imageId': '2606007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606010&x=338',
		'title': '',
		'imageId': '2606010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606013&x=338',
		'title': '',
		'imageId': '2606013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606022&x=338',
		'title': '',
		'imageId': '2606022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606026&x=338',
		'title': '',
		'imageId': '2606026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606032&x=338',
		'title': '',
		'imageId': '2606032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606039&x=338',
		'title': '',
		'imageId': '2606039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606042&x=338',
		'title': '',
		'imageId': '2606042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606045&x=338',
		'title': '',
		'imageId': '2606045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606048&x=338',
		'title': '',
		'imageId': '2606048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606051&x=338',
		'title': '',
		'imageId': '2606051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606054&x=338',
		'title': '',
		'imageId': '2606054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606057&x=338',
		'title': '',
		'imageId': '2606057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476693&docid=2606060&x=338',
		'title': '',
		'imageId': '2606060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #476693';

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