var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971388&docid=69050036&x=3523',
		'title': '',
		'imageId': '69050036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971388&docid=69050039&x=3523',
		'title': '',
		'imageId': '69050039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971388&docid=69050046&x=3523',
		'title': '',
		'imageId': '69050046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971388&docid=69050047&x=3523',
		'title': '',
		'imageId': '69050047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971388&docid=69050048&x=3523',
		'title': '',
		'imageId': '69050048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971388&docid=69050049&x=3523',
		'title': '',
		'imageId': '69050049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971388&docid=69050050&x=3523',
		'title': '',
		'imageId': '69050050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971388';

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