var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67188092&x=220',
		'title': '',
		'imageId': '67188092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184902&x=220',
		'title': '',
		'imageId': '67184902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184903&x=220',
		'title': '',
		'imageId': '67184903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184904&x=220',
		'title': '',
		'imageId': '67184904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184905&x=220',
		'title': '',
		'imageId': '67184905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184906&x=220',
		'title': '',
		'imageId': '67184906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184897&x=220',
		'title': '',
		'imageId': '67184897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184898&x=220',
		'title': '',
		'imageId': '67184898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184899&x=220',
		'title': '',
		'imageId': '67184899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945341&docid=67184900&x=220',
		'title': '',
		'imageId': '67184900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945341';

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