var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004171&x=3836',
		'title': '',
		'imageId': '69004171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004170&x=3836',
		'title': '',
		'imageId': '69004170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004172&x=3836',
		'title': '',
		'imageId': '69004172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004166&x=3836',
		'title': '',
		'imageId': '69004166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004169&x=3836',
		'title': '',
		'imageId': '69004169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004173&x=3836',
		'title': '',
		'imageId': '69004173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004168&x=3836',
		'title': '',
		'imageId': '69004168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004167&x=3836',
		'title': '',
		'imageId': '69004167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004175&x=3836',
		'title': '',
		'imageId': '69004175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969121&docid=69004174&x=3836',
		'title': '',
		'imageId': '69004174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969121';

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