var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197762&x=5026',
		'title': '',
		'imageId': '69197762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197765&x=5026',
		'title': '',
		'imageId': '69197765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197766&x=5026',
		'title': '',
		'imageId': '69197766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197764&x=5026',
		'title': '',
		'imageId': '69197764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197763&x=5026',
		'title': '',
		'imageId': '69197763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197767&x=5026',
		'title': '',
		'imageId': '69197767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197772&x=5026',
		'title': '',
		'imageId': '69197772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197777&x=5026',
		'title': '',
		'imageId': '69197777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197780&x=5026',
		'title': '',
		'imageId': '69197780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197785&x=5026',
		'title': '',
		'imageId': '69197785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197786&x=5026',
		'title': '',
		'imageId': '69197786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197787&x=5026',
		'title': '',
		'imageId': '69197787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197790&x=5026',
		'title': '',
		'imageId': '69197790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197796&x=5026',
		'title': '',
		'imageId': '69197796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197798&x=5026',
		'title': '',
		'imageId': '69197798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197800&x=5026',
		'title': '',
		'imageId': '69197800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197807&x=5026',
		'title': '',
		'imageId': '69197807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197815&x=5026',
		'title': '',
		'imageId': '69197815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197812&x=5026',
		'title': '',
		'imageId': '69197812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197816&x=5026',
		'title': '',
		'imageId': '69197816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197820&x=5026',
		'title': '',
		'imageId': '69197820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197819&x=5026',
		'title': '',
		'imageId': '69197819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197827&x=5026',
		'title': '',
		'imageId': '69197827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977285&docid=69197834&x=5026',
		'title': '',
		'imageId': '69197834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977285';

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