var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025889&x=1832',
		'title': '',
		'imageId': '70025889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025890&x=1832',
		'title': '',
		'imageId': '70025890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025895&x=1832',
		'title': '',
		'imageId': '70025895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025892&x=1832',
		'title': '',
		'imageId': '70025892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025891&x=1832',
		'title': '',
		'imageId': '70025891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025885&x=1832',
		'title': '',
		'imageId': '70025885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025886&x=1832',
		'title': '',
		'imageId': '70025886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025887&x=1832',
		'title': '',
		'imageId': '70025887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025893&x=1832',
		'title': '',
		'imageId': '70025893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025894&x=1832',
		'title': '',
		'imageId': '70025894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012906&docid=70025888&x=1832',
		'title': '',
		'imageId': '70025888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012906';

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