var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191634&x=454',
		'title': '',
		'imageId': '69191634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191635&x=454',
		'title': '',
		'imageId': '69191635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191636&x=454',
		'title': '',
		'imageId': '69191636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191638&x=454',
		'title': '',
		'imageId': '69191638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191639&x=454',
		'title': '',
		'imageId': '69191639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191640&x=454',
		'title': '',
		'imageId': '69191640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191641&x=454',
		'title': '',
		'imageId': '69191641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191642&x=454',
		'title': '',
		'imageId': '69191642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191643&x=454',
		'title': '',
		'imageId': '69191643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191644&x=454',
		'title': '',
		'imageId': '69191644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976998&docid=69191647&x=454',
		'title': '',
		'imageId': '69191647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976998';

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