var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166414&x=1828',
		'title': '',
		'imageId': '69166414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166408&x=1828',
		'title': '',
		'imageId': '69166408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166409&x=1828',
		'title': '',
		'imageId': '69166409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166425&x=1828',
		'title': '',
		'imageId': '69166425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166410&x=1828',
		'title': '',
		'imageId': '69166410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166411&x=1828',
		'title': '',
		'imageId': '69166411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166424&x=1828',
		'title': '',
		'imageId': '69166424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166418&x=1828',
		'title': '',
		'imageId': '69166418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166419&x=1828',
		'title': '',
		'imageId': '69166419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166420&x=1828',
		'title': '',
		'imageId': '69166420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166421&x=1828',
		'title': '',
		'imageId': '69166421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166422&x=1828',
		'title': '',
		'imageId': '69166422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166426&x=1828',
		'title': '',
		'imageId': '69166426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166427&x=1828',
		'title': '',
		'imageId': '69166427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166428&x=1828',
		'title': '',
		'imageId': '69166428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166423&x=1828',
		'title': '',
		'imageId': '69166423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166429&x=1828',
		'title': '',
		'imageId': '69166429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166431&x=1828',
		'title': '',
		'imageId': '69166431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166432&x=1828',
		'title': '',
		'imageId': '69166432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166413&x=1828',
		'title': '',
		'imageId': '69166413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166430&x=1828',
		'title': '',
		'imageId': '69166430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975731&docid=69166412&x=1828',
		'title': '',
		'imageId': '69166412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975731';

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