var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775900&x=5553',
		'title': '',
		'imageId': '67775900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775902&x=5553',
		'title': '',
		'imageId': '67775902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775905&x=5553',
		'title': '',
		'imageId': '67775905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775898&x=5553',
		'title': '',
		'imageId': '67775898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775906&x=5553',
		'title': '',
		'imageId': '67775906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775897&x=5553',
		'title': '',
		'imageId': '67775897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775903&x=5553',
		'title': '',
		'imageId': '67775903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775899&x=5553',
		'title': '',
		'imageId': '67775899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775894&x=5553',
		'title': '',
		'imageId': '67775894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915362&docid=67775901&x=5553',
		'title': '',
		'imageId': '67775901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915362';

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