var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239255&x=4735',
		'title': '',
		'imageId': '69239255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239253&x=4735',
		'title': '',
		'imageId': '69239253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239256&x=4735',
		'title': '',
		'imageId': '69239256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239254&x=4735',
		'title': '',
		'imageId': '69239254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239257&x=4735',
		'title': '',
		'imageId': '69239257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239258&x=4735',
		'title': '',
		'imageId': '69239258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239262&x=4735',
		'title': '',
		'imageId': '69239262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239271&x=4735',
		'title': '',
		'imageId': '69239271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239274&x=4735',
		'title': '',
		'imageId': '69239274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239273&x=4735',
		'title': '',
		'imageId': '69239273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239272&x=4735',
		'title': '',
		'imageId': '69239272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979163&docid=69239279&x=4735',
		'title': '',
		'imageId': '69239279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979163';

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