var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747191&x=944',
		'title': '',
		'imageId': '69747191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747194&x=944',
		'title': '',
		'imageId': '69747194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747198&x=944',
		'title': '',
		'imageId': '69747198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747196&x=944',
		'title': '',
		'imageId': '69747196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747195&x=944',
		'title': '',
		'imageId': '69747195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747200&x=944',
		'title': '',
		'imageId': '69747200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747199&x=944',
		'title': '',
		'imageId': '69747199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747197&x=944',
		'title': '',
		'imageId': '69747197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747192&x=944',
		'title': '',
		'imageId': '69747192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001366&docid=69747193&x=944',
		'title': '',
		'imageId': '69747193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001366';

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