var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164501&x=5132',
		'title': '',
		'imageId': '69164501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164504&x=5132',
		'title': '',
		'imageId': '69164504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164537&x=5132',
		'title': '',
		'imageId': '69164537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164639&x=5132',
		'title': '',
		'imageId': '69164639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164543&x=5132',
		'title': '',
		'imageId': '69164543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164550&x=5132',
		'title': '',
		'imageId': '69164550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164513&x=5132',
		'title': '',
		'imageId': '69164513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164521&x=5132',
		'title': '',
		'imageId': '69164521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164647&x=5132',
		'title': '',
		'imageId': '69164647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975651&docid=69164675&x=5132',
		'title': '',
		'imageId': '69164675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975651';

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