var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753775&x=449',
		'title': '',
		'imageId': '69753775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753765&x=449',
		'title': '',
		'imageId': '69753765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753754&x=449',
		'title': '',
		'imageId': '69753754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753761&x=449',
		'title': '',
		'imageId': '69753761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753757&x=449',
		'title': '',
		'imageId': '69753757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753753&x=449',
		'title': '',
		'imageId': '69753753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753756&x=449',
		'title': '',
		'imageId': '69753756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753774&x=449',
		'title': '',
		'imageId': '69753774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753767&x=449',
		'title': '',
		'imageId': '69753767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753776&x=449',
		'title': '',
		'imageId': '69753776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753755&x=449',
		'title': '',
		'imageId': '69753755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001698&docid=69753758&x=449',
		'title': '',
		'imageId': '69753758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001698';

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