var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787333&x=2126',
		'title': '',
		'imageId': '69787333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787329&x=2126',
		'title': '',
		'imageId': '69787329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787328&x=2126',
		'title': '',
		'imageId': '69787328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787325&x=2126',
		'title': '',
		'imageId': '69787325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787327&x=2126',
		'title': '',
		'imageId': '69787327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787326&x=2126',
		'title': '',
		'imageId': '69787326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787330&x=2126',
		'title': '',
		'imageId': '69787330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787332&x=2126',
		'title': '',
		'imageId': '69787332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787335&x=2126',
		'title': '',
		'imageId': '69787335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787336&x=2126',
		'title': '',
		'imageId': '69787336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787334&x=2126',
		'title': '',
		'imageId': '69787334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003131&docid=69787331&x=2126',
		'title': '',
		'imageId': '69787331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003131';

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