var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293355&x=5843',
		'title': '',
		'imageId': '69293355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293352&x=5843',
		'title': '',
		'imageId': '69293352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293371&x=5843',
		'title': '',
		'imageId': '69293371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293367&x=5843',
		'title': '',
		'imageId': '69293367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293370&x=5843',
		'title': '',
		'imageId': '69293370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293374&x=5843',
		'title': '',
		'imageId': '69293374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293389&x=5843',
		'title': '',
		'imageId': '69293389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293386&x=5843',
		'title': '',
		'imageId': '69293386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293387&x=5843',
		'title': '',
		'imageId': '69293387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293368&x=5843',
		'title': '',
		'imageId': '69293368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293351&x=5843',
		'title': '',
		'imageId': '69293351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293353&x=5843',
		'title': '',
		'imageId': '69293353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293350&x=5843',
		'title': '',
		'imageId': '69293350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293369&x=5843',
		'title': '',
		'imageId': '69293369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293385&x=5843',
		'title': '',
		'imageId': '69293385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293398&x=5843',
		'title': '',
		'imageId': '69293398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293408&x=5843',
		'title': '',
		'imageId': '69293408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293409&x=5843',
		'title': '',
		'imageId': '69293409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293405&x=5843',
		'title': '',
		'imageId': '69293405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293410&x=5843',
		'title': '',
		'imageId': '69293410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293415&x=5843',
		'title': '',
		'imageId': '69293415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293391&x=5843',
		'title': '',
		'imageId': '69293391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981383&docid=69293397&x=5843',
		'title': '',
		'imageId': '69293397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981383';

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