var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889200&x=3616',
		'title': '',
		'imageId': '68889200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889201&x=3616',
		'title': '',
		'imageId': '68889201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889202&x=3616',
		'title': '',
		'imageId': '68889202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889199&x=3616',
		'title': '',
		'imageId': '68889199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889205&x=3616',
		'title': '',
		'imageId': '68889205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889207&x=3616',
		'title': '',
		'imageId': '68889207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889206&x=3616',
		'title': '',
		'imageId': '68889206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889211&x=3616',
		'title': '',
		'imageId': '68889211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889210&x=3616',
		'title': '',
		'imageId': '68889210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963375&docid=68889208&x=3616',
		'title': '',
		'imageId': '68889208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963375';

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