var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984663&docid=69369988&x=4848',
		'title': '',
		'imageId': '69369988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984663&docid=69369991&x=4848',
		'title': '',
		'imageId': '69369991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984663&docid=69369993&x=4848',
		'title': '',
		'imageId': '69369993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984663&docid=69369994&x=4848',
		'title': '',
		'imageId': '69369994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984663&docid=69369998&x=4848',
		'title': '',
		'imageId': '69369998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984663&docid=69370003&x=4848',
		'title': '',
		'imageId': '69370003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984663&docid=69370004&x=4848',
		'title': '',
		'imageId': '69370004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984663';

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