var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=68708936&x=620',
		'title': '',
		'imageId': '68708936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146201&x=620',
		'title': '',
		'imageId': '69146201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146188&x=620',
		'title': '',
		'imageId': '69146188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146195&x=620',
		'title': '',
		'imageId': '69146195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146190&x=620',
		'title': '',
		'imageId': '69146190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146191&x=620',
		'title': '',
		'imageId': '69146191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146193&x=620',
		'title': '',
		'imageId': '69146193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146194&x=620',
		'title': '',
		'imageId': '69146194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146199&x=620',
		'title': '',
		'imageId': '69146199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975023&docid=69146200&x=620',
		'title': '',
		'imageId': '69146200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975023';

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