var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666265&x=1850',
		'title': '',
		'imageId': '69666265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666267&x=1850',
		'title': '',
		'imageId': '69666267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666263&x=1850',
		'title': '',
		'imageId': '69666263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666261&x=1850',
		'title': '',
		'imageId': '69666261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666260&x=1850',
		'title': '',
		'imageId': '69666260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666264&x=1850',
		'title': '',
		'imageId': '69666264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666266&x=1850',
		'title': '',
		'imageId': '69666266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666262&x=1850',
		'title': '',
		'imageId': '69666262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666268&x=1850',
		'title': '',
		'imageId': '69666268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666269&x=1850',
		'title': '',
		'imageId': '69666269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666259&x=1850',
		'title': '',
		'imageId': '69666259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998442&docid=69666258&x=1850',
		'title': '',
		'imageId': '69666258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998442';

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