var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343094&x=20',
		'title': '',
		'imageId': '69343094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343092&x=20',
		'title': '',
		'imageId': '69343092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343095&x=20',
		'title': '',
		'imageId': '69343095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343078&x=20',
		'title': '',
		'imageId': '69343078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343080&x=20',
		'title': '',
		'imageId': '69343080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343081&x=20',
		'title': '',
		'imageId': '69343081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343077&x=20',
		'title': '',
		'imageId': '69343077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343083&x=20',
		'title': '',
		'imageId': '69343083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343085&x=20',
		'title': '',
		'imageId': '69343085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343079&x=20',
		'title': '',
		'imageId': '69343079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343082&x=20',
		'title': '',
		'imageId': '69343082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343084&x=20',
		'title': '',
		'imageId': '69343084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343090&x=20',
		'title': '',
		'imageId': '69343090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343086&x=20',
		'title': '',
		'imageId': '69343086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343089&x=20',
		'title': '',
		'imageId': '69343089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343091&x=20',
		'title': '',
		'imageId': '69343091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343087&x=20',
		'title': '',
		'imageId': '69343087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343088&x=20',
		'title': '',
		'imageId': '69343088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=69343093&x=20',
		'title': '',
		'imageId': '69343093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983577&docid=63113036&x=20',
		'title': '',
		'imageId': '63113036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983577';

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