var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962054&x=145',
		'title': '',
		'imageId': '67962054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962059&x=145',
		'title': '',
		'imageId': '67962059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962053&x=145',
		'title': '',
		'imageId': '67962053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962051&x=145',
		'title': '',
		'imageId': '67962051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962056&x=145',
		'title': '',
		'imageId': '67962056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962050&x=145',
		'title': '',
		'imageId': '67962050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962057&x=145',
		'title': '',
		'imageId': '67962057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67962058&x=145',
		'title': '',
		'imageId': '67962058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67974274&x=145',
		'title': '',
		'imageId': '67974274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922489&docid=67974275&x=145',
		'title': '',
		'imageId': '67974275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922489';

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