var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906623&docid=67562790&x=198',
		'title': '',
		'imageId': '67562790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906623&docid=67562796&x=198',
		'title': '',
		'imageId': '67562796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906623&docid=67562793&x=198',
		'title': '',
		'imageId': '67562793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906623&docid=67562795&x=198',
		'title': '',
		'imageId': '67562795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906623&docid=67562792&x=198',
		'title': '',
		'imageId': '67562792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906623&docid=67562794&x=198',
		'title': '',
		'imageId': '67562794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906623&docid=67562791&x=198',
		'title': '',
		'imageId': '67562791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906623';

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