var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187278&x=27',
		'title': '',
		'imageId': '69187278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187282&x=27',
		'title': '',
		'imageId': '69187282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187280&x=27',
		'title': '',
		'imageId': '69187280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187279&x=27',
		'title': '',
		'imageId': '69187279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187281&x=27',
		'title': '',
		'imageId': '69187281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187284&x=27',
		'title': '',
		'imageId': '69187284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187286&x=27',
		'title': '',
		'imageId': '69187286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187285&x=27',
		'title': '',
		'imageId': '69187285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187287&x=27',
		'title': '',
		'imageId': '69187287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976819&docid=69187283&x=27',
		'title': '',
		'imageId': '69187283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976819';

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