var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566239&x=3232',
		'title': '',
		'imageId': '69566239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566242&x=3232',
		'title': '',
		'imageId': '69566242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566245&x=3232',
		'title': '',
		'imageId': '69566245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566240&x=3232',
		'title': '',
		'imageId': '69566240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566237&x=3232',
		'title': '',
		'imageId': '69566237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566238&x=3232',
		'title': '',
		'imageId': '69566238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566236&x=3232',
		'title': '',
		'imageId': '69566236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566241&x=3232',
		'title': '',
		'imageId': '69566241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566235&x=3232',
		'title': '',
		'imageId': '69566235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566244&x=3232',
		'title': '',
		'imageId': '69566244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566243&x=3232',
		'title': '',
		'imageId': '69566243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993338&docid=69566246&x=3232',
		'title': '',
		'imageId': '69566246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993338';

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