var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291384&x=5342',
		'title': '',
		'imageId': '69291384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291382&x=5342',
		'title': '',
		'imageId': '69291382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291385&x=5342',
		'title': '',
		'imageId': '69291385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291386&x=5342',
		'title': '',
		'imageId': '69291386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291388&x=5342',
		'title': '',
		'imageId': '69291388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291389&x=5342',
		'title': '',
		'imageId': '69291389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291383&x=5342',
		'title': '',
		'imageId': '69291383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291387&x=5342',
		'title': '',
		'imageId': '69291387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291391&x=5342',
		'title': '',
		'imageId': '69291391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291390&x=5342',
		'title': '',
		'imageId': '69291390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981087&docid=69291392&x=5342',
		'title': '',
		'imageId': '69291392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981087';

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