var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071834&x=1137',
		'title': '',
		'imageId': '69071834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071826&x=1137',
		'title': '',
		'imageId': '69071826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071833&x=1137',
		'title': '',
		'imageId': '69071833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071836&x=1137',
		'title': '',
		'imageId': '69071836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071828&x=1137',
		'title': '',
		'imageId': '69071828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071832&x=1137',
		'title': '',
		'imageId': '69071832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071829&x=1137',
		'title': '',
		'imageId': '69071829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071835&x=1137',
		'title': '',
		'imageId': '69071835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071825&x=1137',
		'title': '',
		'imageId': '69071825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071831&x=1137',
		'title': '',
		'imageId': '69071831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071839&x=1137',
		'title': '',
		'imageId': '69071839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071838&x=1137',
		'title': '',
		'imageId': '69071838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071827&x=1137',
		'title': '',
		'imageId': '69071827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071837&x=1137',
		'title': '',
		'imageId': '69071837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972066&docid=69071830&x=1137',
		'title': '',
		'imageId': '69071830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972066';

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