var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351976&x=757',
		'title': '',
		'imageId': '68351976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351975&x=757',
		'title': '',
		'imageId': '68351975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351977&x=757',
		'title': '',
		'imageId': '68351977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351969&x=757',
		'title': '',
		'imageId': '68351969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351971&x=757',
		'title': '',
		'imageId': '68351971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351973&x=757',
		'title': '',
		'imageId': '68351973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351974&x=757',
		'title': '',
		'imageId': '68351974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351978&x=757',
		'title': '',
		'imageId': '68351978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351970&x=757',
		'title': '',
		'imageId': '68351970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959775&docid=68351972&x=757',
		'title': '',
		'imageId': '68351972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959775';

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