var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703801&x=148',
		'title': '',
		'imageId': '68703801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703802&x=148',
		'title': '',
		'imageId': '68703802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703803&x=148',
		'title': '',
		'imageId': '68703803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703800&x=148',
		'title': '',
		'imageId': '68703800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703804&x=148',
		'title': '',
		'imageId': '68703804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703807&x=148',
		'title': '',
		'imageId': '68703807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703816&x=148',
		'title': '',
		'imageId': '68703816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703817&x=148',
		'title': '',
		'imageId': '68703817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703818&x=148',
		'title': '',
		'imageId': '68703818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955245&docid=68703799&x=148',
		'title': '',
		'imageId': '68703799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955245';

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