var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036469&x=3920',
		'title': '',
		'imageId': '68036469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036470&x=3920',
		'title': '',
		'imageId': '68036470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036468&x=3920',
		'title': '',
		'imageId': '68036468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036472&x=3920',
		'title': '',
		'imageId': '68036472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036473&x=3920',
		'title': '',
		'imageId': '68036473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036474&x=3920',
		'title': '',
		'imageId': '68036474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036471&x=3920',
		'title': '',
		'imageId': '68036471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036475&x=3920',
		'title': '',
		'imageId': '68036475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036477&x=3920',
		'title': '',
		'imageId': '68036477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3925415&docid=68036476&x=3920',
		'title': '',
		'imageId': '68036476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3925415';

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