var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995013&docid=69824592&x=1635',
		'title': '',
		'imageId': '69824592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995013&docid=69824597&x=1635',
		'title': '',
		'imageId': '69824597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995013&docid=69824593&x=1635',
		'title': '',
		'imageId': '69824593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995013&docid=69824596&x=1635',
		'title': '',
		'imageId': '69824596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995013&docid=69824594&x=1635',
		'title': '',
		'imageId': '69824594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995013&docid=69824595&x=1635',
		'title': '',
		'imageId': '69824595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995013&docid=69824591&x=1635',
		'title': '',
		'imageId': '69824591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995013';

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