var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341370&x=4844',
		'title': '',
		'imageId': '67341370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341369&x=4844',
		'title': '',
		'imageId': '67341369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341375&x=4844',
		'title': '',
		'imageId': '67341375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341372&x=4844',
		'title': '',
		'imageId': '67341372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341368&x=4844',
		'title': '',
		'imageId': '67341368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341373&x=4844',
		'title': '',
		'imageId': '67341373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341367&x=4844',
		'title': '',
		'imageId': '67341367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341371&x=4844',
		'title': '',
		'imageId': '67341371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341374&x=4844',
		'title': '',
		'imageId': '67341374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964940&docid=67341366&x=4844',
		'title': '',
		'imageId': '67341366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964940';

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