var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063701&x=3157',
		'title': '',
		'imageId': '69063701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063703&x=3157',
		'title': '',
		'imageId': '69063703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063704&x=3157',
		'title': '',
		'imageId': '69063704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063705&x=3157',
		'title': '',
		'imageId': '69063705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063706&x=3157',
		'title': '',
		'imageId': '69063706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063707&x=3157',
		'title': '',
		'imageId': '69063707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063708&x=3157',
		'title': '',
		'imageId': '69063708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063709&x=3157',
		'title': '',
		'imageId': '69063709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063710&x=3157',
		'title': '',
		'imageId': '69063710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971940&docid=69063711&x=3157',
		'title': '',
		'imageId': '69063711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971940';

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