var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965399&x=3339',
		'title': '',
		'imageId': '67965399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965402&x=3339',
		'title': '',
		'imageId': '67965402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965401&x=3339',
		'title': '',
		'imageId': '67965401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965400&x=3339',
		'title': '',
		'imageId': '67965400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965414&x=3339',
		'title': '',
		'imageId': '67965414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965395&x=3339',
		'title': '',
		'imageId': '67965395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965415&x=3339',
		'title': '',
		'imageId': '67965415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965393&x=3339',
		'title': '',
		'imageId': '67965393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965397&x=3339',
		'title': '',
		'imageId': '67965397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965394&x=3339',
		'title': '',
		'imageId': '67965394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965398&x=3339',
		'title': '',
		'imageId': '67965398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965407&x=3339',
		'title': '',
		'imageId': '67965407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965408&x=3339',
		'title': '',
		'imageId': '67965408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965412&x=3339',
		'title': '',
		'imageId': '67965412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965403&x=3339',
		'title': '',
		'imageId': '67965403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965406&x=3339',
		'title': '',
		'imageId': '67965406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965413&x=3339',
		'title': '',
		'imageId': '67965413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965409&x=3339',
		'title': '',
		'imageId': '67965409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965410&x=3339',
		'title': '',
		'imageId': '67965410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965405&x=3339',
		'title': '',
		'imageId': '67965405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965404&x=3339',
		'title': '',
		'imageId': '67965404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922708&docid=67965411&x=3339',
		'title': '',
		'imageId': '67965411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922708';

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