var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68664992&x=2912',
		'title': '',
		'imageId': '68664992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665000&x=2912',
		'title': '',
		'imageId': '68665000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665006&x=2912',
		'title': '',
		'imageId': '68665006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665009&x=2912',
		'title': '',
		'imageId': '68665009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665010&x=2912',
		'title': '',
		'imageId': '68665010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665011&x=2912',
		'title': '',
		'imageId': '68665011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665012&x=2912',
		'title': '',
		'imageId': '68665012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665013&x=2912',
		'title': '',
		'imageId': '68665013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665014&x=2912',
		'title': '',
		'imageId': '68665014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953593&docid=68665016&x=2912',
		'title': '',
		'imageId': '68665016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953593';

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