var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546243&x=3756',
		'title': '',
		'imageId': '69546243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546256&x=3756',
		'title': '',
		'imageId': '69546256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546257&x=3756',
		'title': '',
		'imageId': '69546257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546258&x=3756',
		'title': '',
		'imageId': '69546258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546253&x=3756',
		'title': '',
		'imageId': '69546253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546244&x=3756',
		'title': '',
		'imageId': '69546244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546252&x=3756',
		'title': '',
		'imageId': '69546252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546249&x=3756',
		'title': '',
		'imageId': '69546249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546245&x=3756',
		'title': '',
		'imageId': '69546245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546250&x=3756',
		'title': '',
		'imageId': '69546250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546248&x=3756',
		'title': '',
		'imageId': '69546248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546247&x=3756',
		'title': '',
		'imageId': '69546247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546255&x=3756',
		'title': '',
		'imageId': '69546255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546254&x=3756',
		'title': '',
		'imageId': '69546254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546246&x=3756',
		'title': '',
		'imageId': '69546246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992612&docid=69546251&x=3756',
		'title': '',
		'imageId': '69546251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992612';

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