var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078208&x=255',
		'title': '',
		'imageId': '69078208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078209&x=255',
		'title': '',
		'imageId': '69078209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078210&x=255',
		'title': '',
		'imageId': '69078210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078202&x=255',
		'title': '',
		'imageId': '69078202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078207&x=255',
		'title': '',
		'imageId': '69078207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078200&x=255',
		'title': '',
		'imageId': '69078200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078206&x=255',
		'title': '',
		'imageId': '69078206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078201&x=255',
		'title': '',
		'imageId': '69078201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078205&x=255',
		'title': '',
		'imageId': '69078205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078203&x=255',
		'title': '',
		'imageId': '69078203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972275&docid=69078204&x=255',
		'title': '',
		'imageId': '69078204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972275';

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