var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200795&x=268',
		'title': '',
		'imageId': '70200795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200796&x=268',
		'title': '',
		'imageId': '70200796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200797&x=268',
		'title': '',
		'imageId': '70200797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200798&x=268',
		'title': '',
		'imageId': '70200798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200804&x=268',
		'title': '',
		'imageId': '70200804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200802&x=268',
		'title': '',
		'imageId': '70200802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200803&x=268',
		'title': '',
		'imageId': '70200803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200805&x=268',
		'title': '',
		'imageId': '70200805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200811&x=268',
		'title': '',
		'imageId': '70200811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200806&x=268',
		'title': '',
		'imageId': '70200806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018824&docid=70200814&x=268',
		'title': '',
		'imageId': '70200814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018824';

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