var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758193&x=5155',
		'title': '',
		'imageId': '69758193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758198&x=5155',
		'title': '',
		'imageId': '69758198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758195&x=5155',
		'title': '',
		'imageId': '69758195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758199&x=5155',
		'title': '',
		'imageId': '69758199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758202&x=5155',
		'title': '',
		'imageId': '69758202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758200&x=5155',
		'title': '',
		'imageId': '69758200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758201&x=5155',
		'title': '',
		'imageId': '69758201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758196&x=5155',
		'title': '',
		'imageId': '69758196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758194&x=5155',
		'title': '',
		'imageId': '69758194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001778&docid=69758197&x=5155',
		'title': '',
		'imageId': '69758197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001778';

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