var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529793&x=4024',
		'title': '',
		'imageId': '69529793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529794&x=4024',
		'title': '',
		'imageId': '69529794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529795&x=4024',
		'title': '',
		'imageId': '69529795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529796&x=4024',
		'title': '',
		'imageId': '69529796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529797&x=4024',
		'title': '',
		'imageId': '69529797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529798&x=4024',
		'title': '',
		'imageId': '69529798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529799&x=4024',
		'title': '',
		'imageId': '69529799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529800&x=4024',
		'title': '',
		'imageId': '69529800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529801&x=4024',
		'title': '',
		'imageId': '69529801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991866&docid=69529802&x=4024',
		'title': '',
		'imageId': '69529802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991866';

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