var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380957&x=570',
		'title': '',
		'imageId': '69380957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380958&x=570',
		'title': '',
		'imageId': '69380958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380960&x=570',
		'title': '',
		'imageId': '69380960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380959&x=570',
		'title': '',
		'imageId': '69380959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380961&x=570',
		'title': '',
		'imageId': '69380961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380962&x=570',
		'title': '',
		'imageId': '69380962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380963&x=570',
		'title': '',
		'imageId': '69380963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380964&x=570',
		'title': '',
		'imageId': '69380964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380965&x=570',
		'title': '',
		'imageId': '69380965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985056&docid=69380966&x=570',
		'title': '',
		'imageId': '69380966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985056';

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