var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649810&x=610',
		'title': '',
		'imageId': '69649810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649798&x=610',
		'title': '',
		'imageId': '69649798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649801&x=610',
		'title': '',
		'imageId': '69649801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649809&x=610',
		'title': '',
		'imageId': '69649809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649825&x=610',
		'title': '',
		'imageId': '69649825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649814&x=610',
		'title': '',
		'imageId': '69649814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649816&x=610',
		'title': '',
		'imageId': '69649816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649822&x=610',
		'title': '',
		'imageId': '69649822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649819&x=610',
		'title': '',
		'imageId': '69649819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649829&x=610',
		'title': '',
		'imageId': '69649829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649793&x=610',
		'title': '',
		'imageId': '69649793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649795&x=610',
		'title': '',
		'imageId': '69649795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649790&x=610',
		'title': '',
		'imageId': '69649790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649792&x=610',
		'title': '',
		'imageId': '69649792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649791&x=610',
		'title': '',
		'imageId': '69649791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997525&docid=69649794&x=610',
		'title': '',
		'imageId': '69649794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997525';

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