var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726463&x=2156',
		'title': '',
		'imageId': '63726463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726467&x=2156',
		'title': '',
		'imageId': '63726467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726468&x=2156',
		'title': '',
		'imageId': '63726468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726455&x=2156',
		'title': '',
		'imageId': '63726455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726458&x=2156',
		'title': '',
		'imageId': '63726458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726461&x=2156',
		'title': '',
		'imageId': '63726461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726462&x=2156',
		'title': '',
		'imageId': '63726462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726464&x=2156',
		'title': '',
		'imageId': '63726464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=63726469&x=2156',
		'title': '',
		'imageId': '63726469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536709&x=2156',
		'title': '',
		'imageId': '67536709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536717&x=2156',
		'title': '',
		'imageId': '67536717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536713&x=2156',
		'title': '',
		'imageId': '67536713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536710&x=2156',
		'title': '',
		'imageId': '67536710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536719&x=2156',
		'title': '',
		'imageId': '67536719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536720&x=2156',
		'title': '',
		'imageId': '67536720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536718&x=2156',
		'title': '',
		'imageId': '67536718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536716&x=2156',
		'title': '',
		'imageId': '67536716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536714&x=2156',
		'title': '',
		'imageId': '67536714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536715&x=2156',
		'title': '',
		'imageId': '67536715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536712&x=2156',
		'title': '',
		'imageId': '67536712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536711&x=2156',
		'title': '',
		'imageId': '67536711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3756940&docid=67536721&x=2156',
		'title': '',
		'imageId': '67536721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3756940';

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