var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751313&x=4623',
		'title': '',
		'imageId': '69751313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751305&x=4623',
		'title': '',
		'imageId': '69751305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751315&x=4623',
		'title': '',
		'imageId': '69751315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751320&x=4623',
		'title': '',
		'imageId': '69751320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751319&x=4623',
		'title': '',
		'imageId': '69751319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751308&x=4623',
		'title': '',
		'imageId': '69751308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751323&x=4623',
		'title': '',
		'imageId': '69751323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751329&x=4623',
		'title': '',
		'imageId': '69751329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751336&x=4623',
		'title': '',
		'imageId': '69751336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751326&x=4623',
		'title': '',
		'imageId': '69751326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751280&x=4623',
		'title': '',
		'imageId': '69751280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751276&x=4623',
		'title': '',
		'imageId': '69751276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751277&x=4623',
		'title': '',
		'imageId': '69751277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751279&x=4623',
		'title': '',
		'imageId': '69751279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751278&x=4623',
		'title': '',
		'imageId': '69751278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001645&docid=69751294&x=4623',
		'title': '',
		'imageId': '69751294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001645';

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