var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964988&docid=68930806&x=5653',
		'title': '',
		'imageId': '68930806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964988&docid=68930811&x=5653',
		'title': '',
		'imageId': '68930811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964988&docid=68930805&x=5653',
		'title': '',
		'imageId': '68930805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964988&docid=68930807&x=5653',
		'title': '',
		'imageId': '68930807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964988&docid=68930808&x=5653',
		'title': '',
		'imageId': '68930808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964988&docid=68930812&x=5653',
		'title': '',
		'imageId': '68930812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964988&docid=69681602&x=5653',
		'title': '',
		'imageId': '69681602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964988';

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