var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630818&x=3612',
		'title': '',
		'imageId': '69630818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630816&x=3612',
		'title': '',
		'imageId': '69630816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630820&x=3612',
		'title': '',
		'imageId': '69630820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630819&x=3612',
		'title': '',
		'imageId': '69630819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630814&x=3612',
		'title': '',
		'imageId': '69630814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630817&x=3612',
		'title': '',
		'imageId': '69630817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630812&x=3612',
		'title': '',
		'imageId': '69630812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630813&x=3612',
		'title': '',
		'imageId': '69630813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630815&x=3612',
		'title': '',
		'imageId': '69630815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996826&docid=69630821&x=3612',
		'title': '',
		'imageId': '69630821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3996826';

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