var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380742&x=253',
		'title': '',
		'imageId': '69380742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380745&x=253',
		'title': '',
		'imageId': '69380745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380744&x=253',
		'title': '',
		'imageId': '69380744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380746&x=253',
		'title': '',
		'imageId': '69380746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380747&x=253',
		'title': '',
		'imageId': '69380747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380748&x=253',
		'title': '',
		'imageId': '69380748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380749&x=253',
		'title': '',
		'imageId': '69380749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380753&x=253',
		'title': '',
		'imageId': '69380753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380750&x=253',
		'title': '',
		'imageId': '69380750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380751&x=253',
		'title': '',
		'imageId': '69380751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985039&docid=69380752&x=253',
		'title': '',
		'imageId': '69380752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985039';

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