var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680232&x=5030',
		'title': '',
		'imageId': '67680232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680260&x=5030',
		'title': '',
		'imageId': '67680260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680296&x=5030',
		'title': '',
		'imageId': '67680296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680314&x=5030',
		'title': '',
		'imageId': '67680314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680349&x=5030',
		'title': '',
		'imageId': '67680349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680390&x=5030',
		'title': '',
		'imageId': '67680390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680395&x=5030',
		'title': '',
		'imageId': '67680395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680399&x=5030',
		'title': '',
		'imageId': '67680399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680402&x=5030',
		'title': '',
		'imageId': '67680402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680405&x=5030',
		'title': '',
		'imageId': '67680405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680424&x=5030',
		'title': '',
		'imageId': '67680424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888754&docid=67680450&x=5030',
		'title': '',
		'imageId': '67680450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3888754';

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