var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970144&x=533',
		'title': '',
		'imageId': '67970144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970152&x=533',
		'title': '',
		'imageId': '67970152',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970153&x=533',
		'title': '',
		'imageId': '67970153',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970155&x=533',
		'title': '',
		'imageId': '67970155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970156&x=533',
		'title': '',
		'imageId': '67970156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970158&x=533',
		'title': '',
		'imageId': '67970158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970160&x=533',
		'title': '',
		'imageId': '67970160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970161&x=533',
		'title': '',
		'imageId': '67970161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970163&x=533',
		'title': '',
		'imageId': '67970163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970167&x=533',
		'title': '',
		'imageId': '67970167',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970169&x=533',
		'title': '',
		'imageId': '67970169',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970170&x=533',
		'title': '',
		'imageId': '67970170',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970172&x=533',
		'title': '',
		'imageId': '67970172',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970173&x=533',
		'title': '',
		'imageId': '67970173',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970174&x=533',
		'title': '',
		'imageId': '67970174',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970175&x=533',
		'title': '',
		'imageId': '67970175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970176&x=533',
		'title': '',
		'imageId': '67970176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970177&x=533',
		'title': '',
		'imageId': '67970177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922949&docid=67970178&x=533',
		'title': '',
		'imageId': '67970178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922949';

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