var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006903&docid=69879835&x=5056',
		'title': '',
		'imageId': '69879835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006903&docid=69879836&x=5056',
		'title': '',
		'imageId': '69879836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006903&docid=69879832&x=5056',
		'title': '',
		'imageId': '69879832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006903&docid=69879834&x=5056',
		'title': '',
		'imageId': '69879834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006903&docid=69879831&x=5056',
		'title': '',
		'imageId': '69879831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006903&docid=69879833&x=5056',
		'title': '',
		'imageId': '69879833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006903&docid=69879830&x=5056',
		'title': '',
		'imageId': '69879830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006903';

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